Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump compiler from 1.0.6 to 2.2.3 #279

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Aug 14, 2020

⚠️ Dependabot is rebasing this PR ⚠️

If you make any changes to it yourself then they will take precedence over the rebase.


Bumps compiler from 1.0.6 to 2.2.3.

Release notes

Sourced from compiler's releases.

2.2.3

  • Reduce the number of adapters that are fetched (#137)
  • Slightly improve reading kotlin objects (#138)
  • Allow specifying sealed class behavior for missing and invalid labels (#139)
  • Handle qualifiers with char arguments with the value ' (#140)
  • Update the error message for unknown class types
  • Fail processing if no sealed class implementations are found

2.2.2

  • Fix annotating generic types with an annotation (#136)

2.2.1

  • Fix a crash that can happen when using adapters from a library (#135)

2.2.0

  • Remove the invalid argument for JsonDefaultValue
  • Allow enabling or disabling null serialization per adapter (#133)
  • Add support for sealed classes and objects (#134)

2.1.1

  • Throw JsonDataException over NPE for null properties (#131)
  • Improve how to implement the factory (#132)
    • Factories can now be object which is much more idiomatic.

2.1.0

  • Support JsonQualifiers with arguments (#128)
  • Support generating adapters for enums (#129)

2.0.3

  • Fix the documentation for KotshiJsonAdapterFactory (#122)
  • Fix invalid code from being generated for long class or property names (#125)

2.0.2

  • Add the path to the error message when the path is null (#121)

2.0.1

This is a patch version for 2.0. It contains a fix for a bug that caused compilation to fail if the data class was internal.

Changes:

  • Make generated adapters and factories internal (#117)

2.0

This is a major release of Kotshi. The main change is that Kotshi now generates Kotlin code rather than java code. This means that you don't need to annotate your primary constructor or add special annotations when your getter name is custom. It also means that you can use regular default values in Kotlin (with some limitations, see the readme).

Changes (since 1.0.6):

  • Kotshi now understands and generates Kotlin code. No more ugly annotations are needed for multiple constructors or custom getter names.
  • Only data classes are allowed.
  • Regular default values in Kotlin is now the only way to provide default values, all other annotations have been removed.
  • The processor is now incremental which should yield a performance boost when using Kotlin 1.3.30 and above.
  • The adapter factory is not generated in a deterministic order which allows it to be cached more efficiently.
Commits
  • a52f567 Prepare for release 2.2.3
  • a586d55 Fail processing if no sealed class implementations are found
  • 5f906eb Update the error message for unknown class types
  • c825349 Handle qualifiers with char arguments with the value ' (#140)
  • 875c3dd Allow specifying sealed class behavior for missing and invalid labels (#139)
  • 3dbb4cf Slightly improve reading kotlin objects (#138)
  • d7fd5c6 Reduce the number of adapters that are fetched (#137)
  • 1775a83 Prepare next development version
  • a3397e4 Prepare for release 2.2.2
  • cbe238e Fix annotating generic types with an annotation (#136)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Aug 14, 2020
Bumps [compiler](https://github.com/ansman/kotshi) from 1.0.6 to 2.2.3.
- [Release notes](https://github.com/ansman/kotshi/releases)
- [Commits](ansman/kotshi@1.0.6...2.2.3)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@dependabot-preview dependabot-preview bot force-pushed the dependabot/gradle/se.ansman.kotshi-compiler-2.2.3 branch from 0b22deb to 664a485 Compare August 14, 2020 09:54
@dependabot-preview
Copy link
Contributor Author

This pull request will no longer be automatically closed when a new version is found as this pull request was created by Dependabot Preview and this repo is using a version: 2 config file. You can close this pull request and let Dependabot re-create it the next time it checks for updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants