Skip to content

Commit 26b81ed

Browse files
committed
chore: document removal of OC.get and OC.set
Signed-off-by: Ferdinand Thiessen <[email protected]>
1 parent 15b82da commit 26b81ed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_33.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ Removed APIs
2626
- The global ``md5`` implementation is removed. It was deprecated since Nextcloud 20 and not used by Nextcloud anymore.
2727
If you still need a ``md5`` implementation you can just use some external package like `crypto-browserify <https://www.npmjs.com/package/crypto-browserify>`_.
2828
- The ``OC.SystemTags`` api was removed. If you need to get the list of system tags, check `this merge request <https://github.com/nextcloud/files_retention/pull/855>`_ for how to fetch the tags directly.
29+
- ``OC.set`` and ``OC.get`` were removed. Both are deprecated since Nextcloud 19.
30+
For ``get``, if really needed, use `lodash get <https://lodash.com/docs#get>`_.
31+
And for ``set``, use `lodash set <https://lodash.com/docs#set>`_.
2932
- The `OCA.Sharing.ExternalLinkActions` API was deprecated in Nextcloud 23 and is now removed.
3033
It was replaced with `OCA.Sharing.ExternalShareAction` which now have a proper API by using `registerSidebarAction` from `@nextcloud/sharing` instead.
3134

0 commit comments

Comments
 (0)