Skip to content

Commit 4d29799

Browse files
committed
chore: Release v1.0.0
1 parent 1d42a2a commit 4d29799

File tree

7 files changed

+117
-9
lines changed

7 files changed

+117
-9
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## v1.0.0 (2022-08-24)
6+
7+
### Documentation
8+
9+
- [**breaking**] Follow semver guidelines, next release will be v1.x.y
10+
11+
### Features
12+
13+
- Overhaul docker container to run on Lua 5.4
14+
- Store cached luacheck values per-version in case of changes
15+
- Set_default_std for ldoc
16+
- Add builtin std option for Ldoc globals
17+
- Add builtin std option for the Playdate SDK
18+
519
## v0.26.1 (2022-04-23)
620

721
### Bug Fixes

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ For parallel checking Luacheck additionally requires [LuaLanes](https://github.c
4040
### Windows binary download
4141

4242
For Windows there is single-file 64-bit binary distribution, bundling Lua 5.4.4, Luacheck, LuaFileSystem, and LuaLanes using [LuaStatic](https://github.com/ers35/luastatic):
43-
[download](https://github.com/lunarmodules/luacheck/releases/download/0.26.1/luacheck.exe).
43+
[download](https://github.com/lunarmodules/luacheck/releases/download/v1.0.0/luacheck.exe).
4444

4545
## Basic usage
4646

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

110110
## Development
111111

112-
Luacheck is currently in development. The latest released version is 0.26.1. The interface of the `luacheck` module may change between minor releases. The command line interface is fairly stable.
112+
Luacheck is currently in development. The latest released version is v1.0.0. The interface of the `luacheck` module may change between minor releases. The command line interface is fairly stable.
113113

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

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ inputs:
77
default: "."
88
runs:
99
using: docker
10-
image: docker://ghcr.io/lunarmodules/luacheck:v0.26.1
10+
image: docker://ghcr.io/lunarmodules/luacheck:v1.0.0
1111
entrypoint: sh
1212
args:
1313
- -c

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.26.1'
51+
version = '1.0.0'
5252
# The full version, including alpha/beta/rc tags.
53-
release = '0.26.1'
53+
release = '1.0.0'
5454

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

luacheck-dev-1.rockspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ package = package_name
99
version = package_version .. "-" .. rockspec_revision
1010

1111
source = {
12-
url = "git+https://github.com/" .. github_account_name .. "/" .. github_repo_name .. ".git"
12+
url = "git+https://github.com/" .. github_account_name .. "/" .. github_repo_name .. ".git"
1313
}
1414

1515
if package_version == "dev" then source.branch = "master" else source.tag = "v" .. package_version end
@@ -32,11 +32,11 @@ dependencies = {
3232
}
3333

3434
test_dependencies = {
35-
"busted",
35+
"busted",
3636
}
3737

3838
test = {
39-
type = "busted",
39+
type = "busted",
4040
}
4141

4242
build = {
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
local package_name = "luacheck"
2+
local package_version = "1.0.0"
3+
local rockspec_revision = "1"
4+
local github_account_name = "lunarmodules"
5+
local github_repo_name = package_name
6+
7+
package = package_name
8+
version = package_version .. "-" .. rockspec_revision
9+
10+
source = {
11+
url = "git+https://github.com/" .. github_account_name .. "/" .. github_repo_name .. ".git"
12+
}
13+
14+
if package_version == "dev" then source.branch = "master" else source.tag = "v" .. package_version end
15+
16+
description = {
17+
summary = "A static analyzer and a linter for Lua",
18+
detailed = [[
19+
Luacheck is a command-line tool for linting and static analysis of Lua
20+
code. It is able to spot usage of undefined global variables, unused
21+
local variables and a few other typical problems within Lua programs.
22+
]],
23+
homepage = "https://github.com/lunarmodules/luacheck",
24+
license = "MIT"
25+
}
26+
27+
dependencies = {
28+
"lua >= 5.1",
29+
"argparse >= 0.6.0",
30+
"luafilesystem >= 1.6.3"
31+
}
32+
build = {
33+
type = "builtin",
34+
modules = {
35+
luacheck = "src/luacheck/init.lua",
36+
["luacheck.builtin_standards"] = "src/luacheck/builtin_standards/init.lua",
37+
["luacheck.builtin_standards.love"] = "src/luacheck/builtin_standards/love.lua",
38+
["luacheck.builtin_standards.playdate"] = "src/luacheck/builtin_standards/playdate.lua",
39+
["luacheck.builtin_standards.ngx"] = "src/luacheck/builtin_standards/ngx.lua",
40+
["luacheck.cache"] = "src/luacheck/cache.lua",
41+
["luacheck.check"] = "src/luacheck/check.lua",
42+
["luacheck.check_state"] = "src/luacheck/check_state.lua",
43+
["luacheck.config"] = "src/luacheck/config.lua",
44+
["luacheck.core_utils"] = "src/luacheck/core_utils.lua",
45+
["luacheck.decoder"] = "src/luacheck/decoder.lua",
46+
["luacheck.expand_rockspec"] = "src/luacheck/expand_rockspec.lua",
47+
["luacheck.filter"] = "src/luacheck/filter.lua",
48+
["luacheck.format"] = "src/luacheck/format.lua",
49+
["luacheck.fs"] = "src/luacheck/fs.lua",
50+
["luacheck.globbing"] = "src/luacheck/globbing.lua",
51+
["luacheck.lexer"] = "src/luacheck/lexer.lua",
52+
["luacheck.main"] = "src/luacheck/main.lua",
53+
["luacheck.multithreading"] = "src/luacheck/multithreading.lua",
54+
["luacheck.options"] = "src/luacheck/options.lua",
55+
["luacheck.parser"] = "src/luacheck/parser.lua",
56+
["luacheck.profiler"] = "src/luacheck/profiler.lua",
57+
["luacheck.runner"] = "src/luacheck/runner.lua",
58+
["luacheck.serializer"] = "src/luacheck/serializer.lua",
59+
["luacheck.stages"] = "src/luacheck/stages/init.lua",
60+
["luacheck.stages.detect_bad_whitespace"] = "src/luacheck/stages/detect_bad_whitespace.lua",
61+
["luacheck.stages.detect_cyclomatic_complexity"] = "src/luacheck/stages/detect_cyclomatic_complexity.lua",
62+
["luacheck.stages.detect_empty_blocks"] = "src/luacheck/stages/detect_empty_blocks.lua",
63+
["luacheck.stages.detect_empty_statements"] = "src/luacheck/stages/detect_empty_statements.lua",
64+
["luacheck.stages.detect_globals"] = "src/luacheck/stages/detect_globals.lua",
65+
["luacheck.stages.detect_reversed_fornum_loops"] = "src/luacheck/stages/detect_reversed_fornum_loops.lua",
66+
["luacheck.stages.detect_unbalanced_assignments"] = "src/luacheck/stages/detect_unbalanced_assignments.lua",
67+
["luacheck.stages.detect_uninit_accesses"] = "src/luacheck/stages/detect_uninit_accesses.lua",
68+
["luacheck.stages.detect_unreachable_code"] = "src/luacheck/stages/detect_unreachable_code.lua",
69+
["luacheck.stages.detect_unused_fields"] = "src/luacheck/stages/detect_unused_fields.lua",
70+
["luacheck.stages.detect_unused_locals"] = "src/luacheck/stages/detect_unused_locals.lua",
71+
["luacheck.stages.linearize"] = "src/luacheck/stages/linearize.lua",
72+
["luacheck.stages.name_functions"] = "src/luacheck/stages/name_functions.lua",
73+
["luacheck.stages.parse"] = "src/luacheck/stages/parse.lua",
74+
["luacheck.stages.parse_inline_options"] = "src/luacheck/stages/parse_inline_options.lua",
75+
["luacheck.stages.resolve_locals"] = "src/luacheck/stages/resolve_locals.lua",
76+
["luacheck.stages.unwrap_parens"] = "src/luacheck/stages/unwrap_parens.lua",
77+
["luacheck.standards"] = "src/luacheck/standards.lua",
78+
["luacheck.unicode"] = "src/luacheck/unicode.lua",
79+
["luacheck.unicode_printability_boundaries"] = "src/luacheck/unicode_printability_boundaries.lua",
80+
["luacheck.utils"] = "src/luacheck/utils.lua",
81+
["luacheck.vendor.sha1"] = "src/luacheck/vendor/sha1/init.lua",
82+
["luacheck.vendor.sha1.bit32_ops"] = "src/luacheck/vendor/sha1/bit32_ops.lua",
83+
["luacheck.vendor.sha1.bit_ops"] = "src/luacheck/vendor/sha1/bit_ops.lua",
84+
["luacheck.vendor.sha1.common"] = "src/luacheck/vendor/sha1/common.lua",
85+
["luacheck.vendor.sha1.lua53_ops"] = "src/luacheck/vendor/sha1/lua53_ops.lua",
86+
["luacheck.vendor.sha1.pure_lua_ops"] = "src/luacheck/vendor/sha1/pure_lua_ops.lua",
87+
["luacheck.version"] = "src/luacheck/version.lua"
88+
},
89+
install = {
90+
bin = {
91+
luacheck = "bin/luacheck.lua"
92+
}
93+
}
94+
}

src/luacheck/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ local format = require "luacheck.format"
55
local utils = require "luacheck.utils"
66

77
local luacheck = {
8-
_VERSION = "0.26.1"
8+
_VERSION = "1.0.0"
99
}
1010

1111
local function raw_validate_options(fname, opts, stds, context)

0 commit comments

Comments
 (0)