This repository was archived by the owner on Feb 4, 2025. It is now read-only.
Releases: TBroz15/SuitcaseJS
Releases · TBroz15/SuitcaseJS
v3.2.3
v3.2.2
v3.2.1
v3.2.0
v3.1.0
v3.0.0
3.0.0 (2024-10-15)
Bug Fixes
- compiler@api: 🩹 remove .finish() (8d66e88)
Features
- 🎸 changed structure of class (5887b9b)
- 🎸 remove dashes on commands (a7d4eda)
- cli: add "sjs" as alias for cli (6415b00)
- cli: add config flag for command "compile" (9e6964f)
BREAKING CHANGES
- 🧨 Renamed the commands
Commands like --compile
, --init
, --help
will remove its dashes into compile
, init
, help
to remove a bit of confusion between command and flags.
- 🧨 AfterCompilation.finish() removed
For the API change, .finish()
is no longer required to be used to remove temporary files as now it happens on .compile()
These are the examples from before and after change.
Before v3
const pack =
await new Suitcase("./pack/")
.readConfig()
.compile("./out.mcpack");
const getStats = await pack.finish()
console.log("Stats: ", await getStats());
After v3
const pack =
await new Suitcase("./pack/")
.readConfig()
.compile("./out.mcpack");
console.log("Stats: ", await pack.getStats());
v2.1.2
v2.1.1
v2.1.0
2.1.0 (2024-09-20)
Bug Fixes
- compiler@asset: 🩹 exclude compress on PNG (d388670)
- compiler@other: 🧵 default to 4 threads when there is no available CPU info (e4b7eb4)
Features
- cli: ✨ add "bare bones" compilation (514cb62)
- cli: 🔧 add config initializer (f967f95)
- compiler@api: ✨ add api support yippee! (1121825)
- compiler@config: ✨ add globbing (93a8623)
- compiler@config: ✨ add option to log errors in getting config (5ab19d3)
- compiler@other: ✨ add JSON, PNG, LANG, JPG and caching config (25b5489)
Performance Improvements
- compiler@other: ⚡ full multithreading rewrite! (35c9277)