You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by as...@apache.org on 2025/10/08 05:41:11 UTC

(grails-doc) branch gh-pages updated: Deploying to documentation branch - 05:41:07

This is an automated email from the ASF dual-hosted git repository.

asf-ci-deploy pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/grails-doc.git


The following commit(s) were added to refs/heads/gh-pages by this push:
     new 1fb923f4b9 Deploying to documentation branch - 05:41:07
1fb923f4b9 is described below

commit 1fb923f4b9a17c82f67a4252392493f8791efe37
Author: codeconsole <co...@users.noreply.github.com>
AuthorDate: Wed Oct 8 05:41:07 2025 +0000

    Deploying to documentation branch - 05:41:07
---
 snapshot/grails-data/developer-manual/gettingStarted.html  |  2 +-
 snapshot/grails-data/developer-manual/introduction.html    |  2 +-
 snapshot/grails-data/developer-manual/stepByStep.html      |  2 +-
 snapshot/grails-data/developer-manual/testing.html         |  2 +-
 .../grails-data/developer-manual/understandingApi.html     |  2 +-
 .../developer-manual/understandingApi/datastoreBasics.html |  2 +-
 .../developer-manual/understandingApi/gormApis.html        |  2 +-
 .../developer-manual/understandingApi/gormEnhancer.html    |  2 +-
 .../understandingApi/implementingCrud.html                 |  2 +-
 .../understandingApi/implementingQueries.html              |  2 +-
 .../understandingApi/secondaryIndexes.html                 |  2 +-
 snapshot/grails-data/whats-new-manual/index.html           |  2 +-
 snapshot/guide/pages/upgrading60x.html                     | 14 ++++++++++++++
 snapshot/guide/single.html                                 | 14 ++++++++++++++
 snapshot/guide/upgrading.html                              | 14 ++++++++++++++
 15 files changed, 54 insertions(+), 12 deletions(-)

diff --git a/snapshot/grails-data/developer-manual/gettingStarted.html b/snapshot/grails-data/developer-manual/gettingStarted.html
index 2d9c145c02..3d52e769ed 100644
--- a/snapshot/grails-data/developer-manual/gettingStarted.html
+++ b/snapshot/grails-data/developer-manual/gettingStarted.html
@@ -523,7 +523,7 @@ cd grails-core</pre>
 <div id="footer">
 <div id="footer-text">
 Version 7.0.0-SNAPSHOT<br>
-Last updated 2025-10-06 15:39:36 UTC
+Last updated 2025-10-08 05:32:27 UTC
 </div>
 </div>
 </body>
diff --git a/snapshot/grails-data/developer-manual/introduction.html b/snapshot/grails-data/developer-manual/introduction.html
index e2e69e4d60..d66bf19eb0 100644
--- a/snapshot/grails-data/developer-manual/introduction.html
+++ b/snapshot/grails-data/developer-manual/introduction.html
@@ -476,7 +476,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
 <div id="footer">
 <div id="footer-text">
 Version 7.0.0-SNAPSHOT<br>
-Last updated 2025-10-06 15:39:36 UTC
+Last updated 2025-10-08 05:32:27 UTC
 </div>
 </div>
 </body>
