Skip to content

Commit

Permalink
Prepare for release 0.3.0-beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
ansman committed Nov 29, 2017
1 parent 7d1eb32 commit 9d2ab6c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
Change Log
===

Version 0.3.0-beta1 (2017-11-29)
---
* Implement support for supplying default values for properties ([#10](https://github.com/ansman/kotshi/pull/10))
* Update to Kotlin 1.2.0 ([#11](https://github.com/ansman/kotshi/pull/11))

Version 0.2.0 (2017-11-21)
---
* Kotlin 1.1.60 is now used.
* The generated adapters have been optimized so that if multiple fields use the same type the same adapter is used. (#7).
* Adapters are no longer used for primitive types (int, float etc) since it can be bad for performance. This behavior can be disabled using a new flag. (#9).
* The generated adapters have been optimized so that if multiple fields use the same type the same adapter is used. ([#7](https://github.com/ansman/kotshi/pull/7)).
* Adapters are no longer used for primitive types (int, float etc) since it can be bad for performance. This behavior can be disabled using a new flag. ([#9](https://github.com/ansman/kotshi/pull/9)).

Version 0.1.1 (2017-06-29)
---
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ You then annotate a parameter of the same type (or a supertype) with the same an
If you need to have multiple default values of the same type you can create a custom default value annotation by
annotating it with `@JsonDefaultValue`.

If you don't want to define default value providers for primitive and string properties you can use the specialized
If you don't want to define default value providers for primitive and string properties you can use the specialized
default value annotations (`@JsonDefaultValueString`, `@JsonDefaultValueInt` etc).

```kotlin
Expand Down Expand Up @@ -127,14 +127,14 @@ since some Kotlin features are not available in Java.
Another limitation is that custom getter names for the JVM cannot be accessed from the constructor parameter which requires
you to annotate the parameter with `@Getter`. This limitation will be removed when the library starts generating Kotlin code.

Kotlin does not carry over annotations made to enum constants so you cannot annotate an enum constant with
Kotlin does not carry over annotations made to enum constants so you cannot annotate an enum constant with
`@JsonDefaultValue`. This issue will hopefully be resolved in [Kotlin 1.2.20](https://youtrack.jetbrains.com/issue/KT-21433).

Download
---
```groovy
compile 'se.ansman.kotshi:api:0.2.0'
kapt 'se.ansman.kotshi:compiler:0.2.0'
compile 'se.ansman.kotshi:api:0.3.0'
kapt 'se.ansman.kotshi:compiler:0.3.0'
```
Snapshots of the development version are available in [Sonatype's snapshots repository](https://oss.sonatype.org/content/repositories/snapshots/).

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GROUP=se.ansman.kotshi
VERSION_NAME=0.3.0-SNAPSHOT
VERSION_NAME=0.3.0-beta1

POM_DESCRIPTION=An annotations processor that generates Moshi adapters from Kotlin data classes

Expand Down

0 comments on commit 9d2ab6c

Please sign in to comment.