Releases: meyfa/ka-mensa-fetch
Releases · meyfa/ka-mensa-fetch
v2.1.5
v2.1.4
v2.1.3
v2.1.2
v2.1.1
v2.1.0
What's Changed
- chore: Update dependencies by @meyfa in #14
- chore: Remove types from JSDoc comments in favor of TypeScript by @meyfa in #15
- feat(data): Add alt. name "Linie 2 vegane Linie" by @meyfa in #16
- feat(data): Add line l5 and add alt. name "Linie 4" for l45 by @meyfa in #17
- chore: Update dependencies and fix Axios-related code by @meyfa in #18
Full Changelog: v2.0.1...v2.1.0
v2.0.1
v2.0.0
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.