minotor 11.5.1 → 12.0.0

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,6 +1,12 @@
1
- ## [11.5.1](https://github.com/aubryio/minotor/compare/v11.5.0...v11.5.1) (2026-10-19)
1
+ # [12.0.0](https://github.com/aubryio/minotor/compare/v11.5.2...v12.0.0) (2026-10-20)
2
2
 
3
3
 
4
- ### Bug Fixes
4
+ ### Code Refactoring
5
5
 
6
- * fastest route should pick the earliest departure in case of tie. ([#77](https://github.com/aubryio/minotor/issues/77)) ([25144b9](https://github.com/aubryio/minotor/commit/25144b9ac4ec4ce268007a2f29233bc2a8e65658))
6
+ * use numeric types rather than strings across the api ([#79](https://github.com/aubryio/minotor/issues/79)) ([80c395b](https://github.com/aubryio/minotor/commit/80c395bcc7db1523e7f267ef1803591fca181386))
7
+
8
+
9
+ ### BREAKING CHANGES
10
+
11
+ * Route types, pick-up and drop-off types and transfer types are now numerical rather
12
+ than strings in the API.
package/README.md CHANGED
@@ -136,7 +136,7 @@ Query options:
136
136
  | `minTransferTime` | `2 min` | Fallback minimum transfer time |
137
137
  | `maxDuration` | unlimited | Maximum total journey duration from the query departure time |
138
138
  | `maxInitialWaitingTime` | unlimited | Maximum wait for the first vehicle after arriving at the boarding stop |
139
- | `transportModes` | all | Restrict to a subset of GTFS route types |
139
+ | `transportModes` | all | Restrict to a subset of `RouteTypes` values |
140
140
 
141
141
  #### Range query (browser or Node.js)
142
142