Releases: bartholomej/node-csfd-api
v4.1.2
- Enhanced server memory efficiency
- Update all deps
Full Changelog: v4.1.1...v4.1.2
v4.1.1 – Language support
- fix parsing additional info in boxes
error: "Cannot read properties of null (reading 'textContent')"when parsing some movies
Full Changelog: v4.1.0...v4.1.1
v4.1.0 – Language support
What's Changed
csfd.cz/en
Experimental support for csfd language mutations #68
Use option parameter language: en or &language=en (on server)
Docs
- Docs: Restructure README with TypeScript focus and improved documentation structure by @bartholomej in #69
Full Changelog: v4.0.1...v4.1.0
v4.0.1
- Stable tsdown build
Full Changelog: v4.0.0...v4.0.1
v4.0.0 – Language support (filmbooster)
What's Changed
Filmbooster
Experimental support for csfd language mutations (filmbooster) #68
Use option parameter language: en or &language=en (on server)
Docs
- Docs: Restructure README with TypeScript focus and improved documentation structure by @bartholomej in #69
Full Changelog: v3.3.0...v4.0.0
v3.3.0 – User reviews
v3.2.0 – Stateless server
What's Changed
- Server: Make services stateless to eliminate shared state mutations by @bartholomej in #66
Full Changelog: v3.1.1...v3.2.0
v3.1.0 – Headers
Request options support (BREAKING CHANGE)
This update introduces support for configuring headers and other requestOptions either globally or per request.
⚠️ Breaking change
The default value for credentials is now:
credentials: 'omit'If your integration relied on the previous default behavior, make sure to update your configuration.
Global configuration
Use setOptions to define default requestOptions for all API calls:
csfd.setOptions({
optionsRequest: {
credentials: 'include',
headers: {
'x-foo': 'bar'
}
}
});Per-request configuration
You can also override or extend these options for a specific request:
csfd.movie(10135, {
credentials: 'include',
headers: {
'x-foo': 'bar'
}
}).then((movie) => console.log(movie));Full Changelog: v3.0.1...v3.1.0
v3.0.1
- Update all deps
Full Changelog: v3.0.0...v3.0.1
v3.0.0 – ESM + CJS + Refactor
What's Changed
- ESM + CommonJS build 🎉 by @bartholomej in #18
Breaking changes:
- Renaming interfaces/types
- Renaming internal functions
Full Changelog: v2.14.4...v3.0.0