gtfs-to-html 2.1.9 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,421 +1,676 @@
1
1
  # Changelog
2
+
2
3
  All notable changes to this project will be documented in this file.
3
4
 
4
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
7
 
8
+ ## [unreleased]
9
+
10
+ ### Updated
11
+
12
+ - Dependency updates
13
+ - Better trip names for CSV export
14
+
15
+ ## [2.3.0] - 2021-11-05
16
+
17
+ ### Added
18
+
19
+ - Support for exporting timetables in CSV format
20
+
21
+ ### Updated
22
+
23
+ - Update route color swatch styles to support longer names
24
+ - Dependency updates
25
+
26
+ ## [2.2.1] - 2021-10-17
27
+
28
+ ### Added
29
+
30
+ - Added release-it info to package.json
31
+
32
+ ## [2.2.0] - 2021-10-14
33
+
34
+ - Dependency updates (9adae81)
35
+ - Support for showStoptimesForRequestStops config variable (5790d9d)
36
+ - Documentation updates (6ba6b13)
37
+
7
38
  ## [2.1.9] - 2021-10-11
39
+
8
40
  ### Fixed
41
+
9
42
  - Better warning if directory is not writable
43
+
10
44
  ### Updated
45
+
11
46
  - Dependency updates
12
47
 
13
48
  ## [2.1.8] - 2021-09-30
49
+
14
50
  ### Fixed
51
+
15
52
  - Add support for custom config in demo app
16
53
  - Correct argument usage feedback
54
+
17
55
  ### Updated
56
+
18
57
  - Dependency updates
19
58
 
20
59
  ## [2.1.7] - 2021-09-25
60
+
21
61
  ### Added
62
+
22
63
  - Dockerfile and instructions for using docker
64
+
23
65
  ### Updated
66
+
24
67
  - Dependency updates
25
68
 
26
69
  ## [2.1.6] - 2021-08-21
70
+
27
71
  ### Changed
72
+
28
73
  - Better command line warnings and progressbar
74
+
29
75
  ### Updated
76
+
30
77
  - Dependency updates
31
78
 
32
79
  ## [2.1.5] - 2021-08-02
80
+
33
81
  ### Fixed
82
+
34
83
  - Handle timetables with no routes
84
+
35
85
  ### Updated
86
+
36
87
  - Dependency updates
37
88
  - Speed up database import
38
89
 
39
90
  ## [2.1.4] - 2021-07-18
91
+
40
92
  ### Fixed
93
+
41
94
  - Show all stops on route maps
95
+
42
96
  ### Updated
97
+
43
98
  - Dependency updates
44
99
 
45
100
  ## [2.1.3] - 2021-07-14
101
+
46
102
  ### Fixed
103
+
47
104
  - Copy js to zipped output
105
+
48
106
  ### Updated
107
+
49
108
  - Dependency updates
50
109
 
51
110
  ## [2.1.2] - 2021-07-09
111
+
52
112
  ### Changed
113
+
53
114
  - Hide timetable service_notes div if empty
54
115
  - Fall back to "beginning" sorting algorithm if no common stop
55
116
 
56
117
  ## [2.1.1] - 2021-07-09
118
+
57
119
  ### Fixed
120
+
58
121
  - Fix for showRouteTitle config
59
122
 
123
+ ## [2.3.1] - 2021-11-26
124
+
125
+ ### Added
126
+
127
+ - Husky and Prettier
128
+
129
+ ### Updated
130
+
131
+ - Dependency updates
132
+
60
133
  ## [2.1.0] - 2021-07-08
134
+
61
135
  ### Changed
136
+
62
137
  - Improved trip sorting algorithm
138
+
63
139
  ### Updated
140
+
64
141
  - Updated documentation on trip sorting options
65
142
  - Dependency updates
66
143
 
67
144
  ## [2.0.4] - 2021-06-23
145
+
68
146
  ### Fixed
147
+
69
148
  - Filtering stops used when start_time/end_time filters for timetables are present
70
149
  - Geojson generation for timetables when start_time/end_time filters for timetables are present
150
+
71
151
  ### Updated
