Skip to content

Commit

Permalink
0.23.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeterv committed Sep 18, 2018
1 parent 73f612f commit 76bb567
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 12 deletions.
6 changes: 2 additions & 4 deletions CHANGELOG.md
@@ -1,6 +1,6 @@
# Changelog

## 0.23.0 (unreleased)
## 0.23.0 (2018-09-18)

### Breaking changes

Expand All @@ -16,7 +16,7 @@

* Warning columns are now reported in Unicode codepoints if input is
valid UTF-8 (#45).
* Add indentaion-based guessing of a better location for missing `end`
* Added indentaion-based guessing of a better location for missing `end`
and `until` syntax errors.
* Added `luacheckrc` set of allowed globals containing globals used in
Luacheck config to set options.
Expand All @@ -37,8 +37,6 @@

* Default set of standard globals is now always `max`, allowing globals of all
Lua versions. `_G` std is deprecated.
* Warnings related to statements and expressions (e.g. unreachable code) now
point to the entire statement or expression instead of just the first token.

### Fixes

Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -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.22.1/luacheck.exe).
[download](https://github.com/mpeterv/luacheck/releases/download/0.23.0/luacheck.exe).

## Basic usage

Expand Down Expand Up @@ -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.22.1. 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.23.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.

Expand Down
2 changes: 1 addition & 1 deletion docsrc/cli.rst
Expand Up @@ -180,7 +180,7 @@ CLI options ``--globals``, ``--new-globals``, ``--read-globals``, ``--new-read-g
Sets of standard globals
------------------------

CLI option ``--stds`` allows combining built-in sets described above using ``+``. For example, ``--std max`` is equivalent to ``--std=lua51c+lua52c+lua53c+luajit``. Leading plus sign adds new sets to current one instead of replacing it. For instance, ``--std +love`` is suitable for checking files using `LÖVE <https://love2d.org>`_ (love2d) framework. Custom sets of globals can be defined by mutating global variable ``stds`` in config. See :ref:`custom_stds`
CLI option ``--stds`` allows combining built-in sets described above using ``+``. For example, ``--std max`` is equivalent to ``--std=lua51c+lua52c+lua53c+luajit``. Leading plus sign adds new sets to current one instead of replacing it. For instance, ``--std +love`` is suitable for checking files using `LÖVE <https://love2d.org>`_ framework. Custom sets of globals can be defined by mutating global variable ``stds`` in config. See :ref:`custom_stds`

Formatters
----------
Expand Down
4 changes: 2 additions & 2 deletions docsrc/conf.py
Expand Up @@ -48,9 +48,9 @@
# built documents.
#
# The short X.Y version.
version = '0.22.1'
version = '0.23.0'
# The full version, including alpha/beta/rc tags.
release = '0.22.1'
release = '0.23.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion docsrc/index.rst
Expand Up @@ -11,4 +11,4 @@ Contents:
inline
module

This is documentation for 0.22.1 version of `Luacheck <https://github.com/mpeterv/luacheck/>`_, a linter for `Lua <https://www.lua.org/>`_.
This is documentation for 0.23.0 version of `Luacheck <https://github.com/mpeterv/luacheck/>`_, a linter for `Lua <https://www.lua.org/>`_.
2 changes: 1 addition & 1 deletion docsrc/warnings.rst
Expand Up @@ -212,7 +212,7 @@ Reversed numeric for loops
^^^^^^^^^^^^^^^^^^^^^^^^^^

Iterating a table in reverse using a numeric for loop going from ``#t`` to ``1`` requires a negative loop step. Luacheck warns about loops
going from ``#(some expression)`` to ``1`` or a lesser constant when the loop step is not negative:
going from ``#(some expression)`` to ``1`` or a smaller constant when the loop step is not negative:

.. code-block:: lua
:linenos:
Expand Down
2 changes: 1 addition & 1 deletion src/luacheck/init.lua
Expand Up @@ -5,7 +5,7 @@ local format = require "luacheck.format"
local utils = require "luacheck.utils"

local luacheck = {
_VERSION = "0.22.1"
_VERSION = "0.23.0"
}

local function raw_validate_options(fname, opts, stds, context)
Expand Down

0 comments on commit 76bb567

Please sign in to comment.