Skip to content

Commit 1ade213

Browse files
p-mongop
andauthored
MONGOID-5242 Rename 7.5 release to 8.0 (#5185)
Co-authored-by: Oleg Pudeyev <[email protected]>
1 parent 07b2e7c commit 1ade213

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

source/reference/compatibility.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ specified Mongoid versions.
3333
- Driver 2.17-2.10
3434
- Driver 2.9-2.7
3535

36-
* - 7.5
36+
* - 8.0
3737
- |checkmark|
3838
-
3939

source/release-notes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Release Notes
99
.. toctree::
1010
:titlesonly:
1111

12-
release-notes/mongoid-7.5
12+
release-notes/mongoid-8.0
1313
release-notes/mongoid-7.4
1414
release-notes/mongoid-7.3
1515
release-notes/mongoid-7.2

source/release-notes/mongoid-7.5.txt renamed to source/release-notes/mongoid-8.0.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
***********
2-
Mongoid 7.5
2+
Mongoid 8.0
33
***********
44

55
.. default-domain:: mongodb
@@ -10,7 +10,7 @@ Mongoid 7.5
1010
:depth: 2
1111
:class: singlecol
1212

13-
This page describes significant changes and improvements in Mongoid 7.5.
13+
This page describes significant changes and improvements in Mongoid 8.0.
1414
The complete list of releases is available `on GitHub
1515
<https://github.com/mongodb/mongoid/releases>`_ and `in JIRA
1616
<https://jira.mongodb.org/projects/MONGOID?selectedItem=com.atlassian.jira.jira-projects-plugin:release-page>`_;
@@ -22,7 +22,7 @@ Default Option Values Changed
2222
-----------------------------
2323

2424
**Breaking change:** The following options have had their default values
25-
changed in Mongoid 7.5:
25+
changed in Mongoid 8.0:
2626

2727
- ``:broken_aggregables`` => ``false``
2828
- ``:broken_alias_handling`` => ``false``
@@ -42,13 +42,13 @@ the description and effects of each of these options.
4242
Order of Callback Invocation
4343
----------------------------
4444

45-
**Breaking change:** Mongoid 7.5 changes the order of _create and _save callback
45+
**Breaking change:** Mongoid 8.0 changes the order of _create and _save callback
4646
invocation for documents with associations.
4747

4848
Referenced associations (``has_one`` and ``has_many``):
4949

5050
+---------------------------------------+---------------------------------------+
51-
| Mongoid 7.5 | Mongoid 7.4 |
51+
| Mongoid 8.0 | Mongoid 7 |
5252
+=======================================+=======================================+
5353
| Parent :before_save | Parent :before_save |
5454
+---------------------------------------+---------------------------------------+
@@ -94,7 +94,7 @@ Referenced associations (``has_one`` and ``has_many``):
9494
Embedded associations (``embeds_one`` and ``embeds_many``):
9595

9696
+---------------------------------------+---------------------------------------+
97-
| Mongoid 7.5 | Mongoid 7.4 |
97+
| Mongoid 8.0 | Mongoid 7 |
9898
+=======================================+=======================================+
9999
| Parent :before_save | Child :before_save |
100100
+---------------------------------------+---------------------------------------+
@@ -150,7 +150,7 @@ conditions were provided, and the criteria already had an ``$or`` operator,
150150
the new conditions would be added to the existing ``$or`` as an additional
151151
branch.
152152

153-
Mongoid 7.5 behavior:
153+
Mongoid 8.0 behavior:
154154

155155
.. code-block:: ruby
156156

@@ -172,7 +172,7 @@ Mongoid 7.5 behavior:
172172
# class: Band
173173
# embedded: false>
174174

175-
Mongoid 7.4 behavior:
175+
Mongoid 7 behavior:
176176

177177
.. code-block:: ruby
178178

@@ -218,20 +218,20 @@ in ``after_*`` callbacks. This follows ActiveRecord/ActiveModel behavior.
218218
a.age = 2
219219
a.save!
220220

221-
Mongoid 7.5 output:
221+
Mongoid 8.0 output:
222222

223223
.. code-block:: ruby
224224

225225
#<Cat _id: 60aef1652c97a617438dc9bb, age: 2>
226226
2
227227

228228

229-
Mongoid 7.4 output:
229+
Mongoid 7 output:
230230

231231
.. code-block:: ruby
232232

233233
#<Cat _id: 60aef1652c97a617438dc9bb, age: 2>
234234
nil
235235

236-
Notice that in 7.4 ``attribute_was(:age)`` returns the old attribute value,
237-
while in 7.5 ``attribute_was(:age)`` returns the new value.
236+
Notice that in 7 ``attribute_was(:age)`` returns the old attribute value,
237+
while in 8.0 ``attribute_was(:age)`` returns the new value.

0 commit comments

Comments
 (0)