Skip to content

Commit

Permalink
0.33.0 changelog (#438)
Browse files Browse the repository at this point in the history
* Adding CHANGELOG for 0.33.0, updating various version references

* Adding another issue fixed in 0.33.0
  • Loading branch information
shashachu committed May 28, 2019
1 parent 999c2e6 commit c5d19e5
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,22 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [0.33.0] - 2019-05-28

### Added
- Unary operator spacing rule ([#412](https://github.com/pinterest/ktlint/issues/412))
- Support for Kotlin 1.3.31

### Disabled
- No wildcard imports rule ([#48](https://github.com/pinterest/ktlint/issues/48)). Developers wishing to still enforce this rule should add the code into a custom ruleset.

### Fixed
- Spec file parsing is now platform-agnostic ([#365](https://github.com/pinterest/ktlint/pull/365))
- Unnecessary newline after `->` in some cases ([#403](https://github.com/pinterest/ktlint/pull/403))
- `SpacingAroundCommaRule` will no longer move code into comments
- Made newlines after `=` less aggressive ([#368](https://github.com/pinterest/ktlint/issues/368)) ([#380](https://github.com/pinterest/ktlint/issues/380))
- Erroneous newline when parameter comments are used ([#433](https://github.com/pinterest/ktlint/issues/433))

## [0.32.0] - 2019-04-22

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

## 0.1.0 - 2016-07-27

[0.32.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
[0.31.0]: https://github.com/shyiko/ktlint/compare/0.30.0...0.31.0
[0.30.0]: https://github.com/shyiko/ktlint/compare/0.29.0...0.30.0
Expand Down
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -83,7 +83,7 @@ max_line_length=off
> 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.32.0/ktlint &&
curl -sSLO https://github.com/pinterest/ktlint/releases/download/0.33.0/ktlint &&
chmod a+x ktlint &&
sudo mv ktlint /usr/local/bin/
```
Expand Down Expand Up @@ -178,7 +178,7 @@ $ ktlint --install-git-pre-commit-hook
<dependency>
<groupId>com.pinterest</groupId>
<artifactId>ktlint</artifactId>
<version>0.32.0</version>
<version>0.33.0</version>
</dependency>
<!-- additional 3rd party ruleset(s) can be specified here -->
</dependencies>
Expand Down Expand Up @@ -212,7 +212,7 @@ configurations {
}
dependencies {
ktlint "com.pinterest:ktlint:0.32.0"
ktlint "com.pinterest:ktlint:0.33.0"
// 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
4 changes: 2 additions & 2 deletions ktlint-ruleset-template/build.gradle
Expand Up @@ -49,10 +49,10 @@ configurations {
dependencies {
compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"

provided 'com.pinterest.ktlint:ktlint-core:0.32.0'
provided 'com.pinterest.ktlint:ktlint-core:0.33.0'

testCompile 'org.assertj:assertj-core:3.5.2'
testCompile 'com.pinterest.ktlint:ktlint-test:0.32.0'
testCompile 'com.pinterest.ktlint:ktlint-test:0.33.0'
testCompile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
testCompile('org.jetbrains.spek:spek-junit-platform-engine:1.1.5') {
exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib'
Expand Down

0 comments on commit c5d19e5

Please sign in to comment.