From 70b1329db0a55770985c704b8d1f965b450259f3 Mon Sep 17 00:00:00 2001 From: "un.def" Date: Sat, 27 Jun 2020 16:38:16 +0300 Subject: [PATCH] Release version 0.4.0 --- LICENSE | 2 +- README.md | 70 ++++++++++++++++++++++++++++++++++---------- src/luamb/version.py | 2 +- 3 files changed, 56 insertions(+), 18 deletions(-) diff --git a/LICENSE b/LICENSE index c7a9e81..c0574a9 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2016-2018 un.def +Copyright (c) 2016-2018, 2020 un.def Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 060cbf3..857cb0c 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ Lua environment manager built on top of [hererocks](https://github.com/luarocks/ * Activate the 'newenv' environment: ```sh - $ luamb on newenv + luamb on newenv ``` * Deactivate the current environment: @@ -114,21 +114,59 @@ Each command has one or more aliases. ## Version history - * 0.3.0 (2018-07-24) - - 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 (2018-03-25) - - Bugfix release - * 0.2.0 (2017-08-29) - - Zsh support - * 0.1.2 (2016-08-24) - - OS X support (using `greadlink`) - * 0.1.1 (2016-07-23) - - Bash completion - * 0.1.0 (2016-07-20) - - Initial release +### 0.4.0 (2020-06-27) + +#### 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 repo@tag`, `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`, `repo@tag`, `/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 (2018-07-24) + + - 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 (2018-03-25) + +Bugfix release + +### 0.2.0 (2017-08-29) + +Zsh support + +### 0.1.2 (2016-08-24) + +OS X support (using `greadlink`) + +### 0.1.1 (2016-07-23) + +Bash completion + +### 0.1.0 (2016-07-20) + +Initial release ## License diff --git a/src/luamb/version.py b/src/luamb/version.py index ebac725..870ccec 100644 --- a/src/luamb/version.py +++ b/src/luamb/version.py @@ -1,2 +1,2 @@ __author__ = 'un.def ' -__version__ = '0.4.0.dev0' +__version__ = '0.4.0'