Skip to content

Latest commit

 

History

History
647 lines (382 loc) · 28.2 KB

File metadata and controls

647 lines (382 loc) · 28.2 KB

Changelog

All notable changes to this project will be documented in this file. See commit-and-tag-version for commit guidelines.

4.4.3 (2026-05-23)

Fixed

  • query: use dbweb profile for db/dbweb station search (bb154cc)

Chores

4.4.2 (2026-05-19)

Documentation

  • remove broken dbweb recommendation from direction filter note (487cc4a)

Chores

  • remove copilot instructions file (327168b)
  • update dependencies (299a510)

4.4.1 (2026-05-07)

Fixed

  • css: prevent wrapping in departure time column when destination is long (b8262f7)

Chores

4.4.0 (2026-04-15)

Added

  • warning-remarks: constant scroll speed regardless of text length (cab6ac5), closes #102

Fixed

  • warning-remarks: prevent table width expansion (0b645a7), closes #270

Chores

4.3.1 (2026-03-30)

Chores

  • add "busx" to custom words list (d9a3745)
  • streamline automated tests workflow (5bf9ad9)

Code Refactoring

  • replace lazy logger initialization with direct logger usage (6326453)

Tests

  • stabilize flaky Temporal boundary assertions in DepartureFetcher tests (2f21278)

4.3.0 (2026-03-30)

Added

  • add styles for new bus lines and update existing styles (fad084e)

Fixed

  • node_helper: use MagicMirror core module aliases for logger and node_helper (9565072)

Chores

  • change var to const for config in demo.config.js (8f73f01)
  • simplify prepare script (d91a1e0)
  • update dependencies (7b77063)

4.2.0 (2026-02-21)

Added

  • add toggleAbsoluteTimeInterval option to alternate time display (ca60b56), closes #15

Chores

4.1.1 (2026-01-12)

Fixed

  • handle null values and HAFAS API format changes (ada88b2)
  • use globalThis.Log to avoid top-level await (8237330)

Chores

  • add unit tests step to automated tests workflow (d3448f0)
  • add vbn demo example (131c8c1)
  • update dependencies (5de7202)

Code Refactoring

  • simplify time assignment logic in getCell method (ea012dd)

4.1.0 (2026-01-09)

Added

  • add platformsToShow filter option (cb5179a), closes #21

Chores

Code Refactoring

  • replace temporal-kit with temporal-polyfill (967472b)

4.0.0 (2026-01-09)

⚠ BREAKING CHANGES

  • migrate from dayjs to Temporal API

