47 lines
2.5 KiB
Markdown
47 lines
2.5 KiB
Markdown
# Changelog
|
|
|
|
## 2026-02-09 - 1.3.0 - feat(toolchain)
|
|
add automatic bundled Rust toolchain fallback and integrate with CLI/CargoRunner
|
|
|
|
- Introduce ToolchainManager to download and install a minimal Rust toolchain to /tmp/tsrust_toolchain/ when system cargo is absent
|
|
- Add getEnvPrefix() and installation/verification logic to ToolchainManager; supports Linux and macOS (x64, arm64)
|
|
- Make CargoRunner accept an envPrefix and prepend it to cargo/rustup commands so bundled toolchain can be used transparently
|
|
- Update CLI to resolve toolchain at runtime (use system cargo if available; otherwise auto-install bundled toolchain) and pass envPrefix to CargoRunner for builds and clean
|
|
- Update exports to include mod_toolchain and add new ts/mod_toolchain module files
|
|
- Document the automatic toolchain behavior in readme.md and update usage description
|
|
- Bump dependencies: @push.rocks/smartcli ^4.0.20 and @types/node ^25.2.2
|
|
|
|
## 2026-02-09 - 1.2.0 - feat(cli)
|
|
support default cross-compilation targets from npmextra.json
|
|
|
|
- Add @push.rocks/npmextra dependency and export plugin in ts/plugins.ts
|
|
- Introduce ITsrustConfig and read configuration via plugins.npmextra.Npmextra in TsRustCli
|
|
- Use npmextra.json targets as fallback when no CLI --target flags are provided
|
|
- Update README to document npmextra.json configuration for default targets
|
|
|
|
## 2026-02-09 - 1.1.0 - feat(cross-compile)
|
|
add cross-compilation support with --target flag, friendly target aliases, and automatic rustup target installation
|
|
|
|
- tsrust CLI: add --target flag (can be provided multiple times) to cross-compile for specified targets
|
|
- Introduce friendly target aliases (linux_amd64, linux_arm64, linux_amd64_musl, linux_arm64_musl, macos_amd64, macos_arm64) and resolve them to Rust triples
|
|
- CargoRunner.build accepts a target parameter and CargoRunner.ensureTarget installs missing rustup targets automatically
|
|
- Cross-compiled binaries are copied into dist_rust and named <bin>_<friendly> (e.g., rustproxy_linux_arm64)
|
|
- README updated with cross-compilation usage and supported target aliases
|
|
- Native build behavior is preserved when --target is not provided
|
|
|
|
## 2026-02-09 - 1.0.3 - fix(tsrust)
|
|
bump patch version due to no changes
|
|
|
|
- current package.json version: 1.0.2
|
|
- git diff shows no changes; creating a no-op/metadata patch release
|
|
|
|
## 2026-02-09 - 1.0.2 - fix()
|
|
no changes
|
|
|
|
- No files changed in the working tree; nothing to commit.
|
|
|
|
## 2026-02-09 - 1.0.1 - release
|
|
Initial release.
|
|
|
|
- Initial commit ("initial")
|
|
- Project set to version 1.0.1 |