152
+
72
153
  - Dependency updates
73
154
 
74
155
  ## [2.0.3] - 2021-06-18
156
+
75
157
  ### Fixed
158
+
76
159
  - noHead config option
160
+
77
161
  ### Updated
162
+
78
163
  - Dependency updates
79
164
 
80
165
  ## [2.0.2] - 2021-06-15
166
+
81
167
  ### Updated
168
+
82
169
  - Dependency updates
83
170
  - Use eslint instead of xo
84
171
 
85
172
  ## [2.0.1] - 2021-05-15
173
+
86
174
  ### Fixed
175
+
87
176
  - Fix for default template path
88
177
  - Fix for copying css/js folders
178
+
89
179
  ### Updated
180
+
90
181
  - Documentation updates
91
182
  - Dependency updates
92
183
 
93
184
  ## [2.0.0] - 2021-05-13
185
+
94
186
  ### Breaking Changes
187
+
95
188
  - Converted to ES6 Module
96
189
 
97
190
  ## [1.4.16] - 2021-05-07
191
+
98
192
  ### Changed
193
+
99
194
  - Move directionNames logic to template
195
+
100
196
  ### Updated
197
+
101
198
  - Dependency updates
102
199
  - Updates README.md
103
200
 
104
201
  ## [1.4.15] - 2021-04-20
202
+
105
203
  ### Updated
204
+
106
205
  - Better error logging
107
206
  - Readme updates
108
207
  - Dependency updates
109
208
 
110
209
  ## [1.4.14] - 2021-03-24
210
+
111
211
  ### Updated
212
+
112
213
  - Filter out trips with < 2 stoptimes
113
214
  - Dependency updates
114
215
 
115
216
  ## [1.4.13] - 2021-03-17
217
+
116
218
  ### Updated
219
+
117
220
  - Put route lines below street name labels on all maps
118
221
  - Updated demo app library versions
119
222
  - Dependency updates
223
+
120
224
  ### Fixed
225
+
121
226
  - Fix for timepoint determination function
122
227
 
123
228
  ## [1.4.12] - 2021-03-02
229
+
124
230
  ### Updated
231
+
125
232
  - Dependency updates (pug security update)
126
233
 
127
234
  ## [1.4.11] - 2021-02-17
235
+
128
236
  ### Fixed
237
+
129
238
  - zipOutput fix
239
+
130
240
  ### Updated
241
+
131
242
  - Dependency updates
132
243
 
133
244
  ## [1.4.10] - 2021-02-02
245
+
134
246
  ### Updated
247
+
135
248
  - Dependency updates
136
249
  - Documentation improvements
137
250
 
138
251
  ## [1.4.9] - 2020-12-31
252
+
139
253
  ### Updated
254
+
140
255
  - Optimize convertRoutesToTimetablePages
141
256
  - Dependency updates
257
+
142
258
  ### Fixed
259
+
143
260
  - Fix to handle GTFS with over 1000 calendars
144
261
 
145
262
  ## [1.4.8] - 2020-12-21
263
+
146
264
  ### Updated
265
+
147
266
  - Better error messages
148
267
  - Dependency updates
149
268
 
150
269
  ## [1.4.7] - 2020-12-18
270
+
151
271
  ### Updated
272
+
152
273
  - Better map stop styles
153
274
  - Better route short name circles
275
+
154
276
  ### Fixed
277
+
155
278
  - Use correct color on map for multi-route timetables
156
279
 
157
280
  ## [1.4.6] - 2020-12-13
281
+
158
282
  ### Updated
283
+
159
284
  - Better default GTFS in sample
160
285
  - Improvements to timetable map popups
286
+
161
287
  ### Fixed
288
+
162
289
  - Hide progress bar when verbose = false
163
290
  - Detect TTY and use \n if not
164
291
 
165
292
  ## [1.4.5] - 2020-12-09
293
+
166
294
  ### Updated
295
+
167
296
  - Mapbox GL 2.0
168
297
  - Timetable map style improvements
169
298
  - Better timetablepage default name
170
299
  - Change path to default template
300
+
171
301
  ### Fixed
