diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2020-01-28 12:50:03 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2020-01-28 12:50:03 -0300 |
| commit | b6cb0c16a18789967ee71ceebf2819a2a6e8ca08 (patch) | |
| tree | 46c9cc0f142692e3e50117b5a1a373c5b4f2f579 | |
| parent | 59a606047fe07a70b6f9ae398dcf76dbaef3adf1 (diff) | |
| download | luarocks-b6cb0c16a18789967ee71ceebf2819a2a6e8ca08.tar.gz luarocks-b6cb0c16a18789967ee71ceebf2819a2a6e8ca08.tar.bz2 luarocks-b6cb0c16a18789967ee71ceebf2819a2a6e8ca08.zip | |
changelog: add all entries in the 3.x series
| -rw-r--r-- | CHANGELOG.md | 137 |
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 | ||
| 60 | luarocks.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 | ||
| 65 | luarocks.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 | ||
| 70 | LuaRocks 3.2.0 now uses argument parsing based on argparse | ||
| 71 | instead of a homegrown parser. This was implemented by Paul | ||
| 72 | Ouellette as his Google Summer of Code project, mentored by | ||
| 73 | Daurnimator. | ||
| 74 | |||
| 75 | Release highlights: | ||
| 76 | |||
| 77 | * Bugfix: luarocks path does not change the order of pre-existing path | ||
| 78 | items 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 | ||
| 83 | need 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 | ||
| 89 | package.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 | ||
| 95 | This is another bugfix release, that incldes a couple of fixes, | ||
| 96 | including better Lua detection, and fixes specific to MacOS and | ||
| 97 | FreeBSD. | ||
| 98 | |||
| 62 | ## What's new in LuaRocks 3.1.2 | 99 | ## What's new in LuaRocks 3.1.2 |
| 63 | 100 | ||
| 101 | This 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 | ||
| 105 | This is a hotfix release fixing an issue that affected initialization | ||
| 106 | in 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 | |||
| 112 | The `luarocks config` command used to only list the current | ||
| 113 | configuration. It is now able to query and also _set_ individual | ||
| 114 | values, 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 | |||
| 120 | and it will rewrite your luarocks configuration to store that value | ||
| 121 | for later reuse. Note that setting `lua_version` will make that Lua | ||
| 122 | version the default for `luarocks` invocations (you can always | ||
| 123 | override on a per-call basis with `--lua-version`. | ||
| 124 | |||
| 125 | You can specify the scope where you will apply the configuration | ||
| 126 | change: system-wide, to the user's home config (with --local), or | ||
| 127 | specifically to a project, if you run the command from within a | ||
| 128 | project directory initialized with `luarocks init`. | ||
| 129 | |||
| 130 | ### New `--global` flag | ||
| 131 | |||
| 132 | Some users prefer that LuaRocks default to system-wide installations, | ||
| 133 | some users prefer to install everything to their home directory. The | ||
| 134 | `local_by_default` configuration file controls this preference: when | ||
| 135 | it is off, the `--local` file triggers user-specific. Before 3.1.0 | ||
| 136 | there 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` | ||
| 138 | flag 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 | |||
| 144 | A rockspec can include embedded patch files, which are applied when a | ||
| 145 | source rock is built. Now, when you run `luarocks make` on a source | ||
| 146 | tree unpacked with `luarocks unpack`, the patches will be applied as | ||
| 147 | well (and a hidden lockfile is created to avoid the patches to be | ||
| 148 | re-applied incorrectly). | ||
| 149 | |||
| 150 | ### Smarter defaults when working with projects | ||
| 151 | |||
| 152 | When working on a project initialized with `luarocks init`, the | ||
| 153 | presence of a ./.luarocks/config-5.x.lua file will be enough to detect | ||
| 154 | the project-based workflow and have `luarocks` default to that 5.x | ||
| 155 | version. That means the `./luarocks` wrapper becomes less necessary; | ||
| 156 | the `luarocks` from your $PATH will deal with the project just fine, | ||
| 157 | git-style. | ||
| 158 | |||
| 159 | ### And more! | ||
| 160 | |||
| 161 | There are also other improvements. LuaRocks uses the manifest cache a | ||
| 162 | bit more aggressively, resulting in increased performance. Also, it no | ||
| 163 | longer complains with a warning message if the home cache cannot be | ||
| 164 | created (it just uses a temporary dir instead). And of course, the | ||
| 165 | release 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 | ||
| 175 | LuaRocks 3.0.3 is a minor bugfix release, fixing a regression in | ||
| 176 | luarocks.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 | ||
| 185 | filenames (should fix the issue when downgrading luasec) | ||
| 186 | * Fix for autodetected external dependencies with non-alphabetic | ||
| 187 | characters (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 | ||
| 196 | variables (#868) | ||
| 197 | * Do not detect files under lua_modules as part of your sources | ||
| 198 | when running `luarocks write_rockspec` | ||
| 199 | * Windows: do not hardcode MINGW in the all-in-one binary: instead | ||
| 200 | it properly detects when running from a Visual Studio Developer | ||
| 201 | Console and uses that compiler instead | ||
| 202 | * configure: --sysconfdir was fixed to its correct meaning: it now | ||
| 203 | defaults to /etc and not /etc/luarocks (`/luarocks` is appended to the | ||
| 204 | value of sysconfdir) | ||
| 205 | * configure: fixed --force-config | ||
| 206 | * Store Lua location in config file, so that a user can run `luarocks | ||
| 207 | init --lua-dir=/my/lua/location` and have that location remain active | ||
| 208 | for that project | ||
| 209 | * Various improvements to the Unix makefile, including $(DESTDIR) | ||
| 210 | support 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) |
