Luamb

Latest version: v0.5.0

Safety actively analyzes 623860 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.5.0

BREAKING CHANGES

- Python 2 support was dropped.
- `LUAMB_DIR` was renamed to `LUAMB_ENVS_DIR`.
- `ls` `-s`/`--short` flag was renamed to `-b`/`--brief`.

Added

- Python 3.9, 3.10, 3.11, 3.12 support.
- A new `LUAMB_HOME` environment variable.
- A new `update` command to install/update the `hererocks` script.

Changed

- `LUAMB_ENVS_DIR` (previously called `LUAMB_DIR`) is optional now.
- `hererocks` is no longer installed as a dependency.
- `readlink`/`greadlink` is no longer used.

0.4.0

BREAKING CHANGES

- Remove version parsing magic

`luamb mk` now accepts the same version specifiers as `hererocks`. `lua`/`luajit` prefixes are not allowed anymore, use a bare version specifier (e.g., `-l 5.1` instead of `-l lua5.1`).

A value of the `LUAMB_LUA_DEFAULT` environment variable must conform to the following format: `interpreter version_specifier` (e.g., `lua 5.3`, `luajit latest`, `moonjit 2.2`, `raptorjit repotag`, `lua /path/to`).

A value of the `LUAMB_LUAROCKS_DEFAULT` environment variable must contain only a version specifier (e.g., `3.3.0`, `2.1`, `latest`, `repotag`, `/path/to`), the `rocks`/`luarocks` prefix is not allowed anymore.

- Move shell code to a Python module

The code can now be retrieved with the `luamb shellsrc` command. Use `source <(luamb shellsrc)` to load the `luamb` function into the current shell.

- Enable shell completion by default

Set the `LUAMB_DISABLE_COMPLETION` environment variable to `true` to disable the completion.
The `LUAMB_COMPLETION` environment variable was removed.

Added

- Add support for RaptorJIT and moonjit
- Add `--list-versions` flag to `mk` command
- Add `--short` flag to `ls` command

0.3.0

- Add git URIs and local paths support
- Add hererocks non-zero status handling
- Wrap hererocks deactivate-lua function to deactivate environment properly
- Add some new aliases

0.2.1

Bugfix release

0.2.0

Zsh support

0.1.2

OS X support (using `greadlink`)

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.