Skip to content

Commit

Permalink
docs: add Backward Compatibility Notes
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Aug 24, 2022
1 parent 9546098 commit 39d1162
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
############################
Backward Compatibility Notes
############################

We try to develop our products to be as backward compatible (BC) as possible.

Only major releases (such as 4.0, 5.0 etc.) are allowed to break backward compatibility.
Minor releases (such as 4.2, 4.3 etc.) may introduce new features, but must do so without breaking the existing API.

However, the code is not mature and bug fixes may break compatibility in minor releases, or even in patch releases (such as 4.2.5). In that case, all the breaking changes are described in the :doc:`../changelogs/index`.

*****************************
What are not Breaking Changes
*****************************

- System messages defined in **system/Language/en/** are strictly for internal framework use and are not covered by backwards compatibility (BC) promise. If developers are relying on language string output they should be checking it against the function call (``lang('...')``), not the content.
4 changes: 4 additions & 0 deletions user_guide_src/source/installation/upgrading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,17 @@ Upgrading From a Previous Version
Please read the upgrade notes corresponding to the version you are
upgrading from.

See also :doc:`./backward_compatibility_notes`.

.. note:: If you don't know what version of CodeIgniter you are currently running,
you can get it from :ref:`the Debug Toolbar <the-debug-toolbar>`,
or simply echo the constant ``\CodeIgniter\CodeIgniter::CI_VERSION``.

.. toctree::
:titlesonly:

backward_compatibility_notes

upgrade_423
upgrade_422
upgrade_421
Expand Down

0 comments on commit 39d1162

Please sign in to comment.