From ec346168934d615cb0b06070ec7851c7c6603d84 Mon Sep 17 00:00:00 2001 From: Rachel Mackintosh Date: Wed, 23 Jul 2025 11:52:08 -0400 Subject: [PATCH] update release notes --- source/reference/release-notes.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/reference/release-notes.txt b/source/reference/release-notes.txt index 0a4a08f..263adf9 100644 --- a/source/reference/release-notes.txt +++ b/source/reference/release-notes.txt @@ -149,15 +149,15 @@ Removal of Deprecated Class ``Mongoid::Errors::InvalidStorageParent`` The deprecated class ``{+odm+}::Errors::InvalidStorageParent`` has been removed. -``around_*`` Callbacks for Embedded Documents are Ignored -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +``around_*`` Callbacks for Embedded Documents are Ignored by Default +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {+odm+} v8.x and older allow user to define ``around_*`` callbacks for embedded -documents. Starting in v9.0, these callbacks are ignored and will not be executed. -A warning will be printed to the console if such callbacks are defined. +documents. Starting in v9.0, by default these callbacks are ignored and will +not be executed. A warning will be printed to the console if such callbacks are defined. If you want to restore the old behavior, you can set -``Mongoid.around_embedded_document_callbacks`` to true in your application. +``Mongoid.around_callbacks_for_embeds`` to true in your application. .. note::