aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2018-05-24 15:55:11 -0300
committerHisham Muhammad <hisham@gobolinux.org>2018-05-24 15:55:11 -0300
commit42992d6504d6cd111f000dd3aae912f18510e8e2 (patch)
tree6961131fbe34b3a303d2f9b71bbb2f434def0ee1
parent38fce46096bed1c56b4ebed2dfc2189c4103534e (diff)
downloadluarocks-42992d6504d6cd111f000dd3aae912f18510e8e2.tar.gz
luarocks-42992d6504d6cd111f000dd3aae912f18510e8e2.tar.bz2
luarocks-42992d6504d6cd111f000dd3aae912f18510e8e2.zip
update changelog
-rw-r--r--CHANGELOG.md52
1 files changed, 44 insertions, 8 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 971d220d..0cbf3d35 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,34 @@
2What's new in LuaRocks 3.0 2What's new in LuaRocks 3.0
3========================== 3==========================
4 4
5* *Breaking change:* The support for deprecated unversioned paths
6 (e.g. `/usr/local/lib/luarocks/rocks/` and `/etc/luarocks/config.lua`)
7 was removed, LuaRocks will now only create and use paths versioned
8 to the specific Lua version in use
9 (e.g. `/usr/local/lib/luarocks/rocks-5.3/` and `/etc/luarocks/config-5.3.lua`).
10* *New rockspec format:* if you add `rockspec_format = "3.0"` to your
11 rockspec, you can use all features listed in the section "[Rockspec 3.0]" below.
12 Note that these rockspecs will only work with LuaRocks 3.0 and above, but
13 older versions will detect that directive and fail gracefully, giving the
14 user a message telling them to upgrade.
15* *New feature:* [namespaces](https://github.com/luarocks/luarocks/wiki/Namespaces):
16 you can use `luarocks install user/package` to install a package from a
17 specific user of the repository.
18* *New command:* `luarocks test`. It runs a rock's test suite, as specified
19 in the new `test` section of the rockspec file. It also does some
20 autodetection, so it already works with many existing rocks as well.
21* *New command:* `luarocks which`. Given the name of an installed, it tells
22 you which rock it is a part of. For example, `luarocks which lfs`
23 will tell you it is a part of `luafilesystem` (and give the full
24 path name to the module). In this sense, `luarocks which` is the
25 dual command to `luarocks show`.
26* *New flag* `--temp-key` for `luarocks upload`, allowing you to easily
27 upload rocks into an alternate account without disrupting the
28 stored configuration of your main account.
29* *New flag* `--dev`, for enabling development-branch sub-repositories.
30 This adds support for easily requesting `dev` modules from LuaRocks.org, as in:
31 `luarocks install --dev luafilesystem`. The list of URLs configured
32 in `rocks_servers` is prepended with a list containing "/dev" in their paths.
5* `luarocks path` now exports versioned variables `LUA_PATH_5_x` and 33* `luarocks path` now exports versioned variables `LUA_PATH_5_x` and
6 `LUA_CPATH_5_x` instead of `LUA_PATH` and `LUA_CPATH` 34 `LUA_CPATH_5_x` instead of `LUA_PATH` and `LUA_CPATH`
7 when those are in use in your system. 35 when those are in use in your system.
@@ -9,22 +37,27 @@ What's new in LuaRocks 3.0
9 For example, if you have `/some/dir/lua/5.1/` in your `$LUA_PATH` and 37 For example, if you have `/some/dir/lua/5.1/` in your `$LUA_PATH` and
10 you are running Lua 5.2, `luarocks.loader` and the `luarocks` command-line 38 you are running Lua 5.2, `luarocks.loader` and the `luarocks` command-line
11 tool will convert it to `/some/dir/lua/5.2/`. 39 tool will convert it to `/some/dir/lua/5.2/`.
12* New flag `--temp-key` for `luarocks upload`, allowing you to easily
13 upload rocks into an alternate account without disrupting the
14 stored configuration of your main account.
15* New flag `--dev`, for enabling development-branch sub-repositories.
16 This adds support for easily requesting `dev` modules from LuaRocks.org, as in:
17 `luarocks install --dev luafilesystem`. The list of URLs configured
18 in `rocks_servers` is prepended with a list containing "/dev" in their paths.
19* Wrappers installed using `--tree` now prepend the tree's prefix to their 40* Wrappers installed using `--tree` now prepend the tree's prefix to their
20 package paths. 41 package paths.
42* `luarocks-admin` commands no longer creates an `index.html` file in the
43 repository by default (it does update it if it alroady exists)
44* `luarocks-admin add` now works with `file://` repositories
21 45
22Rockspec 3.0 46Rockspec 3.0
23------------ 47------------
24 48
25These features are only enabled if `rockspec_format = "3.0"` is set in the rockspec: 49These features are only enabled if `rockspec_format = "3.0"` is set in the rockspec:
26 50
27* `build.macosx_deployment_target = "10.9"` is supported in Mac platforms, 51* New table `build_dependencies`: dependencies used only for running `luarocks build`
52 but not when installing binary rocks.
53* New table `test_dependencies`: dependencies used only for running `luarocks test`
54* New table `test`: settings for configuring the behavior of `luarocks test`.
55 Supports a `test.type` field so that the test backend can be specified.
56 Currently supported test backends are:
57 * `"busted"`, for running [Busted](https://olivinelabs.com/busted)
58 * `"command"`, for running a plain command.
59 * Custom backends can be loaded via `test_dependencies`
60* New field `build.macosx_deployment_target = "10.9"` is supported in Mac platforms,
28 and adjusts `$(CC)` and `$(LD)` variables to export the corresponding 61 and adjusts `$(CC)` and `$(LD)` variables to export the corresponding
29 environment variable. 62 environment variable.
30* LuaJIT can be detected in dependencies and uses version reported by the 63* LuaJIT can be detected in dependencies and uses version reported by the
@@ -48,3 +81,6 @@ Internal changes
48 (Notably, `luarocks.core` does not use `luarocks.fs`.) 81 (Notably, `luarocks.core` does not use `luarocks.fs`.)
49* Modules representing `luarocks` commands were moved into the `luarocks.cmd` namespace. 82* Modules representing `luarocks` commands were moved into the `luarocks.cmd` namespace.
50* Modules representing `luarocks-admin` commands were moved into the `luarocks.admin.cmd` namespace. 83* Modules representing `luarocks-admin` commands were moved into the `luarocks.admin.cmd` namespace.
84* New internal objects for representing interaction with the repostories:
85 `luarocks.queries` and `luarocks.results`
86* Type checking rules of file formats were moved into the `luarocks.type` namespace.