Skip to content

Commit 86f0746

Browse files
authored
Merge pull request #6418 from kenjis/docs-backward_compatibility_notes
docs: add Backward Compatibility Notes
2 parents 9e1b87a + 39d1162 commit 86f0746

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
############################
2+
Backward Compatibility Notes
3+
############################
4+
5+
We try to develop our products to be as backward compatible (BC) as possible.
6+
7+
Only major releases (such as 4.0, 5.0 etc.) are allowed to break backward compatibility.
8+
Minor releases (such as 4.2, 4.3 etc.) may introduce new features, but must do so without breaking the existing API.
9+
10+
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`.
11+
12+
*****************************
13+
What are not Breaking Changes
14+
*****************************
15+
16+
- 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.

user_guide_src/source/installation/upgrading.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,17 @@ Upgrading From a Previous Version
55
Please read the upgrade notes corresponding to the version you are
66
upgrading from.
77

8+
See also :doc:`./backward_compatibility_notes`.
9+
810
.. note:: If you don't know what version of CodeIgniter you are currently running,
911
you can get it from :ref:`the Debug Toolbar <the-debug-toolbar>`,
1012
or simply echo the constant ``\CodeIgniter\CodeIgniter::CI_VERSION``.
1113

1214
.. toctree::
1315
:titlesonly:
1416

17+
backward_compatibility_notes
18+
1519
upgrade_423
1620
upgrade_422
1721
upgrade_421

0 commit comments

Comments
 (0)