gtfs-to-html 2.2.0 → 2.3.2

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