Added

  • migrate from dayjs to Temporal API (a8772ec), closes #253
  • modify direction filter to handle multiple IDs (#253) (37e01cf)

Documentation

  • add release command to README (a4adb7f)

Chores

  • change runner from ubuntu-latest to ubuntu-slim in workflow files (da29b49)
  • handle spelling issues (50033b7)
  • update actions/checkout to v6 in workflow files (57361aa)
  • update devDependencies (24546b9)

Code Refactoring

  • convert DOM builders to ESM modules (be58162)
  • extract config validation into testable module (3cb19e1)
  • improve robustness of multi-direction feature (971d086)
  • move excludeDirections filter to backend (8566aa3)

Tests

  • add time calculation and reachability tests (7794aaf)
  • add unit tests using node:test (9420064)

3.5.2 (2026-01-01)

Chores

  • add demo config and demo script (1cd4a56)
  • changelog: change section label for chore type (9ba98b6)
  • fix contributors section in package.json (39e4890)
  • make simple-git-hooks more robust and platform independent (679cc27)
  • update dependencies (41265f7)

Code Refactoring

  • improve log message formatting (ab655ad)
  • optimize DOM builder initialization (74448b6)
  • remove module prefix from log messages (8118f16)
  • simplify departure filtering logic (fb6f531)

3.5.1 (2025-11-30)

Documentation

  • replace not working sbb profile with working one for query script (695e2e1)

Changed

  • ci: add release script and changelog configuration (49f3c7b)
  • update dependencies (459bf86)
  • update Node.js action to v6 in automated tests workflow (7684fdc)

3.5.0 2025-10-17

Changed

  • chore: replace husky with simple-git-hooks for pre-commit linting
  • chore: update devDependencies
  • docs: update installation instructions to include --ignore-scripts option for npm ci

Fixed

  • fix: improve module initialization and error resilience

3.4.0 2025-10-14

Added

  • feat: add excludeDirections option to filter out departures to specific destinations (#236) - thanks to @Tmist3r
  • feat: add css style for lines in Graz

Changed

  • chore: update devDependencies

3.3.0 2025-10-12

Added

  • feat: add socket error threshold to improve resilience against temporary network issues (relates to #186)

Changed

  • chore: update actions/setup-node to v5 in automated tests workflow
  • chore: update dependencies

Fixed

  • chore: add Prettier configuration file for code formatting - disable embedded language formatting to avoid issues with code blocks in markdown files.

3.2.1 2025-08-27

Changed

  • chore: update actions/checkout to v5 in workflow files
  • chore: update dependencies

Fixed

  • chore: fix typos

3.2.0 2025-07-25

Added

  • feat: add hannover-lines.css

Changed

  • chore: remove useless global and format import statement in DepartureFetcher.mjs
  • chore: update dependencies
  • chore: update husky prepare script to handle missing installation gracefully

3.1.12 2025-07-01 - Maintenance Release

Changed

  • chore: add type field to package.json
  • chore: update dependencies

3.1.11 2025-05-05 - Maintenance Release

Changed

  • chore: simplify linting setup by removing stylelint and markdownlint
  • chore: simplify ESLint config by applying same rules to *.js and *.mjs files
  • chore: update cspell
  • chore: reduce timeout for lint job from 30 to 10 minutes

3.1.10 2025-05-03

Changed

  • chore: fix ESLint config to ignore unresolved imports
  • chore: refactor ESLint config to use defineConfig and add @eslint/css
  • chore: update devDependencies

Fixed

  • fix: set requiresVersion to 2.31.0 since last release doesn't work with older MagicMirror versions

3.1.9 2025-04-30 - Maintenance Release

Changed

  • chore: update npm ci command to omit dev dependencies
  • chore: use node --run instead of npm run to run scripts
  • chore: drop node 18 support
  • chore: update devDependencies
  • chore: adapt and apply linter rules
  • refactor: switch DepartureFetcher to ESM - this is a start of the migration to ESM.
  • refactor: use paths to not rely on module-alias in core

3.1.8 2025-04-21 - Maintenance Release

Changed

  • chore: clean up ESLint rules by removing unnecessary settings and improving consistency
  • chore: update dependencies
  • docs: add npm install command to developer commands section

3.1.7 2025-04-11 - Maintenance Release

Changed

  • chore: update dependencies
  • chore: update ESLint configuration to use new import plugin structure
  • chore: enable ESLint rule

3.1.6 2025-03-23 - Maintenance Release

Changed

  • chore: Update dependencies
  • chore: Update eslint-plugin-package-json config

3.1.5 2025-03-11 - Maintenance Release

Changed

  • chore: Update dependencies
  • chore: Remove old release script from list
  • chore: Simplify stylelint-prettier config
  • chore: Nest all CSS in module class

3.1.4 2025-03-02 - Maintenance Release

Changed

  • chore: Update dependencies
  • chore: Switch to default config of package-json

3.1.3 2025-02-27 - Maintenance Release

Added

  • Add information for using dbweb profile in query_stations script.

Changed

  • Drop node 16 support (It reached EOL 2023. And db-vendo-client will drop it with the next release too.)
  • Update README to clarify direction option limitations with dbweb profile
  • chore: Replace eslint-plugin-import by eslint-plugin-import-x
  • chore: Update devDependencies
  • chore: Remove release script (not needed anymore)
  • chore: Optimize lint-staged
  • chore: Optimize @stylistic/eslint-plugin config

3.1.2 2025-02-17

Fixed

  • Fix direction issue with db profile (#193). Users who need this option should use the new dbweb profile instead.

Changed

  • chore: Update dependencies

Removed

  • Removed the workaround (introduced in 3.0.2) to attempt to fix the direction issue with the db profile. This workaround is not needed anymore.

3.1.1 2025-02-01 - Maintenance Release

Changed

  • chore: Update dependencies
  • chore: Fix spelling
  • chore: Extend release script with test
  • Add hint about issue with direction option db profile

3.1.0 2025-01-18

Added

  • Add new options warningRemarksFilter and showWarningsOnce to filter departure warnings (#194) - by @drtorchwood.

3.0.2 2025-01-14

Fixed

  • Fix direction option db profile. The direction option is not yet supported by the db-vendo-client. This is a workaround to make it work again. When the db-vendo-client supports the direction option, this workaround will be removed.

3.0.1 2025-01-12

Fixed

  • Round delay to one digit after comma

3.0.0 2025-01-11

Usually a major release would contain breaking changes. But in this case, the changes are not breaking changes for the user. The major release is due to the fact that the underlying hafas-client library is not been used for the db profile anymore. Instead, the db-vendo-client is used. This is a major change in the codebase, but the user should not notice any difference.

Changed

  • Use db-vendo-client instead of hafas-client for db profile
  • chore: Update devDependencies
  • chore: Improve error logging in query_stations

2.1.13 2024-12-17

Changed

  • chore: Enable rule "markdown/no-missing-label-refs"
  • chore: Update dependencies incl. hafas-client

2.1.12 2024-12-16

Changed

  • Only show the error message if it occurs 2 times in a row.
  • chore: Update devDependencies

2.1.11 2024-12-14

Changed

  • Optimize logging
  • chore: Update devDependencies
  • chore: Optimize heading in README.md
  • chore: Switch to lts node version in linter workflow

2.1.10 2024-12-10 - Maintenance Release

Added

  • chore: Add CHANGELOG.md

Changed

  • chore: Update Code of Conduct
  • chore: Update devDependencies
  • chore: Update format package.json

2.0.4 - 2.1.9 Maintenance Releases

There were several maintenance releases in this period. The changes are not listed here, but you can find them in the commits.

2.0.4 2023-11-22 - Maintenance Release

Changed

No functional changes. Just optimizations to the linting process and dependency updates.

2.0.3 2023-11-22 - Maintenance Release

Changed

No functional changes. Just optimizations to the code and dependencies updates.

2.0.1 2023-01-22

Changed

2.0.0 2022-12-17

Changed

1.5.4 2022-11-27

Changed

  • Optimize error handling
  • Update dependencies

1.5.3 - 2022-09-21

Changed

1.5.2 - 2022-08-29

Changed

  • Update CSS for Düsseldorf 36388d91f844128214f68fbbd09ab717b4c4ba45 from 0m4r's fork - Thanks to @0m4r.
  • New CSS file for Hamburg to solve #82
  • Update Dependencies

1.5.1 - 2022-03-09

Changed

  • Replace Moment.js by Day.js in #44
  • Add parameter showRelativeTimeOnlyUnder in #45
  • Add Super-Linter and handle a bunch of linter issues

1.4.0 - 2022-02-03

Changed

  • Use kebab-case for class names - this could be break custom CSS -
  • Add CSS file for Magdeburg
  • Use stylelint for css files

1.3.0 - 2022-02-02

Changed

1.2.0 - 2022-01-24

Changed

  • Introduction of eslint
  • Code modification in context with eslint

1.1.3 - 2022-01-15

Changed

  • create berlin lines by @mazim-co in #30
  • dynamic lead time adjustment to fix #29
  • and some small other adjustments

1.1.2 - 2021-12-26

Changed

Skipped version 1.1.1 because 0m4rs fork had this version already.

  • This is mainly a maintenance release (cleanup, linting, version bumping, ...) @KristjanESPERANTO
  • Add tests from @0m4r's fork #26

1.1.0 - 2021-12-06

Changed

1.0.9 - 2021-11-16

Changed

1.0.8 - 2021-03-22

Changed

  1. Create munich-lines.css 1, 2 - @moejetz
  2. Introduce default classes for suburban and subway 3
  3. Bunch of minor changes

1.0.7 - 2021-03-18

Changed

  1. Bugfix: Add missing comma #8
  2. Cleanup: Change repo for installing #7

1.0.6 - 2021-03-17

Changed

This is the first release of this fork. This merged all forks.

  1. Update hafas-client #1 - @0m4r
  2. Add CSS file for Düsseldorf #2 - @0m4r
  3. Handle invalid departure times and canceled trains #3 - @rudibarani
  4. Broadcast context #4 - @nkucza
  5. Stopping update in some cases + display last update time #5 - @AgP42
  6. Introduce platform column #6 - @KristjanESPERANTO
  7. Add CSS file for Halle #6 - @KristjanESPERANTO

https://github.com/KristjanESPERANTO/MMM-PublicTransportHafas/releases