Skip to content

Commit

Permalink
Prep for 0.34.1 release (#537)
Browse files Browse the repository at this point in the history
  • Loading branch information
shashachu authored Jul 22, 2019
1 parent 1f87128 commit de89c5e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [0.34.1] - 2019-07-22

Minor bugfix release for 0.34.0

### Added
- Support for globally disabling rules via `--disabled_rules` command line flag. ([#534](https://github.com/pinterest/ktlint/pull/534))

### Fixed
- Regression with `--stdin` flag for `printAST` command ([#528](https://github.com/pinterest/ktlint/issues/528))
- Regressions with `NoUnusedImports` rule ([#531](https://github.com/pinterest/ktlint/issues/531), [#526](https://github.com/pinterest/ktlint/issues/526))
- Note: this re-introduces [#405](https://github.com/pinterest/ktlint/issues/405)
- Indentation for enums with multi-line initializers ([#518](https://github.com/pinterest/ktlint/issues/518))

## [0.34.0] - 2019-07-15

### Added
Expand Down Expand Up @@ -589,6 +602,7 @@ set in `[*{kt,kts}]` section).

## 0.1.0 - 2016-07-27

[0.34.1]: https://github.com/shyiko/ktlint/compare/0.33.0...0.34.1
[0.34.0]: https://github.com/shyiko/ktlint/compare/0.33.0...0.34.0
[0.33.0]: https://github.com/shyiko/ktlint/compare/0.32.0...0.33.0
[0.32.0]: https://github.com/shyiko/ktlint/compare/0.31.0...0.32.0
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ disabled_rules=no-wildcard-imports,experimental:annotation,my-custom-ruleset:my-
> Skip all the way to the "Integration" section if you don't plan to use `ktlint`'s command line interface.
```sh
curl -sSLO https://github.com/pinterest/ktlint/releases/download/0.34.0/ktlint &&
curl -sSLO https://github.com/pinterest/ktlint/releases/download/0.34.1/ktlint &&
chmod a+x ktlint &&
sudo mv ktlint /usr/local/bin/
```
Expand Down Expand Up @@ -184,7 +184,7 @@ $ ktlint installGitPreCommitHook
<dependency>
<groupId>com.pinterest</groupId>
<artifactId>ktlint</artifactId>
<version>0.34.0</version>
<version>0.34.1</version>
</dependency>
<!-- additional 3rd party ruleset(s) can be specified here -->
</dependencies>
Expand Down Expand Up @@ -232,7 +232,7 @@ configurations {
}
dependencies {
ktlint "com.pinterest:ktlint:0.34.0"
ktlint "com.pinterest:ktlint:0.34.1"
// additional 3rd party ruleset(s) can be specified here
// just add them to the classpath (e.g. ktlint 'groupId:artifactId:version') and
// ktlint will pick them up
Expand Down Expand Up @@ -434,6 +434,8 @@ import package.* // ktlint-disable
### How do I globally disable a rule?
See the [EditorConfig section](https://github.com/pinterest/ktlint#editorconfig) for details on how to use the `disabled_rules` property.

You may also pass a list of disabled rules via the `--disabled_rules` command line flag. It has the same syntax as the EditorConfig property.

## Development

> Make sure to read [CONTRIBUTING.md](CONTRIBUTING.md).
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=0.34.0-SNAPSHOT
VERSION_NAME=0.35.0-SNAPSHOT

POM_DESCRIPTION=An anti-bikeshedding Kotlin linter with built-in formatter.

Expand Down

0 comments on commit de89c5e

Please sign in to comment.