Introduce KeyExtractor interface to Criteria for pluggable entity key definition and extraction. Other improvements in different backend implementations.
Support for Modifiables to extend an inner class/interface.
Value
Add support for Modifiable to extend an inner class/interface by Mitch Halpin (67f808358672)
Criteria
Pluggable KeyExtractor interface (3eb6958db5)
Add projection support for iterable type(s) like List<String> (78c7c29ced)
Add support for Fugue Option to CriteriaModel by Charlie La Mothe (207d631d8c)
Geode
add tests for generating OQL expressions by Javad Moghisi (0c5e5e3f18)
include order by direction in OQL by Javad Moghisi (5c3d15b1f3c)
add support for Iterable Size and Contains to OQL Generator by Javad Moghisi (cfb514bfe)
add support for String Operators to OQL Generator by Javad Moghisi(43f4fff8)
ElasticSearch
Use more efficient id lookups for key attributes in ElasticSearch backend (db4fa9804ea)
Mongo
Add mongo optimization to convert $in/$nin into $eq/$ne for single element array (09c002cca)
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.
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](https://app.dependabot.com):
- 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)
Bumps value from 2.3.9 to 2.8.8.
Release notes
Sourced from value's releases.
Changelog
Sourced from value's changelog.
Commits
25220c4
v2.8.81c34b7f
Upgrade mongo java driver (reactive streams): 1.12.0 -> 1.13.122337f3
Upgrade mongo java driver (sync) 3.11.0 -> 3.12.3d2ac193
Better javadoc for BooleanMatcher.isNot(boolean) method22eb0e2
Prefer using ImmutableList instead of ImmutableSet for args in unary calle30e422
Fix error message while visiting expression Path -> Call2689bef
Deprecate Expressions.call(Operator, ...) with varargs2b39774
Add OptionalBooleanMatcher.isNot() operator5d90676
Add BooleanMatcher.isNot() operator0062b37
Introduce Expressions.binaryCall() factory methodDependabot 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](https://app.dependabot.com): - 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)