Skip to content

Commit

Permalink
0.10.0 (#192)
Browse files Browse the repository at this point in the history
* 0.10.0

* Don't use iter_parameters
  • Loading branch information
Kampfkarren authored Dec 21, 2020
1 parent 3424088 commit 41330a3
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Changelog
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## [0.10.0] - 2020-12-21
### Added
- Added inline lint filtering, read [the documentation](https://kampfkarren.github.io/selene/usage/filtering.html) for more information.
- More errors now set the exit code.
Expand All @@ -10,6 +10,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
### Changed
- `UDim.new` and `Region3int16.new` no longer require parameters.
- `UDim2.fromOffset` and `UDim2.fromScale` now require you to use `UDim.new` if no parameters are specified.
- Updated full-moon, read [the full-moon changelog](https://github.com/Kampfkarren/full-moon/blob/master/CHANGELOG.md#080---2020-12-21) to learn more.

## [0.9.2] - 2020-11-06
### Changed
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions selene-lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "selene-lib"
version = "0.9.2"
version = "0.10.0"
license = "MPL-2.0"
authors = ["Kampfkarren <kampfkarren@gmail.com>"]
description = "A library for linting Lua code. You probably want selene instead."
Expand All @@ -12,7 +12,7 @@ edition = "2018"
[dependencies]
codespan = "0.9"
codespan-reporting = "0.9"
full_moon = "0.7"
full_moon = "0.8"
id-arena = "2.2"
if_chain = "1.0"
lazy_static = "1.4"
Expand Down
2 changes: 1 addition & 1 deletion selene-lib/src/ast_util/scopes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ impl Visitor<'_> for ScopeVisitor {
fn visit_function_body(&mut self, body: &ast::FunctionBody) {
self.open_scope(body);

for parameter in body.iter_parameters() {
for parameter in body.parameters() {
match parameter {
ast::Parameter::Ellipse(token) | ast::Parameter::Name(token) => {
self.define_name(token, range(token));
Expand Down
6 changes: 3 additions & 3 deletions selene/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "selene"
version = "0.9.2"
version = "0.10.0"
license = "MPL-2.0"
authors = ["Kampfkarren <kampfkarren@gmail.com>"]
description = "A blazing-fast modern Lua linter written in Rust"
Expand All @@ -16,12 +16,12 @@ cfg-if = "0.1"
chrono = "0.4"
codespan = { version = "0.9", features = ["serialization"] }
codespan-reporting = { version = "0.9", features = ["serialization"] }
full_moon = "0.7"
full_moon = "0.8"
lazy_static = "1.4"
glob = "0.3"
num_cpus = "1.10"
reqwest = { version = "0.9", optional = true }
selene-lib = { path = "../selene-lib", version = "=0.9.2", default-features = false }
selene-lib = { path = "../selene-lib", version = "=0.10.0", default-features = false }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
structopt = "0.3"
Expand Down

0 comments on commit 41330a3

Please sign in to comment.