Skip to content

Releases: 75lb/handbrake-js

v7.1.0

20 Jul 21:36
Compare
Choose a tag to compare

New features since v7.0.1

  • Added support for the HANDBRAKECLI_PATH environment variable, see the readme
  • Fixed a bug where passing HandbrakeCLIPath programmatically was failing. #77

v7.0.0

03 May 15:23
Compare
Choose a tag to compare

Breaking changes since v6.0.0

  • Upgraded HandbrakeCLI from v1.3.3 to v1.6.1. Please read the Handbrake Release notes to familiarise with what changed.
  • Dropped support for Node.js versions less than v14

If you find any issues please let me know.

v6.0.0

10 Sep 23:24
Compare
Choose a tag to compare

Breaking changes since v5.0.3

  • Dropped support for Node.js < v12.17

New features

  • Added the HandbrakeCLIPath option to the spawn, exec and run methods. Use this to override the built-in path to the underlying HandbrakeCLI binary. See the docs in the README. #62

    hbjs.spawn({
      input: 'something.avi',
      output: 'something.m4v',
      HandbrakeCLIPath: './somewhere/HandbrakeCLI'
    })
    

Other changes

  • Codebase rewritten as ECMAScript Modules. This is a non-functional change - users can still load handbrake-js using either import or require.

v5.0.0

09 Dec 22:53
Compare
Choose a tag to compare

Breaking changes since v4.0.3

  • Dropped support for Node.js versions less than v10
  • For macOS and Windows users: upgraded the included HandbrakeCLI binary to v1.3.0
    • Linux user reminder: handbrake-js will use whichever HandbrakeCLI binary is installed on your system, you are responsible for having the latest version installed. See the README for instructions how to install HandbrakeCLI.

New features

  • Added the hbjs.run() method which returns a Promise.

v4.0.0

19 Jun 18:52
Compare
Choose a tag to compare

Breaking changes since v3.0.8

  • Upgraded HandbrakeCLI from v1.1.2 to v1.2.2. This upgrade features quite a lot of changes, please read the Handbrake release notes.
  • Dropped support for Node.js versions less than v8.

New features

Upgrade notes

  • There are no breaking changes to the handbrake-js API itself, only to the underlying HandbrakeCLI executable (for example, deprecated presets like "Normal", "Android" etc have been removed).
  • You can safely upgrade handbrake-js without changing any code, however, be sure to do some test encodes with your current config before use in production.

Any queries or issues, please raise a ticket.

v3.0.0

05 Mar 17:43
Compare
Choose a tag to compare

Breaking changes since v2.2.2

  • Module now requires node version 4 or above
  • Handbrake upgraded from v0.10.5 to v1.0.7

v2.2.0

06 May 13:03
Compare
Choose a tag to compare

Added usage statistics - I'd like to know whether i can drop support for old versions of Node. No input args (e.g. filenames) or option values (e.g. preset or encoder settings) are reported at all, only invocation count, flag usage count, module and Node versions.

To opt out of stats, pass the no-usage-stats flag to either .spawn() or .exec(). For example:

hbjs.spawn({ input: "something.avi", output: "something.m4v", 'no-usage-stats': true })