Skip to content

Latest commit

 

History

History
324 lines (174 loc) · 19.2 KB

CHANGELOG.md

File metadata and controls

324 lines (174 loc) · 19.2 KB

Changelog

4.0.4 (2024-08-14)

Bug Fixes

  • deps: update dependency axios to v1.7.4 [security] (#275) (1cc7297)

4.0.3 (2024-07-01)

Bug Fixes

4.0.2 (2023-11-17)

Bug Fixes

4.0.1 (2023-07-23)

Miscellaneous Chores

4.0.0 (2023-07-18)

⚠ BREAKING CHANGES

  • Drop support for Node.js older than v18.16.1 (#198)

Bug Fixes

Miscellaneous Chores

  • Drop support for Node.js older than v18.16.1 (#198) (81d6da3)

3.2.0 (2022-09-01)

Features

  • Export matchCanteenByName() and matchLineByName() (#129) (bc624ac)

3.1.0 (2022-08-31)

Features

  • data: Update canteen and line names (#125) (e3c40bc)
  • Perform line name matching case-insensitively (#123) (e856efd)

3.0.2 (2022-06-18)

Bug Fixes

  • jsonapi: Update endpoint URLs to fix infinite redirect errors (#97) (7d598c2)
  • simplesite: Update URL and page structure after SW-KA redesign (#99) (fccb07b)

3.0.1 (2022-06-16)

Bug Fixes

  • deps: update dependency axios to ^0.27.0 (#84) (847cca8)

3.0.0 (2022-04-22)

What's Changed

Breaking changes

  • feat: Convert everything to ESM (#79)
  • feat: Declare 'canteens' and 'legend' dataset directly in TypeScript (#80)
  • feat(data): Move alt. name "Vegane Linie" to l2 in (#78)

Additionally:

  • Configure Renovate (#27)
  • fix(deps): update dependency axios to ^0.26.0 (#52)
  • test: Add test case covering remainder of simplesite-parse (#57)
  • lots and lots of dev dependency updates and some improvements to CI workflows
  • simplified packaging

2.1.5 (2021-12-08)

What's Changed

  • feat(data): Add alt. name "Vegane Linie" for schnitzelbar (#26)

2.1.4 (2021-11-29)

What's Changed

  • chore(ci): Add "tsc --noEmit" to lint script (#23)
  • feat(data): Add alt. name "Cafeteria 11-14 Uhr To-Go" (#24
  • feat(data): Switch "Cafeteria 11-14 Uhr" and "To-Go" variant (#25)

2.1.3 (2021-11-22)

What's Changed

  • feat(data): Add names "Linie 2 Gut & Günstig", "Linie 5 Vegane Linie" (#22)

2.1.2 (2021-11-16)

What's Changed

  • chore(test): Replace ts-mocha with ts-node (#20)
  • feat(data): Add multiple current line names (#21)

2.1.1 (2021-11-16)

What's Changed

  • feat(data): Add alt. name "Schnitzel-Burger-Bar" (#19)

2.1.0 (2021-10-14)

What's Changed

  • chore: Update dependencies (#14)
  • chore: Remove types from JSDoc comments in favor of TypeScript (#15)
  • feat(data): Add alt. name "Linie 2 vegane Linie" (#16)
  • feat(data): Add line l5 and add alt. name "Linie 4" for l45 (#17)
  • chore: Update dependencies and fix Axios-related code (#18)

2.0.1 (2021-08-15)

  • Add alternative line name "Linie 1 BOOK A MENSA" (#13)

2.0.0 (2021-07-07)

This is effectively a maintenance, but with a breaking change in how the library is imported. There is no more default export.

You need to do the following:

import { fetchMensa } from 'ka-mensa-fetch'
// or for non-transpiled JavaScript:
const { fetchMensa } = require('ka-mensa-fetch')

Additionally, fetchSessionCookie is now exported by name as well:

import { fetchSessionCookie } from 'ka-mensa-fetch'
// or for non-transpiled JavaScript:
const { fetchSessionCookie } = require('ka-mensa-fetch')

TypeScript typings for every relevant interface/class are included. See README.md for a list of all the types.

1.3.1 (2021-06-12)

  • Add alternative line name "Linie 2 BOOK A MENSA" (ff9fab8)

1.3.0 (2021-06-12)

This release marks the switch to TypeScript.

1.2.2 (2021-02-26)

1.2.1 (2020-11-11)

  • Add alternative name "Linie 1 To-Go" (87597c3)

1.2.0 (2020-10-25)

  • Use 'simplesite' descriptor instead of 'handicap' (084cc9a)
    • Please switch! The new terminology is meant to be more inclusive.
    • For now, 'handicap' still works, but is deprecated and will be removed in a major release.
  • Fix isDateSupported operand order and reduce range (64916ea)
  • Minor refactors (64bb9a9, 1fa2764, 86d344c)
  • More unit tests, including for request modules (21fc7c7, e3a121f, 86d344c)
  • Dependency updates (1c6102f)

1.1.3 (2020-10-19)

  • Add alternative name "Linie 4/5 G&G-Gerichte To-Go" (eedffd2)
  • Add alternative name "[pizza]werk Pizza 11-14 Uhr To-Go" (eedffd2)

1.1.2 (2020-10-07)

  • Add alternative name "[pizza]werk Pizza 11:30-13:30 Uhr To-Go" (04f90a9)
  • Update dependencies (1c65e63)

1.1.1 (2020-10-05)

  • Add alternative name "[pizza]werk Pizza 11:30-14:30 Uhr To-Go" (ba06b24)
  • Misc. refactoring (e74355c, 57c79db)

1.1.0 (2020-09-11)

  • Add option for request parallelization (b5861cf)
  • Retrieve up-to-date canteen+line names from JSON API (#2) (795f34c)
  • Fix wrongly transcribed short properties in legend.json (8f6eade)
  • Add more alternative line names (ba99451)
  • Fix semicolon error in README.md examples (08a94c7)

1.0.0 (2020-09-02)

0.5.3 (2020-06-30)

0.5.2 (2020-05-24)

  • Add alternative name "[kœri]werk 11-14:30 Uhr" (550c2f9)

0.5.1 (2020-05-17)

  • Add alternative name "[kœri]werk 11-14 Uhr" (35e4abc)

0.5.0 (2020-05-06)

  • Add resolution for alternative names (5a12f8c)

0.4.0 (2020-05-06)

0.3.3 (2020-03-19)

  • Update dependencies (992ca17)
  • Use JS standard style with ESLint (26c01e0)

0.3.2 (2020-03-19)

  • Add check for date validity in parser (9cbc59f)

0.3.1 (2020-01-28)

  • Fix REQUEST_MAX_LENGTH too small (acc6373)

0.3.0 (2020-01-26)

  • Drop Node 8 support; update dependencies (25692bf)
  • Implement request timeout, max response size (694cbe5)
  • Support not passing options parameter (e52d7dc)

0.2.1 (2019-12-30)

  • Fix nyc mistakenly added as core dependency; add .npmignore (e15295b)

0.2.0 (2019-12-30)

Breaking

  • Use 0-indexed months; add plausibility check (c0cef48)

Style

  • Split handicap-parse into testable modules (c9163d5, b6828f1)
  • Improve handicap-parse input error handling (efc9ca6)

Misc

  • Setup CodeClimate (coverage, maintainability) (13b3c51)

0.1.1 (2019-12-27)

0.1.0 (2019-12-01)

Initial release, supporting "handicap view" data source and basic date/canteen querying capabilities. Also has packaged canteens.json and legend.json files.