aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2020-01-28 12:50:03 -0300
committerHisham Muhammad <hisham@gobolinux.org>2020-01-28 13:11:41 -0300
commit0927b4550106a2e0629e6b13a8abd2cc9920bae8 (patch)
tree46c9cc0f142692e3e50117b5a1a373c5b4f2f579
parent99283ecd1d1f8e0d9f44ab6e68c02e13c2bdbcd9 (diff)
downloadluarocks-0927b4550106a2e0629e6b13a8abd2cc9920bae8.tar.gz
luarocks-0927b4550106a2e0629e6b13a8abd2cc9920bae8.tar.bz2
luarocks-0927b4550106a2e0629e6b13a8abd2cc9920bae8.zip
changelog: add all entries in the 3.x series
-rw-r--r--CHANGELOG.md137
1 files changed, 137 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ddd5f719..c6efcab6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -55,24 +55,161 @@
55 55
56## What's new in LuaRocks 3.2.1 56## What's new in LuaRocks 3.2.1
57 57
58* fix installation of LuaRocks via rockspec (`make bootstrap` and
59`luarocks install`): correct a problem in the initialization of the
60luarocks.fs module and its interaction with the cfg module.
61* fix luarocks build --pack-binary-rock --no-doc
62* fix luarocks build --branch
63* luarocks init: fix Lua wrapper for interactive mode
64* fix compatibility issues with command add-ons loaded via
65luarocks.cmd.external modules
66* correct override of config values via CLI flags
67
58## What's new in LuaRocks 3.2.0 68## What's new in LuaRocks 3.2.0
59 69
70LuaRocks 3.2.0 now uses argument parsing based on argparse
71instead of a homegrown parser. This was implemented by Paul
72Ouellette as his Google Summer of Code project, mentored by
73Daurnimator.
74
75Release highlights:
76
77* Bugfix: luarocks path does not change the order of pre-existing path
78items when prepending or appending to path variables
79* Bugfix: fix directory detection on the Mac
80* When building with --force-config, LuaRocks now never uses the
81"project" directory, but only the forced configuration
82* Lua libdir is now only checked for commands/platforms that really
83need to link Lua explicitly
84* LuaJIT is now detected dynamically
85* RaptorJIT is now detected as a LuaJIT variant
86* Improvements in Lua autodetection at runtime
87* luarocks new_version: new option --dir
88* luarocks which: report modules found via package.path and
89package.cpath as well
90* install.bat: Improved detection for Visual Studio 2017 and higher
91* Bundled LuaSec in all-in-one binary bumped to version 0.8.1
92
60## What's new in LuaRocks 3.1.3 93## What's new in LuaRocks 3.1.3
61 94
95This is another bugfix release, that incldes a couple of fixes,
96including better Lua detection, and fixes specific to MacOS and
97FreeBSD.
98
62## What's new in LuaRocks 3.1.2 99## What's new in LuaRocks 3.1.2
63 100
101This is again a small fix release.
102
64## What's new in LuaRocks 3.1.1 103## What's new in LuaRocks 3.1.1
65 104
105This is a hotfix release fixing an issue that affected initialization
106in some scenarios.
107
66## What's new in LuaRocks 3.1.0 108## What's new in LuaRocks 3.1.0
67 109
110### More powerful `luarocks config`
111
112The `luarocks config` command used to only list the current
113configuration. It is now able to query and also _set_ individual
114values, like `git config`. You can now do things such as:
115
116 luarocks config variables.OPENSSL_DIR /usr/local/openssl
117 luarocks config lua_dir /usr/local
118 luarocks config lua_version 5.3
119
120and it will rewrite your luarocks configuration to store that value
121for later reuse. Note that setting `lua_version` will make that Lua
122version the default for `luarocks` invocations (you can always
123override on a per-call basis with `--lua-version`.
124
125You can specify the scope where you will apply the configuration
126change: system-wide, to the user's home config (with --local), or
127specifically to a project, if you run the command from within a
128project directory initialized with `luarocks init`.
129
130### New `--global` flag
131
132Some users prefer that LuaRocks default to system-wide installations,
133some users prefer to install everything to their home directory. The
134`local_by_default` configuration file controls this preference: when
135it is off, the `--local` file triggers user-specific. Before 3.1.0
136there was no convenient way to trigger system-wide installations when
137`local_by_default` was set to true. LuaRocks 3.1.0 adds a `--global`
138flag to this purpose. To enable local-by-default, you can now do:
139
140 luarocks config local_by_default true
141
142### `luarocks make` can deal with patches
143
144A rockspec can include embedded patch files, which are applied when a
145source rock is built. Now, when you run `luarocks make` on a source
146tree unpacked with `luarocks unpack`, the patches will be applied as
147well (and a hidden lockfile is created to avoid the patches to be
148re-applied incorrectly).
149
150### Smarter defaults when working with projects
151
152When working on a project initialized with `luarocks init`, the
153presence of a ./.luarocks/config-5.x.lua file will be enough to detect
154the project-based workflow and have `luarocks` default to that 5.x
155version. That means the `./luarocks` wrapper becomes less necessary;
156the `luarocks` from your $PATH will deal with the project just fine,
157git-style.
158
159### And more!
160
161There are also other improvements. LuaRocks uses the manifest cache a
162bit more aggressively, resulting in increased performance. Also, it no
163longer complains with a warning message if the home cache cannot be
164created (it just uses a temporary dir instead). And of course, the
165release includes multiple bugfixes.
166
68## What's new in LuaRocks 3.0.4 167## What's new in LuaRocks 3.0.4
69 168
169* Fork-free platform detection at startup
170* Improved detection of the default rockspec in commands such as `luarocks test`
171* Various minor bugfixes
172
70## What's new in LuaRocks 3.0.3 173## What's new in LuaRocks 3.0.3
71 174
175LuaRocks 3.0.3 is a minor bugfix release, fixing a regression in
176luarocks.loader introduced in 3.0.2.
177
72## What's new in LuaRocks 3.0.2 178## What's new in LuaRocks 3.0.2
73 179
180* Improvements in luarocks init, new --reset flag
181* write_rockspec: --lua-version renamed to --lua-versions
182* Improved behavior in module autodetection
183* Bugfixes in luarocks show
184* Fix upgrade/downgrade when a single rock has clashing module
185filenames (should fix the issue when downgrading luasec)
186* Fix for autodetected external dependencies with non-alphabetic
187characters (should fix the libstdc++ issue when installing xml)
188
189
74## What's new in LuaRocks 3.0.1 190## What's new in LuaRocks 3.0.1
75 191
192* Numerous bugfixes including:
193 * Handle missing global `arg`
194 * Fix umask behavior
195 * Do not overwrite paths in format 5.x.y when cleaning up path
196variables (#868)
197 * Do not detect files under lua_modules as part of your sources
198when running `luarocks write_rockspec`
199 * Windows: do not hardcode MINGW in the all-in-one binary: instead
200it properly detects when running from a Visual Studio Developer
201Console and uses that compiler instead
202 * configure: --sysconfdir was fixed to its correct meaning: it now
203defaults to /etc and not /etc/luarocks (`/luarocks` is appended to the
204value of sysconfdir)
205 * configure: fixed --force-config
206* Store Lua location in config file, so that a user can run `luarocks
207init --lua-dir=/my/lua/location` and have that location remain active
208for that project
209* Various improvements to the Unix makefile, including $(DESTDIR)
210support and an uninstall rule
211* Autodetect FreeBSD-style include paths (/usr/include/lua5x/)
212
76## What's new in LuaRocks 3.0.0 213## What's new in LuaRocks 3.0.0
77 214
78- [New rockspec format](#new-rockspec-format) 215- [New rockspec format](#new-rockspec-format)