Skip to content

Conversation

@dependabot-preview
Copy link

Bumps value from 2.6.3 to 2.8.2.

Release notes

Sourced from value's releases.

2.8.2 Criteria DISTINCT support

Main feature of this release is DISTINCT statement in Criteria. Plus, small functionalities and bugfixes.

Notable changes

Criteria

  • Support for DISTINCT modifier in queries. Simple DSL to allow chaining DISTINCT / LIMIT / OFFSET modifiers (9d639225)
// example of DISTINCT query
repository.find(person.isActive.isTrue())
     .orderBy(person.name.asc())
     .select(person.name)
     .distinct()
     .limit(2)
     .fetch();

Geode backend

Codegen

  • Remove unnecessary empty line between hashCode() and toString() functions introduced by previous commit
  • Suppress ErrorProne error (with @SuppressWarnings(Immutable)) for lazy hashCode field (#1114)

Gson / JSON Adapters

  • Fixed issue where integers are always printed as doubles (#1120) by Ben Mazzarol (@​bmazzarol)
  • Fixed issue using the jackson XML streaming parser where boolean tokens are always strings (#1120) by Ben Mazzarol (@​bmazzarol)

Other changes

  • Change dependency scope of jackson-datatype-guava and jackson-datatype-jdk8 to test in ElasticSearch backend. They were used only in tests.
  • Enable errorprone static analysis in criteria module (ef5f1a267)

Thanks to all contributors:

2.8.1 Criteria & Repositories API, Update

Immutables team is happy to announce Immutables 2.8.1 release.

This release 2.8.1 comes one month after 2.8.0 and contains several improvements, bugfixes and new functionalities.

Notable changes

Criteria

  • Generate criteria DSL from existing JavaBeans(spec) classes. Useful for projects which use JavaBeans for legacy reasons or not yet fully migrated to immutables. See #1103
  • Pluggable ID resolution. Introduce IdResolver interface to allow users to provide their own annotations (or logic) for ID attribute selection. It complements default @Criteria.Id annotation.
  • Initial support for partial updates. Allow partial changes to be applied directly by the backend (if supported).
repository.update(person.id.is(123))
  .set(person.name, "Changed Name")
</tr></table> ... (truncated)
Changelog

Sourced from value's changelog.

2.8.1 (2019-10-19)

  • Support for JavaBeans in Criteria API
  • Partial updates applied in the backend
  • Top level count()
  • lazyhash
  • 2.8.1 release notes

2.8.0 (2019-09-19)

  • Criteria & Repositories API
  • Not a bugfix release yet, expect more bugfixes in future 2.8.x versions
  • 2.8.0 release notes

2.7.4 (2018-12-26)

  • Bugfix and refinements release! Thank you issue reports and PRs!
  • Notable stuff
    • Propagate checked exceptions in throws for lazy attributes (only for @Value.Lazy)
  • Issues 2.7.4

2.7.3 (2018-11-10)

2.7.2 (2018-11-05)

  • Many fixes and corrections! Thank you issue reports and PRs!
  • Issues 2.7.2
  • Notable stuff
    • Experimental support for Codecs and Jackson (along with Gson) for mapping to MongoDB repositories (#850, #817 by @​asereda-gs)
    • Style.optionalAcceptNullable=true now also generates alternative constructor accepting nullable input for java.util.Optional attributes (#843 by @​ThLeu)
    • org.immutables.value.Generated now covers generated nested classes (#854 by @​before)

2.7.1 (2018-08-25)

  • Thank you issue reports and PRs! Not many features here, but minor version increment was needed
  • Notable stuff
    • Added org.immutables:value-annotations annotation only jar. Previously we had equivalent artifact org.immutables:value:annotations (classifier annotations). Apparently some tools have trouble with properly addressing jars with classifiers and attached sources. Both artifacts are released.
    • org.immutables.value.Generated annotation (which auto added to generated classes / builders) is class-retention annotation now. Some tools (like osgi related) will not automatically add such annotation as runtime dependency.
    • Automatic-Module-Name now have no dashes for org.immutables.value.annotations (annotation only) and org.immutables.value.processor (unshaded processor). Most used artifact/module org.immutables.value is obviously unchanged.
    • Can suppress a bit finer categories of warnings @Suppression("immutables:subtype"), each warning message now contain such token in parentheses.
    • Subtyping value type with another value type directly is now a warning, not an error. It's still better avoid it.
  • Issues 2.7.1
Commits
  • bb87567 v2.8.2
  • 62a83d1 Better exception message in IdResolver showing missing annotation name
  • 3e3ccc6 Issues with Gson Jackson Bridge (#1120)
  • c5404ca Fix previous commit (30de23712) which was generating an empty line
  • 9e03029 Change depedency scope of jackson-datatype-guava and jackson-datatype-jdk8 to...
  • da9b7e1 Escape reserved words when generating OQL in Geode
  • 06bbe28 Add tests for DISTINCT along with ORDER BY + LIMIT flags
  • 449e034 Support DISTINCT query modifier in mongo,geode,inmemory backends
  • 9d63922 Modify Reader API to accomodate fluent DISTINCT / LIMIT / OFFSET method chaining
  • b110e21 Suppress ErrorProne error (with @​SuppressWarnings(Immutable)) for lazy hashCo...
  • 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.


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 Nov 18, 2019
@codecov
Copy link

codecov bot commented Nov 18, 2019

Codecov Report

Merging #102 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #102   +/-   ##
=========================================
  Coverage     86.64%   86.64%           
  Complexity      476      476           
=========================================
  Files            89       89           
  Lines          1400     1400           
  Branches         30       30           
=========================================
  Hits           1213     1213           
  Misses          168      168           
  Partials         19       19

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update af254d6...0a82e5c. Read the comment docs.

@dependabot-preview
Copy link
Author

Superseded by #105.

@dependabot-preview dependabot-preview bot deleted the dependabot/maven/org.immutables-value-2.8.2 branch December 13, 2019 22:15
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.

1 participant