diff --git a/snapshot/grails-data/developer-manual/stepByStep.html b/snapshot/grails-data/developer-manual/stepByStep.html
index 8f7577373e..3270045e50 100644
--- a/snapshot/grails-data/developer-manual/stepByStep.html
+++ b/snapshot/grails-data/developer-manual/stepByStep.html
@@ -621,7 +621,7 @@ class XyzTestSuite {
 <div id="footer">
 <div id="footer-text">
 Version 7.0.0-SNAPSHOT<br>
-Last updated 2025-10-06 15:39:36 UTC
+Last updated 2025-10-08 05:32:27 UTC
 </div>
 </div>
 </body>
diff --git a/snapshot/grails-data/developer-manual/testing.html b/snapshot/grails-data/developer-manual/testing.html
index 5a02b58509..40bde37baf 100644
--- a/snapshot/grails-data/developer-manual/testing.html
+++ b/snapshot/grails-data/developer-manual/testing.html
@@ -511,7 +511,7 @@ class PagedResultSpec extends GormDatastoreSpec{
 <div id="footer">
 <div id="footer-text">
 Version 7.0.0-SNAPSHOT<br>
-Last updated 2025-10-06 15:39:36 UTC
+Last updated 2025-10-08 05:32:27 UTC
 </div>
 </div>
 </body>
diff --git a/snapshot/grails-data/developer-manual/understandingApi.html b/snapshot/grails-data/developer-manual/understandingApi.html
index 911740b9b7..f81b055beb 100644
--- a/snapshot/grails-data/developer-manual/understandingApi.html
+++ b/snapshot/grails-data/developer-manual/understandingApi.html
@@ -454,7 +454,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
 <div id="footer">
 <div id="footer-text">
 Version 7.0.0-SNAPSHOT<br>
-Last updated 2025-10-06 15:39:36 UTC
+Last updated 2025-10-08 05:32:27 UTC
 </div>
 </div>
 </body>
diff --git a/snapshot/grails-data/developer-manual/understandingApi/datastoreBasics.html b/snapshot/grails-data/developer-manual/understandingApi/datastoreBasics.html
index 30d239fcab..53997d09ad 100644
--- a/snapshot/grails-data/developer-manual/understandingApi/datastoreBasics.html
+++ b/snapshot/grails-data/developer-manual/understandingApi/datastoreBasics.html
@@ -561,7 +561,7 @@ protected Session createSession(PropertyResolver connDetails) {
 <div id="footer">
 <div id="footer-text">
 Version 7.0.0-SNAPSHOT<br>
-Last updated 2025-10-06 15:39:36 UTC
+Last updated 2025-10-08 05:32:27 UTC
 </div>
 </div>
 </body>
diff --git a/snapshot/grails-data/developer-manual/understandingApi/gormApis.html b/snapshot/grails-data/developer-manual/understandingApi/gormApis.html
index 10297a4543..481d5ea523 100644
--- a/snapshot/grails-data/developer-manual/understandingApi/gormApis.html
+++ b/snapshot/grails-data/developer-manual/understandingApi/gormApis.html
@@ -496,7 +496,7 @@ class Neo4jEntityTraitProvider implements GormEntityTraitProvider {
 <div id="footer">
 <div id="footer-text">
 Version 7.0.0-SNAPSHOT<br>
-Last updated 2025-10-06 15:39:36 UTC
+Last updated 2025-10-08 05:32:27 UTC
 </div>
 </div>
 </body>
diff --git a/snapshot/grails-data/developer-manual/understandingApi/gormEnhancer.html b/snapshot/grails-data/developer-manual/understandingApi/gormEnhancer.html
index b6dc3f7623..dad3401665 100644
--- a/snapshot/grails-data/developer-manual/understandingApi/gormEnhancer.html
+++ b/snapshot/grails-data/developer-manual/understandingApi/gormEnhancer.html
@@ -488,7 +488,7 @@ enhancer.enhance()</code></pre>
 <div id="footer">
 <div id="footer-text">
 Version 7.0.0-SNAPSHOT<br>
-Last updated 2025-10-06 15:39:36 UTC
+Last updated 2025-10-08 05:32:27 UTC
 </div>
 </div>
 </body>
diff --git a/snapshot/grails-data/developer-manual/understandingApi/implementingCrud.html b/snapshot/grails-data/developer-manual/understandingApi/implementingCrud.html
index 3fe9e2c04a..15a5b591e1 100644
--- a/snapshot/grails-data/developer-manual/understandingApi/implementingCrud.html
+++ b/snapshot/grails-data/developer-manual/understandingApi/implementingCrud.html
@@ -673,7 +673,7 @@ protected void deleteEntry(String family, final Object key, final Object entry)
 <div id="footer">
 <div id="footer-text">
 Version 7.0.0-SNAPSHOT<br>
-Last updated 2025-10-06 15:39:36 UTC
+Last updated 2025-10-08 05:32:27 UTC
 </div>
 </div>
 </body>
diff --git a/snapshot/grails-data/developer-manual/understandingApi/implementingQueries.html b/snapshot/grails-data/developer-manual/understandingApi/implementingQueries.html
index 30643262da..f9d790dea4 100644
--- a/snapshot/grails-data/developer-manual/understandingApi/implementingQueries.html
+++ b/snapshot/grails-data/developer-manual/understandingApi/implementingQueries.html
@@ -588,7 +588,7 @@ If, for instance, the underlying datastore does not support the calculation of a
 <div id="footer">
 <div id="footer-text">
 Version 7.0.0-SNAPSHOT<br>
-Last updated 2025-10-06 15:39:36 UTC
+Last updated 2025-10-08 05:32:27 UTC
 </div>
 </div>
 </body>
diff --git a/snapshot/grails-data/developer-manual/understandingApi/secondaryIndexes.html b/snapshot/grails-data/developer-manual/understandingApi/secondaryIndexes.html
index b6ffec086f..4d8bd67a56 100644
--- a/snapshot/grails-data/developer-manual/understandingApi/secondaryIndexes.html
+++ b/snapshot/grails-data/developer-manual/understandingApi/secondaryIndexes.html
@@ -526,7 +526,7 @@ If the underlying datastore supports secondary indexes then it is ok to just ret
 <div id="footer">
 <div id="footer-text">
 Version 7.0.0-SNAPSHOT<br>
-Last updated 2025-10-06 15:39:36 UTC
+Last updated 2025-10-08 05:32:27 UTC
 </div>
 </div>
 </body>
diff --git a/snapshot/grails-data/whats-new-manual/index.html b/snapshot/grails-data/whats-new-manual/index.html
index 19839e91be..37af9d10c6 100644
--- a/snapshot/grails-data/whats-new-manual/index.html
+++ b/snapshot/grails-data/whats-new-manual/index.html
@@ -527,7 +527,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
 <div id="footer">
 <div id="footer-text">
 Version 7.0.0-SNAPSHOT<br>
-Last updated 2025-10-06 15:39:36 UTC
+Last updated 2025-10-08 05:32:27 UTC
 </div>
 </div>
 </body>
diff --git a/snapshot/guide/pages/upgrading60x.html b/snapshot/guide/pages/upgrading60x.html
index be5c930caf..aa2dcb7126 100644
--- a/snapshot/guide/pages/upgrading60x.html
+++ b/snapshot/guide/pages/upgrading60x.html
@@ -995,6 +995,20 @@ tasks.withType(JavaExec).configureEach {
 </div>
 </div>
 </div>
+<div class="sect4">
+<h5 id="_12_24_mongodb">12.24 MongoDB</h5>
+<div class="paragraph">
+<p><code>Instant</code> persistence switched from epoch milliseconds (BSON int64) to BSON DateTime (same BSON type as <code>java.util.Date</code>); <code>LocalDateTime</code> continues to be converted to BSON DateTime using the configured zone. If you currently using domain objects with property type <code>Instant</code>, you will need to convert them prior to upgrading. For more info, see <a href="https://github.com/apache/grails-core/pull/15111">#15111</a>.</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="javascript">db.Example.updateMany(
+  { <span class="key">created</span>: { <span class="predefined">$type</span>: <span class="string"><span class="delimiter">&quot;</span><span class="content">long</span><span class="delimiter">&quot;</span></span> } },
+  [ { <span class="predefined">$set</span>: { <span class="key">created</span>: { <span class="predefined">$toDate</span>: <span class="string"><span class="delimiter">&quot;</span><span class="content">$created</span><span class="delimiter">&quot;</span></span> } } } ]
+);</code></pre>
+</div>
+</div>
+</div>
 </div>
 </div>
 
diff --git a/snapshot/guide/single.html b/snapshot/guide/single.html
index 503979df7b..c58971ccc1 100644
--- a/snapshot/guide/single.html
+++ b/snapshot/guide/single.html
@@ -3168,6 +3168,20 @@ tasks.withType(JavaExec).configureEach {
 </div>
 </div>
 </div>
+<div class="sect4">
+<h5 id="_12_24_mongodb">12.24 MongoDB</h5>
+<div class="paragraph">
+<p><code>Instant</code> persistence switched from epoch milliseconds (BSON int64) to BSON DateTime (same BSON type as <code>java.util.Date</code>); <code>LocalDateTime</code> continues to be converted to BSON DateTime using the configured zone. If you currently using domain objects with property type <code>Instant</code>, you will need to convert them prior to upgrading. For more info, see <a href="https://github.com/apache/grails-core/pull/15111">#15111</a>.</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="javascript">db.Example.updateMany(
+  { <span class="key">created</span>: { <span class="predefined">$type</span>: <span class="string"><span class="delimiter">&quot;</span><span class="content">long</span><span class="delimiter">&quot;</span></span> } },
+  [ { <span class="predefined">$set</span>: { <span class="key">created</span>: { <span class="predefined">$toDate</span>: <span class="string"><span class="delimiter">&quot;</span><span class="content">$created</span><span class="delimiter">&quot;</span></span> } } } ]
+);</code></pre>
+</div>
+</div>
+</div>
 </div>
 </div>
 
diff --git a/snapshot/guide/upgrading.html b/snapshot/guide/upgrading.html
index 1e01cef116..822936557c 100644
--- a/snapshot/guide/upgrading.html
+++ b/snapshot/guide/upgrading.html
@@ -1024,6 +1024,20 @@ tasks.withType(JavaExec).configureEach {
 </div>
 </div>
 </div>
+<div class="sect4">
+<h5 id="_12_24_mongodb">12.24 MongoDB</h5>
+<div class="paragraph">
+<p><code>Instant</code> persistence switched from epoch milliseconds (BSON int64) to BSON DateTime (same BSON type as <code>java.util.Date</code>); <code>LocalDateTime</code> continues to be converted to BSON DateTime using the configured zone. If you currently using domain objects with property type <code>Instant</code>, you will need to convert them prior to upgrading. For more info, see <a href="https://github.com/apache/grails-core/pull/15111">#15111</a>.</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="javascript">db.Example.updateMany(
+  { <span class="key">created</span>: { <span class="predefined">$type</span>: <span class="string"><span class="delimiter">&quot;</span><span class="content">long</span><span class="delimiter">&quot;</span></span> } },
+  [ { <span class="predefined">$set</span>: { <span class="key">created</span>: { <span class="predefined">$toDate</span>: <span class="string"><span class="delimiter">&quot;</span><span class="content">$created</span><span class="delimiter">&quot;</span></span> } } } ]
+);</code></pre>
+</div>
+</div>
+</div>
 </div>
 </div>