From f686c252c1753386c50298dde0287c76dd628c8e Mon Sep 17 00:00:00 2001 From: kenjis Date: Thu, 6 Jan 2022 13:33:16 +0900 Subject: [PATCH] docs: add changelogs/v4.2.0 --- user_guide_src/source/changelogs/index.rst | 1 + user_guide_src/source/changelogs/v4.2.0.rst | 39 +++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 user_guide_src/source/changelogs/v4.2.0.rst diff --git a/user_guide_src/source/changelogs/index.rst b/user_guide_src/source/changelogs/index.rst index 74e782cb3508..da5ac2994d92 100644 --- a/user_guide_src/source/changelogs/index.rst +++ b/user_guide_src/source/changelogs/index.rst @@ -12,6 +12,7 @@ See all the changes. .. toctree:: :titlesonly: + v4.2.0 v4.1.7 v4.1.6 v4.1.5 diff --git a/user_guide_src/source/changelogs/v4.2.0.rst b/user_guide_src/source/changelogs/v4.2.0.rst new file mode 100644 index 000000000000..c4722995961a --- /dev/null +++ b/user_guide_src/source/changelogs/v4.2.0.rst @@ -0,0 +1,39 @@ +Version 4.2.0 +############# + +Release Date: Not Released + +**4.2.0 release of CodeIgniter4** + +.. contents:: + :local: + :depth: 2 + +BREAKING +******** + + + +Enhancements +************ + +- Content Security Policy (CSP) enhancements + - Added the configs ``$scriptNonceTag`` and ``$styleNonceTag`` in ``Config\ContentSecurityPolicy`` to customize the CSP placeholders (``{csp-script-nonce}`` and ``{csp-style-nonce}``) + - Added the config ``$autoNonce`` in ``Config\ContentSecurityPolicy`` to disable the CSP placeholder replacement + - Added the functions ``csp_script_nonce()`` and ``csp_style_nonce()`` to get nonce attributes + - See :ref:`content-security-policy` for details. + +Changes +******* + +- The current version of Content Security Policy (CSP) outputs one nonce for script and one for style tags. The previous version outputted one nonce for each tag. + +Deprecations +************ + + + +Bugs Fixed +********** + +See the repo's `CHANGELOG.md `_ for a complete list of bugs fixed.