Releases: 75lb/handbrake-js
Releases · 75lb/handbrake-js
v7.1.0
v7.0.0
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
Breaking changes since v5.0.3
- Dropped support for Node.js < v12.17
New features
-
Added the
HandbrakeCLIPath
option to thespawn
,exec
andrun
methods. Use this to override the built-in path to the underlyingHandbrakeCLI
binary. See the docs in the README. #62hbjs.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
orrequire
.
v5.0.0
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
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
- Added the INVALID_PRESET exception. Fixes #44.
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
v2.2.0
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 })