302
+
172
303
  - Don't copy static assets if noHead=true
173
304
  - Handle routes with no agency_id
174
305
 
175
306
  ## [1.4.4] - 2020-12-08
307
+
176
308
  ### Updated
309
+
177
310
  - Improved route and overview maps
178
311
 
179
312
  ## [1.4.3] - 2020-12-07
313
+
180
314
  ### Added
181
- - Add `debug` config option for profiling database queries
315
+
316
+ - Add `debug` config option for profiling database queries
317
+
182
318
  ### Changed
319
+
183
320
  - Work on optimizing database queries
184
321
 
185
322
  ## [1.4.2] - 2020-12-03
323
+
186
324
  ### Updated
325
+
187
326
  - Group routes by agency on overview page
188
327
 
189
328
  ## [1.4.1] - 2020-11-27
329
+
190
330
  ### Updated
331
+
191
332
  - Support for importing multiple GTFS files at a time.
192
333
 
193
334
  ## [1.4.0] - 2020-11-19
335
+
194
336
  ### Fixed
337
+
195
338
  - Better sort order for timetable_pages
339
+
196
340
  ### Updated
341
+
197
342
  - Switch to tailwindcss for default template styling.
198
343
  - Simplify site styles and js CDN includes
199
344
 
200
345
  ## [1.3.2] - 2020-11-18
346
+
201
347
  ### Updated
348
+
202
349
  - Dependency updates
350
+
203
351
  ### Fixed
352
+
204
353
  - Fix for duplicate stops on loop trips
205
354
 
206
355
  ## [1.3.1] - 2020-11-11
356
+
207
357
  ### Updated
358
+
208
359
  - Documentation
360
+
209
361
  ### Fixed
362
+
210
363
  - Timetable generation with no timetables.txt and no calendar_dates.txt
211
364
 
212
365
  ## [1.3.0] - 2020-11-10
366
+
213
367
  ### Added
368
+
214
369
  - Timetable notes
215
370
 
216
371
  ## [1.2.2] - 2020-11-10
372
+
217
373
  ### Updated
374
+
218
375
  - Link symbols to notes
219
376
  - Updated readme
377
+
220
378
  ### Fixed
379
+
221
380
  - Fix for generation without timetables.txt
222
381
 
223
382
  ## [1.2.1] - 2020-10-30
383
+
224
384
  ### Fixed
385
+
225
386
  - Fix for trips with null direction
226
387
 
227
388
  ## [1.2.0] - 2020-10-30
389
+
228
390
  ### Added
391
+
229
392
  - `allowEmptyTimetables` config option
393
+
230
394
  ### Updated
395
+
231
396
  - Improved warning output
232
397
  - Dependency updates
233
398
 
234
399
  ## [1.1.1] - 2020-10-22
400
+
235
401
  ### Updated
402
+
236
403
  - Reorganized template functions
404
+
237
405
  ### Fixed
406
+
238
407
  - Better geojson simplification
239
408
  - Fix for finding common stop id
240
409
 
241
410
  ## [1.1.0] - 2020-10-17
411
+
242
412
  ### Added
413
+
243
414
  - Use directed graph topology sort to determine stop order by default
415
+
244
416
  ### Fixed
417
+
245
418
  - Default route color on maps
246
419
 
247
420
  ## [1.0.12] - 2020-10-14
421
+
248
422
  ### Updated
423
+
249
424
  - Improved warning output
250
425
  - Dependency updates
251
426
 
252
427
  ## [1.0.11] - 2020-10-13
428
+
253
429
  ### Added
430
+
254
431
  - Support for extended GTFS route types
255
432
 
256
433
  ## [1.0.10] - 2020-10-13
434
+
257
435
  ### Updated
436
+
258
437
  - Dependency updates
259
438
  - Better error logging
260
439
 
261
440
  ## [1.0.9] - 2020-10-02
441
+
262
442
  ### Fixed
443
+
263
444
  - Fix for frequencies
264
445
 
265
446
  ## [1.0.8] - 2020-09-28
447
+
266
448
  ### Fixed
449
+
267
450
  - Fixes for time of day timetable filters
