Skip to content

Releases: olvrcc/anvs

v2.1.2

19 Oct 22:04

Choose a tag to compare

Release v2.1.2: Improved switching output timing and clarity

- Changed 'Switched to' to 'Switching to' for accurate timing representation
- Removed redundant 'Node.js' and '(via nvm)' from version switch output
- Better represents the flow: anvs initiates switch, version manager confirms completion

v2.1.1

19 Oct 21:54

Choose a tag to compare

Release v2.1.1: Improved switching output colors

- Changed version switch success message text from green to blue
- Better visual hierarchy with green checkmark and blue text
- Patch release for visual improvements

v2.1.0

19 Oct 21:40

Choose a tag to compare

release: bump version to v2.1.0

- Update Cargo.toml version to 2.1.0
- Update package.json version to 2.1.0
- Add comprehensive changelog entry for wizard redesign
- Create new Homebrew formula for anvs
- Prepare for v2.1.0 release with wizard improvements

Features:
- Quick mode wizard (< 30s setup)
- Advanced mode with full customization
- Visual timeline progress indicators
- Smart auto-detection with inline display
- Modern CLI experience inspired by Vite/ShadCN

Breaking changes:
- Default anvs init now uses quick mode (was verbose wizard)

v2.0.0

19 Oct 09:40

Choose a tag to compare

v2.0.0 - Rename to ANVS 🎉

BREAKING CHANGE: This project has been renamed from xvn to anvs (Automatic Node Version Switcher).

What's New

  • New Package Name: Now available as anvs (unnamespaced on npm)
  • Better Name: "Automatic Node Version Switcher" clearly describes the tool's purpose
  • Same Great Features: All functionality from xvn carried over
  • Improved Discoverability: Easier to find on npm and Homebrew

Breaking Changes

This is a major version bump due to the rename. Changes include:

Old (xvn) New (anvs)
@olvrcc/xvn anvs
xvn binary anvs binary
~/.xvn/ directory ~/.anvs/ directory
~/.xvnrc config ~/.anvsrc config
.xvn.yaml project file .anvs.yaml project file
XVN_* env vars ANVS_* env vars

Installation

New Users

npm:

npm install -g anvs
anvs setup

Homebrew:

brew install olvrcc/anvs/anvs
anvs setup

Migrating from XVN

See the Migration Guide for detailed instructions.

Quick migration:

# Uninstall old xvn
xvn uninstall

# Install new anvs
npm install -g anvs
anvs setup

# Copy config (if you had custom settings)
cp ~/.xvnrc ~/.anvsrc

What Happened to XVN?

  • The old @olvrcc/xvn package remains available and will continue to work
  • Version 1.7.0 includes a deprecation notice
  • No new features will be added to xvn
  • All future development will be on anvs

Support

Full Changelog

See CHANGELOG.md for detailed changes.


Thank you for using xvn! We're excited to see you on anvs! 🚀

v1.7.0

18 Oct 15:17

Choose a tag to compare

v1.7.0 - Final Release (Deprecation Notice)

⚠️ IMPORTANT: This is the final release of xvn before the project is renamed to anvs (Automatic Node Version Switcher).

Deprecation Notice

This package is being renamed to provide:

  • Better package name: anvs (unnamespaced on npm)
  • Clearer purpose: "Automatic Node Version Switcher"
  • Improved discoverability

For Existing Users

Your current installation will continue to work! However, future updates will only be published to the new anvs package.

Migration Instructions

See README.DEPRECATION.md for full details.

Quick migration:

xvn uninstall
npm install -g anvs
anvs setup

Changes in v1.7.0

Documentation

  • Added deprecation notice to README.md
  • Created README.DEPRECATION.md with migration guide
  • Updated package metadata

Links


Thank you for using xvn! We look forward to seeing you on anvs.

v1.6.2

18 Oct 13:01

Choose a tag to compare

v1.6.2 - README documentation updates

v1.6.1

13 Oct 21:20

Choose a tag to compare

Release v1.6.1 - Fix Homebrew Shell Integration

v1.6.0

13 Oct 19:19

Choose a tag to compare

Release v1.6.0 - Automatic Default Version Return

Adds automatic switching to default Node.js version when leaving projects

v1.5.0

13 Oct 18:58

Choose a tag to compare

feat: add automatic default version return feature

- Add default_version() method to VersionManagerPlugin trait
- Implement default_version() for nvm and fnm plugins
- Add use_default config setting (default: true)
- Add --use-default flag to xvn activate command
- Update shell hook to switch to default when leaving projects
- Add use-default option to xvn set command
- Show default version info in xvn status
- Add comprehensive tests for default version behavior
- Update CLI help text to mention default version feature
- Update README with automatic default version documentation

When you cd out of a project directory, xvn now automatically
switches back to your version manager's default Node.js version
(e.g., nvm alias default or fnm default).

Files changed:
- CHANGELOG.md
- README.md
- shell/xvn.sh
- src/activation/orchestrator.rs
- src/cli.rs
- src/commands/set.rs
- src/config/schema.rs
- src/init/validation.rs
- src/init/wizard.rs
- src/plugins/fnm.rs
- src/plugins/mock.rs
- src/plugins/nvm.rs
- src/plugins/trait_def.rs
- tests/cli_test.rs
- tests/config_test.rs
- tests/integration.rs

v1.4.2 - Installation Conflict Detection

12 Oct 13:15

Choose a tag to compare

Installation Conflict Detection

This release adds automatic detection of multiple xvn installations to prevent conflicts when installed via different methods (npm, Homebrew, Cargo).

New Features

  • Multiple Installation Detection

    • Automatically detects when xvn is installed via npm, Homebrew, or Cargo
    • Shows detailed warning during xvn init or xvn setup
    • Lists all installations with paths and uninstall commands
    • Persists conflict state for future warnings
  • Activation Warning

    • Brief warning shown on xvn activate if conflicts exist
    • Directs users to run xvn init for resolution details
    • Minimal performance impact (single file check)

Installation

npm:
```bash
npm install -g @olvrcc/xvn
xvn setup
```

Homebrew (macOS only):
```bash
brew tap olvrcc/xvn
brew install xvn
xvn setup
```

From source:
```bash
cargo install --git https://github.com/olvrcc/xvn
xvn setup
```

Changelog

See CHANGELOG.md for full details.

Platform Support

  • ✅ macOS (x64, arm64)
  • ✅ Linux (x64, arm64)
  • ⚠️ Windows support planned for future release