Skip to content

Commit 6651c20

Browse files
committed
0.24.0 release
1 parent d3a7650 commit 6651c20

File tree

6 files changed

+18
-13
lines changed

6 files changed

+18
-13
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## 0.24.0 (not yet released)
3+
## 0.24.0 (2020-08-20)
44

55
### Changes
66

@@ -12,7 +12,12 @@
1212

1313
### Fixes
1414

15+
* Fixes for using Luacheck with Lua 5.4:
16+
- Parse 5.4 attributes in `local` declarations (but ignores them for now)
17+
- Luacheck itself can also run with Lua 5.4
1518
* Fixed `randomize` missing from `busted` set of standard globals (#183).
19+
* Added additional `table` and `thread` definitions for `ngx_lua`.
20+
* Added additional `match` definition for `busted`.
1621

1722
### Miscellaneous
1823

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
[![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)
44

5-
[![Build Status](https://travis-ci.org/mpeterv/luacheck.png?branch=master)](https://travis-ci.org/mpeterv/luacheck)
6-
[![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)
7-
[![codecov](https://codecov.io/gh/mpeterv/luacheck/branch/master/graph/badge.svg)](https://codecov.io/gh/mpeterv/luacheck)
5+
[![Build Status](https://travis-ci.org/luarocks/luacheck.png?branch=master)](https://travis-ci.org/luarocks/luacheck)
6+
[![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)
7+
[![codecov](https://codecov.io/gh/luarocks/luacheck/branch/master/graph/badge.svg)](https://codecov.io/gh/luarocks/luacheck)
88
[![License](https://img.shields.io/badge/License-MIT-brightgreen.svg)](LICENSE)
99

1010
## Contents
@@ -39,7 +39,7 @@ For parallel checking Luacheck additionally requires [LuaLanes](https://github.c
3939
### Windows binary download
4040

4141
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):
42-
[download](https://github.com/mpeterv/luacheck/releases/download/0.23.0/luacheck.exe).
42+
[download](https://github.com/luarocks/luacheck/releases/download/0.24.0/luacheck.exe).
4343

4444
## Basic usage
4545

@@ -107,7 +107,7 @@ Documentation can be built using [Sphinx](http://sphinx-doc.org/): `sphinx-build
107107

108108
## Development
109109

110-
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.
110+
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.
111111

112112
Use the Luacheck issue tracker on GitHub to submit bugs, suggestions and questions. Any pull requests are welcome, too.
113113

docsrc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
# built documents.
4949
#
5050
# The short X.Y version.
51-
version = '0.23.0'
51+
version = '0.24.0'
5252
# The full version, including alpha/beta/rc tags.
53-
release = '0.23.0'
53+
release = '0.24.0'
5454

5555
# The language for content autogenerated by Sphinx. Refer to documentation
5656
# for a list of supported languages.

docsrc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ Contents:
1111
inline
1212
module
1313

14-
This is documentation for 0.23.0 version of `Luacheck <https://github.com/mpeterv/luacheck/>`_, a linter for `Lua <https://www.lua.org/>`_.
14+
This is documentation for 0.24.0 version of `Luacheck <https://github.com/luarocks/luacheck/>`_, a linter for `Lua <https://www.lua.org/>`_.

luacheck-dev-1.rockspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package = "luacheck"
22
version = "dev-1"
33
source = {
4-
url = "git+https://github.com/mpeterv/luacheck.git"
4+
url = "git+https://github.com/luarocks/luacheck.git"
55
}
66
description = {
77
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.
1010
It is able to spot usage of undefined global variables, unused local variables and
1111
a few other typical problems within Lua programs.
1212
]],
13-
homepage = "https://github.com/mpeterv/luacheck",
13+
homepage = "https://github.com/luarocks/luacheck",
1414
license = "MIT"
1515
}
1616
dependencies = {

src/luacheck/main.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ local function get_parser()
2626
"luacheck", "luacheck " .. luacheck._VERSION .. ", a linter and a static analyzer for Lua.", [[
2727
Links:
2828
29-
Luacheck on GitHub: https://github.com/mpeterv/luacheck
29+
Luacheck on GitHub: https://github.com/luarocks/luacheck
3030
Luacheck documentation: https://luacheck.readthedocs.org]])
3131
:help_max_width(80)
3232

@@ -347,7 +347,7 @@ if utils.is_instance(err, utils.InvalidPatternError) then
347347
elseif type(err) == "string" and err:find("interrupted!$") then
348348
critical("Interrupted")
349349
else
350-
local msg = ("Luacheck %s bug (please report at https://github.com/mpeterv/luacheck/issues):\n%s\n%s"):format(
350+
local msg = ("Luacheck %s bug (please report at https://github.com/luarocks/luacheck/issues):\n%s\n%s"):format(
351351
luacheck._VERSION, err, traceback)
352352
critical(msg)
353353
end

0 commit comments

Comments
 (0)