All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Add ESLint
- Refactor
modifyOutput
function - Update TypeScript target to ES2024
- Auto-fix files with ESLint (
eslint --fix
)
- Update dependencies
- Type
Geolocation.altitude
andGeolocation.distance
correctly
- Update dependencies
- Add
informal_mail
field toHotel
response type
- Type
NormalizedHTMLString
fields correctly
- Add
| null
to field types which are actually nullable in MSS
- Update dependencies
- Fix
Picture.title
type
- Refactor private
Client.defaultPayload
field - Introduce HTML sanitization (
NormalizedHTMLString
type) - Remove
NlToBr
from most properties - Replace pseudo-boolean types (
0 | 1
) with actual booleans - Update dependencies
- Fix typos and capitalization
- Set type of
Hotel.cin
tostring[]
- Fix capitalization of the LTSData interface
- Refactoring: capitalize MSS in the code
- Make properties of
Result
optional
- Update error handling docs
- Introduce MSSError to improve error handling
- Require Node.js v22
- Use top level await in example
- Use wretch (based on fetch) for requests
- Revert type of Picture.url to
string
string again. TypeURL
causes compatibility issues
- Install Prettier v3 as a dev dependency
- Update dependencies
- Format all supported files with Prettier v3
- Change Picture.url type from string to URL
- Rewrite picture URLs to https://cdn.easychannel.it/…
- Add CIN (Codice Identificativo Nazionale) which MSS now returns
- Update dependencies
- Update dependencies
- Update dependencies
- Remove warning about this library being experimental
- Update dependencies
- Remove unnecessary .prettierignore file
- Set minimum Node.js version to v20
- Add missing @types/node package
- Update dependencies
- Replace ts-node with tsx
- Bump to package-lock.json version 3
- Update dependencies
- Update dependencies
- Update package name @bookingsuedtirol/mss-nodejs where forgotten
- Rename package to @bookingsuedtirol/mss-nodejs
- Update example in README.md to ESM
- Fix exports of request/response types
- Convert package to ESM (breaking change)
- Use SWC with ts-node for development
- Update dependencies
- Update dependencies
- Update repository URL
- Update dependencies
- Add runnable example command
- Update dependencies
- Make TSConfig stricter
- Update dependencies
- Update dependencies
- MSS only returns zero or one logos per hotel. Change
hotel.logo?: Picture[]
tohotel.logo?: Picture
because of this
- Update dependencies
- Update example and code in README.md to async/await
- Set the MSS request timeout to 20 seconds
- Update dependencies
- Add
width
andheight
toPicture
- Update dependencies
- Update TypeScript target to ES2021
- Update dependencies
- Remove node-fetch dependency
- Throw an error if MSS returns an error or responds with status codes >= 400
- Update dependencies
- Stricter TS configuration settings
- Add an alias to @xmldom/xmldom. The old xmldom package has been deprecated and contains security vulnerabilities, see https://www.npmjs.com/package/@xmldom/xmldom
- Bump xmldom to v0.6.0
- Update package-lock.json to v2
- Update dependencies
- Change images and MSS API call domain from www.bookingsuedtirol.com to easychannel.it