268
451
  - Removed unused template files
452
+
269
453
  ### Updated
454
+
270
455
  - Updated bootstrap version used in template
271
456
  - Dependency updates
272
457
  - Documentation updates
273
458
 
274
459
  ## [1.0.7] - 2020-09-14
460
+
275
461
  ### Fixed
462
+
276
463
  - Fixes for overview page null vs undefined
464
+
277
465
  ### Updated
466
+
278
467
  - Better error for invalid stop_id
279
468
  - Dependency updates
280
469
 
281
470
  ## [1.0.6] - 2020-09-13
471
+
282
472
  ### Fixed
473
+
283
474
  - Fixed truncated text on progress bar
284
475
  - Fixes for timetable generation without timetables.txt files
285
476
 
286
477
  ## [1.0.5] - 2020-09-12
478
+
287
479
  ### Fixed
480
+
288
481
  - Filter out invalid characters from html ids
482
+
289
483
  ### Updated
484
+
290
485
  - Cleanup timetable map and system map js
291
486
 
292
487
  ## [1.0.4] - 2020-09-12
488
+
293
489
  ### Fixed
490
+
294
491
  - Fix for showOnlyTimepoint filter
295
492
 
296
493
  ## [1.0.3] - 2020-09-09
494
+
297
495
  ### Fixed
496
+
298
497
  - Fix for timetable_sequence sorting
299
498
 
300
499
  ## [1.0.2] - 2020-09-06
500
+
301
501
  ### Fixed
502
+
302
503
  - Fix for route_short_name for multiroute timetables
504
+
303
505
  ### Changed
506
+
304
507
  - Updated config sample sqlitePath
305
508
  - Dependency updates
306
509
 
307
510
  ## [1.0.1] - 2020-08-23
511
+
308
512
  ### Changed
513
+
309
514
  - Improvements to geoJSON creation
310
515
 
311
516
  ## [1.0.0] - 2020-08-20
517
+
312
518
  ### Changed
519
+
313
520
  - Use node-gtfs 2.0.0 with SQLite
314
521
  - Remove mongoDB
315
522
  - Documentation updates
316
523
  - Map style improvements
317
524
 
318
525
  ## [0.21.1] - 2020-08-14
526
+
319
527
  ### Changed
528
+
320
529
  - Show route short name for multiroute timetables
321
530
  - Menu padding in default template
322
531
  - Always show stop times for stops with pickup_type or drop_off_type greater than zero
323
532
 
324
533
  ## [0.21.0] - 2020-07-28
534
+
325
535
  ### Added
536
+
326
537
  - Support for `start_time` and `end_time` fields in `timetables.txt`
538
+
327
539
  ### Fixed
540
+
328
541
  - Documentation improvements
329
542
 
330
543
  ## [0.20.1] - 2020-07-15
544
+
331
545
  ### Added
546
+
332
547
  - Prettier error handling
333
548
  - Documentation website
334
549
  - Documentation improvements
550
+
335
551
  ### Fixed
552
+
336
553
  - Correct output path for zip files
337
554
  - Warning info
338
555
 
339
556
  ## [0.20.0] - 2020-06-20
557
+
340
558
  ### Added
559
+
341
560
  - Added support for timetables that include more than one route.
342
561
 
343
562
  ## [0.19.1] - 2020-06-04
563
+
344
564
  ### Changed
565
+
345
566
  - Use turf.js for geojson simplification.
346
567
 
347
568
  ## [0.19.0] - 2020-05-01
569
+
348
570
  ### Added
571
+
349
572
  - Added support for `useParentStation` config variable.
350
573
 
351
574
  ## [0.18.1] - 2019-09-25
575
+
352
576
  ### Fixed
577
+
353
578
  - Fixed paths when running as installed `gtfs-to-html` command
354
579
 
355
580
  ## [0.18.0] - 2019-09-25
581
+
356
582
  ### Added
583
+
357
584
  - PDF export support using `outputFormat` config option
358
585
 
359
586
  ## [0.17.9] - 2019-08-12
587
+
360
588
  ### Updated
