Skip to content

Releases: bartholomej/node-csfd-api

v5.10.3

21 Jun 15:53
v5.10.3
686bd47

Choose a tag to compare

Changelog

  • fix: loading cinemas
  • update all deps

Full Changelog: v5.10.2...v5.10.3

v5.10.0

18 May 18:25
v5.10.0
51c7528

Choose a tag to compare

Changelog

Added flexible ID parsing to movie and creator API methods. They now accept numeric strings, slugs (e.g. '228329-avatar'), and full CSFD URLs instead of strictly requiring a numeric ID.

Why?

Reduces boilerplate for developers fetching items dynamically. Developers no longer need to manually parse slugs or IDs extracted from other pages before passing them to the scraper.

Examples:

// Before:
const movie = await csfd.movie(228329); // Threw error if string/slug was passed
const movie2 = await csfd.movie(+slug.split('-')[0]); // Manual boilerplate

// After:
const movie = await csfd.movie('228329-avatar'); // Seamless
const movie2 = await csfd.movie('https://www.csfd.cz/film/228329-avatar/'); // Seamless

Full Changelog: v5.9.0...v5.10.0

v5.9.0

18 May 18:03
v5.9.0
b094b2d

Choose a tag to compare

Changelog

  • Support node 26
  • Update all deps + building scripts

Potential breaking changes

All DTO and type exports are now exported as type-only using TypeScript's export type syntax.
Only runtime values (such as the main API class and instance) remain as standard exports.

If any consumer relied on importing these types as runtime values (e.g., for use with typeof or instantiation), this change will break their code.
For typical usage as types, there is no impact.
This should be considered a breaking change for consumers expecting runtime access to these symbols.

Full Changelog: v5.8.2...v5.9.0

v5.8.2

23 Apr 09:42
v5.8.2
a1c5c20

Choose a tag to compare

What's Changed

  • Update all deps
  • ⚡ Bolt: Precompute reverse Map for O(1) creator group parsing by @bartholomej in #181
  • ⚡ Bolt: [performance improvement] Extract regex literals from loop callbacks by @bartholomej in #176
  • ⚡ Bolt: [performance improvement] Optimize node-html-parser node list iteration by @bartholomej in #172

Full Changelog: v5.8.1...v5.8.2

v5.8.1

07 Apr 20:07
v5.8.1
bebd16c

Choose a tag to compare

What's Changed

  • ⬆️ chore: Update all deps by @github-actions[bot] in #161
  • chore(deps): bump the npm_and_yarn group across 1 directory with 6 updates by @dependabot[bot] in #162
  • ⚡ Bolt: [performance improvement] optimize parseIdFromUrl loop by @bartholomej in #163

Full Changelog: v5.8.0...v5.8.1

v5.8.0

26 Mar 16:50
v5.8.0
42f3fbc

Choose a tag to compare

New CSFD design adaptation

Full Changelog: v5.7.0...v5.8.0

v5.8.0-next.0

26 Mar 15:18
v5.8.0-next.0
3474e31

Choose a tag to compare

v5.8.0-next.0 Pre-release
Pre-release

v5.7.0 – Sound creators

22 Mar 23:32
v5.7.0
b65b8f8

Choose a tag to compare

What's Changed

Full Changelog: v5.6.2...v5.7.0

v5.6.2 – CLI

21 Mar 00:34
v5.6.2
43efd36

Choose a tag to compare

CLI

  • Search: npx node-csfd-api search "pulp fiction"
  • Movie with title or id: npx node-csfd-api movie "pulp fiction"

Full Changelog: v5.6.1...v5.6.2

v5.6.1

20 Mar 23:07
v5.6.1
624edfa

Choose a tag to compare

What's Changed

  • chore(deps): bump the npm_and_yarn group across 1 directory with 5 updates by @dependabot[bot] in #134

Full Changelog: v5.6.0...v5.6.1