Skip to content

Releases: bartholomej/node-csfd-api

v4.1.2

17 Dec 12:17
v4.1.2
c512a5e

Choose a tag to compare

  • Enhanced server memory efficiency
  • Update all deps

Full Changelog: v4.1.1...v4.1.2

v4.1.1 – Language support

12 Dec 19:17
v4.1.1
0c35c59

Choose a tag to compare

  • 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

10 Dec 23:09
v4.1.0
8cf1669

Choose a tag to compare

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

10 Dec 23:07
v4.0.1
60dbf8e

Choose a tag to compare

v4.0.0 – Language support (filmbooster)

02 Dec 19:00
v4.0.0
7d6498f

Choose a tag to compare

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

01 Dec 20:50
v3.3.0
284b73b

Choose a tag to compare

What's Changed

Full Changelog: v3.2.0...v3.3.0

v3.2.0 – Stateless server

01 Dec 20:49
v3.2.0
441c81d

Choose a tag to compare

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

19 Nov 07:54
v3.1.0
d46607d

Choose a tag to compare

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

17 Nov 17:32
v3.0.1
4a6d4dc

Choose a tag to compare

  • Update all deps

Full Changelog: v3.0.0...v3.0.1

v3.0.0 – ESM + CJS + Refactor

29 Oct 14:35
v3.0.0
983461b

Choose a tag to compare

What's Changed

Breaking changes:

  • Renaming interfaces/types
  • Renaming internal functions

Full Changelog: v2.14.4...v3.0.0