diff --git a/CHANGELOG.md b/CHANGELOG.md
index c072636c..975d02fb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,6 @@
# Changelog
-## 0.24.0 (not yet released)
+## 0.24.0 (2020-08-20)
### Changes
@@ -12,7 +12,12 @@
### Fixes
+* Fixes for using Luacheck with Lua 5.4:
+ - Parse 5.4 attributes in `local` declarations (but ignores them for now)
+ - Luacheck itself can also run with Lua 5.4
* Fixed `randomize` missing from `busted` set of standard globals (#183).
+* Added additional `table` and `thread` definitions for `ngx_lua`.
+* Added additional `match` definition for `busted`.
### Miscellaneous
diff --git a/README.md b/README.md
index deb2061f..7c53b84d 100644
--- a/README.md
+++ b/README.md
@@ -2,9 +2,9 @@
[![Join the chat at https://gitter.im/luacheck/Lobby](https://badges.gitter.im/luacheck/Lobby.svg)](https://gitter.im/luacheck/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
-[![Build Status](https://travis-ci.org/mpeterv/luacheck.png?branch=master)](https://travis-ci.org/mpeterv/luacheck)
-[![Windows build status](https://ci.appveyor.com/api/projects/status/pgox2vvelagw1fux/branch/master?svg=true&passingText=Windows%20build%20passing&failingText=Windows%20build%20failing)](https://ci.appveyor.com/project/mpeterv/luacheck/branch/master)
-[![codecov](https://codecov.io/gh/mpeterv/luacheck/branch/master/graph/badge.svg)](https://codecov.io/gh/mpeterv/luacheck)
+[![Build Status](https://travis-ci.org/luarocks/luacheck.png?branch=master)](https://travis-ci.org/luarocks/luacheck)
+[![Windows build status](https://ci.appveyor.com/api/projects/status/pgox2vvelagw1fux/branch/master?svg=true&passingText=Windows%20build%20passing&failingText=Windows%20build%20failing)](https://ci.appveyor.com/project/luarocks/luacheck/branch/master)
+[![codecov](https://codecov.io/gh/luarocks/luacheck/branch/master/graph/badge.svg)](https://codecov.io/gh/luarocks/luacheck)
[![License](https://img.shields.io/badge/License-MIT-brightgreen.svg)](LICENSE)
## Contents
@@ -39,7 +39,7 @@ For parallel checking Luacheck additionally requires [LuaLanes](https://github.c
### Windows binary download
For Windows there is single-file 64-bit binary distribution, bundling Lua 5.3.4, Luacheck, LuaFileSystem, and LuaLanes using [LuaStatic](https://github.com/ers35/luastatic):
-[download](https://github.com/mpeterv/luacheck/releases/download/0.23.0/luacheck.exe).
+[download](https://github.com/luarocks/luacheck/releases/download/0.24.0/luacheck.exe).
## Basic usage
@@ -107,7 +107,7 @@ Documentation can be built using [Sphinx](http://sphinx-doc.org/): `sphinx-build
## Development
-Luacheck is currently in development. The latest released version is 0.23.0. The interface of the `luacheck` module may change between minor releases. The command line interface is fairly stable.
+Luacheck is currently in development. The latest released version is 0.24.0. The interface of the `luacheck` module may change between minor releases. The command line interface is fairly stable.
Use the Luacheck issue tracker on GitHub to submit bugs, suggestions and questions. Any pull requests are welcome, too.
diff --git a/docsrc/conf.py b/docsrc/conf.py
index 4fa4a382..40b04675 100644
--- a/docsrc/conf.py
+++ b/docsrc/conf.py
@@ -48,9 +48,9 @@
# built documents.
#
# The short X.Y version.
-version = '0.23.0'
+version = '0.24.0'
# The full version, including alpha/beta/rc tags.
-release = '0.23.0'
+release = '0.24.0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
diff --git a/docsrc/index.rst b/docsrc/index.rst
index c8b0ec36..a6439aac 100644
--- a/docsrc/index.rst
+++ b/docsrc/index.rst
@@ -11,4 +11,4 @@ Contents:
inline
module
-This is documentation for 0.23.0 version of `Luacheck `_, a linter for `Lua `_.
+This is documentation for 0.24.0 version of `Luacheck `_, a linter for `Lua `_.
diff --git a/luacheck-dev-1.rockspec b/luacheck-dev-1.rockspec
index d4457872..48ada40f 100644
--- a/luacheck-dev-1.rockspec
+++ b/luacheck-dev-1.rockspec
@@ -1,7 +1,7 @@
package = "luacheck"
version = "dev-1"
source = {
- url = "git+https://github.com/mpeterv/luacheck.git"
+ url = "git+https://github.com/luarocks/luacheck.git"
}
description = {
summary = "A static analyzer and a linter for Lua",
@@ -10,7 +10,7 @@ Luacheck is a command-line tool for linting and static analysis of Lua code.
It is able to spot usage of undefined global variables, unused local variables and
a few other typical problems within Lua programs.
]],
- homepage = "https://github.com/mpeterv/luacheck",
+ homepage = "https://github.com/luarocks/luacheck",
license = "MIT"
}
dependencies = {
diff --git a/src/luacheck/main.lua b/src/luacheck/main.lua
index 8366ee15..11b05951 100644
--- a/src/luacheck/main.lua
+++ b/src/luacheck/main.lua
@@ -26,7 +26,7 @@ local function get_parser()
"luacheck", "luacheck " .. luacheck._VERSION .. ", a linter and a static analyzer for Lua.", [[
Links:
- Luacheck on GitHub: https://github.com/mpeterv/luacheck
+ Luacheck on GitHub: https://github.com/luarocks/luacheck
Luacheck documentation: https://luacheck.readthedocs.org]])
:help_max_width(80)
@@ -347,7 +347,7 @@ if utils.is_instance(err, utils.InvalidPatternError) then
elseif type(err) == "string" and err:find("interrupted!$") then
critical("Interrupted")
else
- local msg = ("Luacheck %s bug (please report at https://github.com/mpeterv/luacheck/issues):\n%s\n%s"):format(
+ local msg = ("Luacheck %s bug (please report at https://github.com/luarocks/luacheck/issues):\n%s\n%s"):format(
luacheck._VERSION, err, traceback)
critical(msg)
end