589
+
361
590
  - Handle GTFS with no calendars.txt
591
+
362
592
  ## Fixed
593
+
363
594
  - Logging when running in app mode
364
595
  - GTFS with no timetablepages
365
596
 
366
597
  ## [0.17.8] - 2019-08-09
598
+
367
599
  ### Updated
600
+
368
601
  - node-gtfs library
369
602
  - dependencies and node version
370
603
 
371
604
  ## [0.17.7] - 2019-08-06
605
+
372
606
  ### Added
607
+
373
608
  - `dataExpireAfterSeconds` config option
609
+
374
610
  ### Fixed
611
+
375
612
  - Hide summarty table if using custom logging function
376
613
 
377
614
  ## [0.17.6] - 2019-08-06
615
+
378
616
  ### Added
617
+
379
618
  - Config option for custom logging function
380
619
 
381
620
  ## [0.17.5] - 2019-07-19
621
+
382
622
  ### Added
623
+
383
624
  - Support for `showStopCity` in vertical orientation timetables.
384
625
 
385
626
  ## [0.17.4] - 2019-07-11
627
+
386
628
  ### Added
629
+
387
630
  - Support HTML in `formatted_time` config
388
631
 
389
632
  ### Fixed
633
+
390
634
  - Capitalize days of the week by default
391
635
  - Don't require a direction_id field to exist in trips.txt
392
636
 
393
637
  ## [0.17.3] - 2019-06-07
638
+
394
639
  ### Changed
640
+
395
641
  - Updates to mongo connection code
396
642
 
397
643
  ### Fixed
644
+
398
645
  - Handle timetables with no matching calendars
399
646
 
400
647
  ## [0.17.2] - 2019-05-20
648
+
401
649
  ### Added
650
+
402
651
  - Add GTFS-to-HTML version to log.txt
403
652
  - Add version and date to timetable HTML as comment
404
653
 
405
654
  ### Changed
655
+
406
656
  - Use config defaults when running as npm module
407
657
  - Style improvements for views without maps
408
658
 
409
659
  ### Fixed
660
+
410
661
  - fix for convertRouteToTimetablePage
411
662
  - fix for log output
412
663
 
413
664
  ## [0.17.1] - 2019-05-17
665
+
414
666
  ### Changed
667
+
415
668
  - Update .gitignore
416
669
 
417
670
  ## [0.17.0] - 2019-05-17
671
+
418
672
  ### Added
673
+
419
674
  - More sorting algorithms (`sortingAlgorithm` config variable)
420
675
  - Both arrival and departure shown if difference specified (`showArrivalOnDifference` config variable)
421
676
  - Default timetable orientation (`defaultOrientation` config variable)
@@ -423,27 +678,38 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
423
678
  - Configurable date and time formatting (`dateFormat` and `timeFormat` config variables)
424
679
 
425
680
  ## [0.16.3] - 2019-04-09
681
+
426
682
  ### Changed
683
+
427
684
  - Updated node-gtfs library to 1.8.5 to avoid query timeout on long imports
428
685
 
429
686
  ## [0.16.2] - 2019-03-12
687
+
430
688
  ### Changed
689
+
431
690
  - Added support for "Continues From" trips.
432
691
  - Improvements to "Continues As" logic.
433
692
  - Changed config option `show_continues_as` to `show_trip_continuation`.
434
693
 
435
694
  ## [0.16.1] - 2019-03-07
695
+
436
696
  ### Changed
697
+
437
698
  - Added ability to hide specific symbols, such as `requestDropoffSymbol` by setting value to `null`.
438
- - Better color swatch use on route labels
699
+ - Better color swatch use on route labels
439
700
 
440
701
  ## [0.16.0] - 2019-03-01
702
+
441
703
  ### Changed
704
+
442
705
  - Added automatic support for showing stops with different arrival and departure times as two separate stops.
443
706
 
444
707
  ## [0.15.1] - 2019-02-28
708
+
445
709
  ### Added
710
+
446
711
  - Changelog
447
712
 
448
713
  ### Changed
714
+
449
715
  - Updated dependencies to fix issue with geojson consolidation