You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p><ahref="https://immutables.github.io/">Immutables</a> team is happy to announce Immutables 2.8.1 release.</p>
36
+
<p><ahref="https://immutables.github.io/">Immutables</a> team is happy to announce Immutables 2.8.1 release.</p>
37
37
38
38
<p>This release comes one month after <ahref="https://github.com/immutables/immutables.github.io/blob/src/2.8.0-release.md">2.8.0</a> and contains
39
39
several improvements, bugfixes and new functionalities.</p>
40
40
41
-
<h1>Notable changes</h1>
42
-
43
-
<h3>Criteria</h3>
41
+
<h1id="notable-changes">Notable changes</h1>
44
42
43
+
<h3id="criteria">Criteria</h3>
45
44
<ul>
46
-
<li>Generate criteria DSL from existing <ahref="https://en.wikipedia.org/wiki/JavaBeans">JavaBeans</a>(<ahref="https://www.oracle.com/technetwork/articles/javaee/spec-136004.html">spec</a>) classes. Useful for projects which use JavaBeans for legacy reasons or not yet fully migrated to immutables. See <ahref="https://github.com/immutables/immutables/pull/1103">#1103</a></li>
47
-
<li>Pluggable ID resolution. Introduce <ahref="https://github.com/immutables/immutables/blob/master/criteria/common/src/org/immutables/criteria/backend/IdResolver.java">IdResolver</a> interface to allow users to provide their own annotations (or logic) for ID attribute selection. It complements
<li><p>Add <code>upsert</code> / <code>update</code> operations on entity in Writable interface</p></li>
45
+
<li>Generate criteria DSL from existing <ahref="https://en.wikipedia.org/wiki/JavaBeans">JavaBeans</a>(<ahref="https://www.oracle.com/technetwork/articles/javaee/spec-136004.html">spec</a>) classes. Useful for projects which use JavaBeans for legacy reasons or not yet fully migrated to immutables. See <ahref="https://github.com/immutables/immutables/pull/1103">#1103</a></li>
46
+
<li>Pluggable ID resolution. Introduce <ahref="https://github.com/immutables/immutables/blob/master/criteria/common/src/org/immutables/criteria/backend/IdResolver.java">IdResolver</a> interface to allow users to provide their own annotations (or logic) for ID attribute selection. It complements
<li>Support top-level <codeclass="language-plaintext highlighter-rouge">count()</code> operation similar to <codeclass="language-plaintext highlighter-rouge">COUNT(*)</code> in SQL
<li>Add <codeclass="language-plaintext highlighter-rouge">upsert</code> / <codeclass="language-plaintext highlighter-rouge">update</code> operations on entity in Writable interface</li>
63
62
</ul>
64
63
65
-
<h3>Mongo jackson adapter</h3>
66
-
64
+
<h3id="mongo-jackson-adapter">Mongo jackson adapter</h3>
67
65
<ul>
68
-
<li>Support BSON <code>undefined</code> type which is converted to java <code>null</code> (<ahref="https://github.com/immutables/immutables/commit/9a64881">9a64881</a>)</li>
69
-
<li>Support BSON binary data (<ahref="https://github.com/immutables/immutables/commit/76fb7b44">76fb7b44</a>)</li>
70
-
<li>Lazily read values from bson stream (<ahref="https://github.com/immutables/immutables/commit/1c07466">1c07466</a>). Potentially a performance improvement since values don't have to be deserialized unless required by deserializer. Allows faster <code>skipChildren()</code> calls.</li>
71
-
<li>Make BsonGenerator null safe on strings and numbers (<ahref="https://github.com/immutables/immutables/commit/ba78d7">ba78d7</a>)</li>
66
+
<li>Support BSON <codeclass="language-plaintext highlighter-rouge">undefined</code> type which is converted to java <codeclass="language-plaintext highlighter-rouge">null</code> (<ahref="https://github.com/immutables/immutables/commit/9a64881">9a64881</a>)</li>
67
+
<li>Support BSON binary data (<ahref="https://github.com/immutables/immutables/commit/76fb7b44">76fb7b44</a>)</li>
68
+
<li>Lazily read values from bson stream (<ahref="https://github.com/immutables/immutables/commit/1c07466">1c07466</a>). Potentially a performance improvement since values don’t have to be deserialized unless required by deserializer. Allows faster <codeclass="language-plaintext highlighter-rouge">skipChildren()</code> calls.</li>
69
+
<li>Make BsonGenerator null safe on strings and numbers (<ahref="https://github.com/immutables/immutables/commit/ba78d7">ba78d7</a>)</li>
<p>Changes related to <ahref="https://immutables.github.io/mongo.html">mongo repositories</a> (predecessor to criteria).</p>
77
74
78
75
<ul>
79
-
<li>Enable <code>_id</code> initialization in MongoDB (<ahref="https://github.com/immutables/immutables/pull/1074">#1074</a>). PR from <ahref="https://github.com/arouel">André Rouél</a></li>
80
-
<li><code>bson4gson</code> adapter. Support BSON <code>undefined</code> type translated to java <code>null</code></li>
81
-
<li><code>bson4gson</code> adapter. Friendlier type conversion between BSON temporal types and java numbers (int / long etc.)</li>
82
-
<li><code>bson4gson</code> adapter. Fix <code>peek()</code> method in JsonReader (<ahref="https://github.com/immutables/immutables/commit/6f1247">6f1247</a>)</li>
83
-
<li>Require Java 8</li>
76
+
<li>Enable <codeclass="language-plaintext highlighter-rouge">_id</code> initialization in MongoDB (<ahref="https://github.com/immutables/immutables/pull/1074">#1074</a>). PR from <ahref="https://github.com/arouel">André Rouél</a></li>
77
+
<li><codeclass="language-plaintext highlighter-rouge">bson4gson</code> adapter. Support BSON <codeclass="language-plaintext highlighter-rouge">undefined</code> type translated to java <codeclass="language-plaintext highlighter-rouge">null</code></li>
78
+
<li><codeclass="language-plaintext highlighter-rouge">bson4gson</code> adapter. Friendlier type conversion between BSON temporal types and java numbers (int / long etc.)</li>
79
+
<li><codeclass="language-plaintext highlighter-rouge">bson4gson</code> adapter. Fix <codeclass="language-plaintext highlighter-rouge">peek()</code> method in JsonReader (<ahref="https://github.com/immutables/immutables/commit/6f1247">6f1247</a>)</li>
80
+
<li>Require Java 8</li>
84
81
</ul>
85
82
86
-
<h3>Codegen</h3>
87
-
83
+
<h3id="codegen">Codegen</h3>
88
84
<ul>
89
-
<li>Support <ahref="https://immutables.github.io/immutable.html#lazy-computation-of-hashcode">lazy hashing</a> via <code>lazyhash</code> attribute. Contrary to existing <ahref="https://immutables.github.io/immutable.html#lazy-computation-of-hashcode">prehash</a>, lazyhash would compute hashcode on first access to <code>hashCode()</code> method.</li>
90
-
<li>Changed how <code>META-INF/annotations/org.immutables.value.immutable</code> is read - disabled URLConnection caching. <ahref="https://github.com/immutables/immutables/issues/1060">PR-1060</a> from <ahref="https://github.com/canayozel">Canay ÖZEL</a></li>
91
-
<li>Set optBits for Modifiable, Default maps. <ahref="https://github.com/immutables/immutables/pull/1086">PR-1086</a> from <ahref="https://github.com/dwragge">Dylan Wragge</a></li>
85
+
<li>Support <ahref="https://immutables.github.io/immutable.html#lazy-computation-of-hashcode">lazy hashing</a> via <codeclass="language-plaintext highlighter-rouge">lazyhash</code> attribute. Contrary to existing <ahref="https://immutables.github.io/immutable.html#lazy-computation-of-hashcode">prehash</a>, lazyhash would compute hashcode on first access to <codeclass="language-plaintext highlighter-rouge">hashCode()</code> method.</li>
86
+
<li>Changed how <codeclass="language-plaintext highlighter-rouge">META-INF/annotations/org.immutables.value.immutable</code> is read - disabled URLConnection caching. <ahref="https://github.com/immutables/immutables/issues/1060">PR-1060</a> from <ahref="https://github.com/canayozel">Canay ÖZEL</a></li>
87
+
<li>Set optBits for Modifiable, Default maps. <ahref="https://github.com/immutables/immutables/pull/1086">PR-1086</a> from <ahref="https://github.com/dwragge">Dylan Wragge</a></li>
92
88
</ul>
93
89
94
-
<h3>Third party library upgrades and other dependencies</h3>
95
-
90
+
<h3id="third-party-library-upgrades-and-other-dependencies">Third party library upgrades and other dependencies</h3>
<li>Remove <codeclass="language-plaintext highlighter-rouge">utility</code> maven module (<ahref="https://github.com/immutables/immutables/issues/1089">1089</a>). All modules will
103
98
declare dependencies explicitly.</li>
104
99
</ul>
105
100
106
-
<p>Thanks to all contributors. In no particular order:
<li><ahref="/encoding.html">Encoding: Customizing attributes and builders (experimental)</a></li>
126
+
<li><ahref="/apt.html">Using annotation processor in IDE</a></li>
128
127
</ul>
129
128
130
-
<h2>Get involved</h2>
129
+
<h2id="get-involved">Get involved</h2>
131
130
132
131
<ul>
133
-
<li>Clone source repository, contribute bug reports and fixes on <ahref="https://github.com/immutables/immutables">GitHub immutables/immutables</a></li>
134
-
<li>Issue reports, questions and feedback is welcome on issue tracker <ahref="https://github.com/immutables/immutables/issues">GitHub immutables/immutables/issues</a></li>
135
-
<li>News and announcements on twitter <ahref="https://twitter.com/ImmutablesOrg">@ImmutablesOrg</a></li>
132
+
<li>Clone source repository, contribute bug reports and fixes on <ahref="https://github.com/immutables/immutables">GitHub immutables/immutables</a></li>
133
+
<li>Issue reports, questions and feedback is welcome on issue tracker <ahref="https://github.com/immutables/immutables/issues">GitHub immutables/immutables/issues</a></li>
134
+
<li>News and announcements on twitter <ahref="https://twitter.com/ImmutablesOrg">@ImmutablesOrg</a></li>
0 commit comments