-
Notifications
You must be signed in to change notification settings - Fork 2.5k
feat(developermanual): move new and deprecated APIs to dedicated pages #14183
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| .. _database: | ||
|
|
||
| =============== | ||
| Database access | ||
| =============== | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| .. _deprecated-apis: | ||
|
|
||
| ============ | ||
| Deprecations | ||
| ============ | ||
|
|
||
| In order to improve our platform we are phasing out some APIs. Deprecated APIs are not removed before ???, | ||
| unless the breakage can not be avoided. | ||
|
|
||
| We highly recommend using the `Nextcloud Rector <https://packagist.org/packages/nextcloud/rector>`_ | ||
| rules, which can fix some API changes automatically. | ||
|
|
||
| .. | ||
| Add one section for each group of deprecations (e.g. group files api changes, authentication changes). | ||
| Also deprecate the feature at their dedicated documentation page. | ||
| After branch-off the contents below will be cleared. | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| ============= | ||
| Release notes | ||
| ============= | ||
|
|
||
| This section is for developers and maintainers who are familiar with an earlier version of the documentation. | ||
|
|
||
| Here we try to summarize what's new. You will find the breaking changes at :ref:`upgrade_to_34`, new deprecations at :ref:`deprecated-apis` and new API features at :ref:`new-apis`. | ||
|
|
||
| .. toctree:: | ||
| :maxdepth: 3 | ||
|
|
||
| new | ||
| deprecations | ||
| ../app_publishing_maintenance/app_upgrade_guide/upgrade_to_34 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| .. _new-apis: | ||
|
|
||
| =================== | ||
| New in this release | ||
| =================== | ||
|
|
||
| This pages covers new features of the platform. | ||
|
|
||
| .. | ||
| Add one section for each new feature. | ||
| Every feature should just have a brief description. Details have to be documented on a dedicated, persistent page. | ||
| After branch-off the contents below will be cleared. | ||
|
|
||
| Typed query builder | ||
| ------------------- | ||
|
|
||
| ``\OCP\DB\QueryBuilder\ITypedQueryBuilder`` was added in favour of ``\OCP\DB\QueryBuilder\IQueryBuilder`` and can be accessed through ``\OCP\IDBConnection::getTypedQueryBuilder``. | ||
|
|
||
| This query builder has the benefit of accurately returning the selected columns in a query result, increasing type safety. | ||
|
|
||
| .. todo:: This linked page does not have coverage for the new API. | ||
|
|
||
| See :ref:`database` for details. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.