All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
v1.1.1 - 26 February 2024
- Fixes error while not setting
"use"
in JSON Config (Related to 07ae4f1d541cece9a0dd8d08486e043097ed449e)
v1.1.0 - 25 February 2024
-
The default render engine is now resvg-js. To use Puppeteer, either assign the
--puppeteer
option in the command line or set"use": "puppeteer"
in the JSON config.Example in CLI Argument:
npx cbmp -d svg -o out --puppeteer
In config files:
{ "use": "puppeteer", "Sample 1": { "dir": "svg", "out": "out/sample1" }, "Sample 2": { "dir": "svg", "out": "out/sample2", "fps": 10 } }
- perf: SVG rendering is now faster with resvg-js (Related to ful1e5/Bibata_Cursor#159)
v1.0.0 - 11 September 2023
- This module is now an
ESM
module and is compiled toES2015
.
- The
-n, --themeName
option is deprecated. Please use-o, --out <path>
to specify the output path.
-
Configuration-based rendering is now supported:
$ npx cbmp render.json
-
The
-fps, --fps
option has been added to lower or increase the frame capture rate in animated .svg files. -
The
--debug
option has been added for running Puppeteer in debug mode. -
Informative logs and colorful loading have been added while rendering SVG files.
- The project's codebase has been rearranged to follow the
ESM
syntax. - The
glob
library is now used to retrieve.svg
files inside the-d, --dir
directory.
v1.0.0.alpha.1 - 10 September 2023
- Early Development Public release 🎊