Skip to content

Commit

Permalink
Release version 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
un-def committed Jun 27, 2020
1 parent 0dfda25 commit 70b1329
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 18 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
70 changes: 54 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/luamb/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__author__ = 'un.def <[email protected]>'
__version__ = '0.4.0.dev0'
__version__ = '0.4.0'

0 comments on commit 70b1329

Please sign in to comment.