opening_hours 3.8.0-dev → 3.9.0-beta.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.rst +90 -7
- package/LICENSES/AGPL-3.0-only.txt +149 -517
- package/LICENSES/CC0-1.0.txt +121 -0
- package/LICENSES/LGPL-3.0-only.txt +304 -0
- package/Makefile +24 -22
- package/README.md +54 -27
- package/build/opening_hours.js +4831 -2137
- package/package.json +37 -33
- package/site/js/helpers.js +17 -11
- package/site/js/i18n-resources.js +409 -180
- package/site/js/opening_hours_table.js +129 -113
- package/types/index.d.ts +8 -11
package/CHANGELOG.rst
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.. SPDX-FileCopyrightText: 2016
|
|
1
|
+
.. SPDX-FileCopyrightText: © 2016 Robin Schneider <ypid@riseup.net>
|
|
2
2
|
..
|
|
3
3
|
.. SPDX-License-Identifier: LGPL-3.0-only
|
|
4
4
|
|
|
@@ -7,8 +7,8 @@ Changelog
|
|
|
7
7
|
|
|
8
8
|
All notable changes to opening_hours.js will be documented in this file.
|
|
9
9
|
|
|
10
|
-
This project adheres to `Semantic Versioning <
|
|
11
|
-
and `human-readable changelog <
|
|
10
|
+
This project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`__
|
|
11
|
+
and `human-readable changelog <https://keepachangelog.com/en/0.3.0/>`__.
|
|
12
12
|
|
|
13
13
|
Note that most of the v2.X.Z releases have not been added to the changelog yet.
|
|
14
14
|
|
|
@@ -166,7 +166,90 @@ master_ - unreleased
|
|
|
166
166
|
|
|
167
167
|
.. _master: https://github.com/opening-hours/opening_hours.js/compare/v3.7.0...master
|
|
168
168
|
|
|
169
|
-
`v3.
|
|
169
|
+
`v3.9.0 milestone <https://github.com/opening-hours/opening_hours.js/issues?q=milestone%3Av3.9.0+is%3Aclosed>`__
|
|
170
|
+
|
|
171
|
+
Added
|
|
172
|
+
~~~~~
|
|
173
|
+
|
|
174
|
+
* Public holiday definitions added:
|
|
175
|
+
|
|
176
|
+
* Chinese (#406)
|
|
177
|
+
* Croatian
|
|
178
|
+
* Luxembourg (#460)
|
|
179
|
+
* Namibian (#452)
|
|
180
|
+
|
|
181
|
+
* School holiday definitions added:
|
|
182
|
+
|
|
183
|
+
* Croatian
|
|
184
|
+
* France
|
|
185
|
+
* Luxembourg (#460)
|
|
186
|
+
|
|
187
|
+
Changed
|
|
188
|
+
~~~~~~~
|
|
189
|
+
|
|
190
|
+
* Public holiday definitions updated:
|
|
191
|
+
|
|
192
|
+
* Argentina (#456)
|
|
193
|
+
* Swedish and Finnish (#465)
|
|
194
|
+
|
|
195
|
+
* School holiday definitions updated:
|
|
196
|
+
|
|
197
|
+
* Belgium (#457)
|
|
198
|
+
* German (#468)
|
|
199
|
+
* Hungarian (#466)
|
|
200
|
+
|
|
201
|
+
* [Evaluation tool] Optimize "Error and warning messages" layout
|
|
202
|
+
* [chore] Update CI in `ci.yml` (#468)
|
|
203
|
+
* Replace deprecated `set-output`
|
|
204
|
+
* Test with maintained node versions
|
|
205
|
+
* Update actions
|
|
206
|
+
* [chore] Upgrade `colors`, `husky` and `eslint` (#468)
|
|
207
|
+
* [chore] Update dependencies (#468)
|
|
208
|
+
* [chore] Move minification into rollup and remove `esbuild` (#468)
|
|
209
|
+
* [chore] Also build sourcemap to minified files (#468)
|
|
210
|
+
* [chore] Add code-style-check to CI (#468)
|
|
211
|
+
* [chore] Change benchmark script to esm (#468)
|
|
212
|
+
|
|
213
|
+
Fixed
|
|
214
|
+
~~~~~
|
|
215
|
+
|
|
216
|
+
* JOSM remote control was not working because it was trying to be accessed as https://localhost:8111/. Switch to HTTP.
|
|
217
|
+
* [Evaluation tool] Fix timebar wrap on certain zoom levels in Firefox (issue #419)
|
|
218
|
+
* [Evaluation tool] Fix Russian and Ukrainian pluralization by updating `i18next` and using API version V4 (#468)
|
|
219
|
+
* [chore] Drop `yamlToJson.mjs` (#468) - There are better tools like https://mikefarah.gitbook.io/yq that do this. No need to maintain our own.
|
|
220
|
+
* [chore] Fix `make list` (#468)
|
|
221
|
+
|
|
222
|
+
v3.8.0_ - 2022-05-18
|
|
223
|
+
--------------------
|
|
224
|
+
|
|
225
|
+
.. _v3.8.0: https://github.com/opening-hours/opening_hours.js/compare/v3.7.0...v3.8.0
|
|
226
|
+
|
|
227
|
+
Added
|
|
228
|
+
~~~~~
|
|
229
|
+
|
|
230
|
+
* Public holiday definitions added:
|
|
231
|
+
|
|
232
|
+
* Argentina
|
|
233
|
+
* Japanese
|
|
234
|
+
|
|
235
|
+
* Localizations added:
|
|
236
|
+
|
|
237
|
+
* Vietnamese
|
|
238
|
+
* Japanese
|
|
239
|
+
|
|
240
|
+
Changed
|
|
241
|
+
~~~~~~~
|
|
242
|
+
|
|
243
|
+
* School holiday definitions updated:
|
|
244
|
+
|
|
245
|
+
* Romania
|
|
246
|
+
* France
|
|
247
|
+
|
|
248
|
+
Fixed
|
|
249
|
+
~~~~~
|
|
250
|
+
|
|
251
|
+
* Typing for typescript
|
|
252
|
+
|
|
170
253
|
|
|
171
254
|
v3.7.0_ - 2021-07-24
|
|
172
255
|
--------------------
|
|
@@ -225,7 +308,7 @@ Added
|
|
|
225
308
|
* Misused ``.`` character. Example: ``Jan 01,Dec 24.-25.``. [ypid_]
|
|
226
309
|
* Trailing ``,`` after time selector. Example: ``We 12:00-18:00,``. [ypid_]
|
|
227
310
|
* Additional rule which evaluates to closed. Example: ``Mo-Fr 10:00-20:00, We off``. [ypid_]
|
|
228
|
-
* Value consists of multiple rules each only using a time selector. Example: ``11:30-14:30;17:30-23:00``. [
|
|
311
|
+
* Value consists of multiple rules each only using a time selector. Example: ``11:30-14:30;17:30-23:00``. [ypid_]
|
|
229
312
|
* Potentially missing use of ``<additional_rule_separator>`` if the previous
|
|
230
313
|
rule has a time range which wraps over midnight and the current rule
|
|
231
314
|
matches one of the following days of the previous rule.
|
|
@@ -281,8 +364,8 @@ Changed
|
|
|
281
364
|
* Change directory layout of the project. [napei_, ypid_]
|
|
282
365
|
* Switch from i18next-client to i18next dependency (no longer as peer dependency). [fodor0205_, ypid_]
|
|
283
366
|
|
|
284
|
-
.. _ES2015 modules:
|
|
285
|
-
.. _rollup:
|
|
367
|
+
.. _ES2015 modules: https://exploringjs.com/es6/ch_modules.html
|
|
368
|
+
.. _rollup: https://rollupjs.org/
|
|
286
369
|
|
|
287
370
|
Fixed
|
|
288
371
|
~~~~~
|