Skip to content

Commit c6d4c19

Browse files
committed
add to upgrade guide
1 parent dbd7e91 commit c6d4c19

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

docs/upgrade.txt

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Overview
2222

2323
On this page, you can learn how to upgrade {+odm-long+} to a new major version.
2424
This page also includes the changes you must make to your application to upgrade
25-
your object-document mapper (ODM) version without losing functionality, if applicable.
25+
your version of the {+odm-short+} without losing functionality, if applicable.
2626

2727
How to Upgrade
2828
--------------
@@ -61,6 +61,19 @@ version releases that introduced them. When upgrading library versions,
6161
address all the breaking changes between your current version and the
6262
planned upgrade version.
6363

64+
- :ref:`laravel-breaking-changes-v5.x`
65+
- :ref:`laravel-breaking-changes-v4.x`
66+
67+
.. _laravel-breaking-changes-v5.x:
68+
69+
Version 5.x Breaking Changes
70+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
71+
72+
This library version introduces the following breaking changes:
73+
74+
- In query results, the library converts BSON ``UTCDateTime`` objects to ``Carbon``
75+
date, applying the default timezone.
76+
6477
.. _laravel-breaking-changes-v4.x:
6578

6679
Version 4.x Breaking Changes

0 commit comments

Comments
 (0)