-
Notifications
You must be signed in to change notification settings - Fork 1.5k
DOCSP-35933: Upgrade version guide #2755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with a few suggestions
docs/upgrade.txt
Outdated
- ``whereDate``, ``whereDay``, ``whereMonth``, ``whereYear``, ``whereTime`` | ||
now use MongoDB operators on date fields | ||
A breaking change is a modification in a convention or behavior in | ||
a specific version of {+odm-short+} that may prevent your application from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a specific version of {+odm-short+} that may prevent your application from | |
a specific version of {+odm-short+} that might prevent your application from |
docs/upgrade.txt
Outdated
=================== | ||
|
||
.. facet:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add the "on this page" directive for the right nav? I think that would be helpful if someone's looking for a certain version
docs/upgrade.txt
Outdated
- ``Query\Builder::delete()`` can only delete one or all documents. Ensure that you only pass a value | ||
of ``1`` or ``null`` to ``limit()``. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The use of "only" is a bit tricky here. I think this gets the point across and removes some of the "only" ambiguity.
- ``Query\Builder::delete()`` can only delete one or all documents. Ensure that you only pass a value | |
of ``1`` or ``null`` to ``limit()``. | |
- ``Query\Builder::delete()`` can delete one or all documents. Ensure that you pass only the values | |
``1`` or ``null`` to ``limit()``. |
docs/upgrade.txt
Outdated
- Removes support for the ``Query\Builder``: ``toSql``, | ||
``toRawSql``, ``whereColumn``, ``whereFullText``, ``groupByRaw``, | ||
``orderByRaw``, ``unionAll``, ``union``, ``having``, ``havingRaw``, | ||
``havingBetween``, ``whereIntegerInRaw``, ``orWhereIntegerInRaw``, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this might work better as a list so it's not such a big block of methods:
- Removes support for the ``Query\Builder``: ``toSql``, | |
``toRawSql``, ``whereColumn``, ``whereFullText``, ``groupByRaw``, | |
``orderByRaw``, ``unionAll``, ``union``, ``having``, ``havingRaw``, | |
``havingBetween``, ``whereIntegerInRaw``, ``orWhereIntegerInRaw``, | |
Removes support for the following ``Query\Builder`` methods: | |
- ``toSql`` | |
... | |
... | |
…ravel-mongodb into DOCSP-35933-upgrade-version
JIRA - https://jira.mongodb.org/browse/DOCSP-35933
Staging - https://preview-mongodbnorareidy.gatsbyjs.io/laravel/DOCSP-35933-staging/upgrade/
Checklist