Skip to content
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

4.4.7 Ready code #8675

Merged
merged 190 commits into from
Mar 29, 2024
Merged
Changes from 2 commits
Commits
Show all changes
190 commits
Select commit Hold shift + click to select a range
54a83ba
test: remove date() dependency.
ping-yee Jan 28, 2024
37f7c5f
docs: add "What are Configuration Classes?"
kenjis Feb 20, 2024
5c8bc03
docs: remove misleading description
kenjis Feb 20, 2024
631879e
docs: add changelog and upgrade for v4.4.7
kenjis Feb 24, 2024
1201e28
chore: remove unnecessary command
kenjis Feb 24, 2024
07c787c
Merge pull request #8576 from kenjis/docs-changelog-4.4.7
kenjis Feb 24, 2024
d0b1366
Merge pull request #8577 from kenjis/update-prepare-release.php
kenjis Feb 24, 2024
609be52
style: enable `phpdoc_array_type` (#8580)
paulbalandan Feb 25, 2024
ad11363
style: also align `@phpstan-type` and `@phpstan-var` (#8551)
paulbalandan Feb 25, 2024
06353a4
style: Enable `phpdoc_list_type` fixer
paulbalandan Feb 9, 2024
a718427
Merge pull request #8530 from paulbalandan/phpdoc-list-type
kenjis Feb 26, 2024
aa1775c
docs: add @psalm-suppress UndefinedDocblockClass
kenjis Feb 26, 2024
c5e8b3e
chore: update psalm-baseline.xml
kenjis Feb 26, 2024
4d5c35c
Merge pull request #8584 from kenjis/suppress-psalm-errors
kenjis Feb 26, 2024
dffb0bb
Fix docstring on `TestResponse.assertNotOk()`
rahmatnazali Feb 26, 2024
3959a94
test: remove meaningless test
kenjis Feb 26, 2024
29717da
docs: add @internal
kenjis Feb 26, 2024
8d281e2
Merge pull request #8585 from rahmatnazali/patch-1
kenjis Feb 26, 2024
03c3ca3
docs: add empty lines
kenjis Feb 26, 2024
0539297
docs: break long lines
kenjis Feb 26, 2024
25fb054
docs: add description
kenjis Feb 26, 2024
8b1e3a0
docs: add empty lines
kenjis Feb 26, 2024
1684206
docs: break long lines
kenjis Feb 26, 2024
6615763
docs: fix description
kenjis Feb 26, 2024
a5be00b
docs: fix misleading description and add note
kenjis Feb 26, 2024
78edddf
docs: Fix typo in Toolbar.php
melroy89 Feb 27, 2024
9894b92
Merge pull request #8588 from melroy89/docs_fix_typo
kenjis Feb 27, 2024
e60466d
fix: ErrorException is thrown if getimagesize() returns false
kenjis Feb 27, 2024
9da0f4f
test: remove the time depandency.
ping-yee Feb 27, 2024
591e8fa
test: remove the time depandency at redirectExceptionTest.php
ping-yee Feb 27, 2024
549db02
test: fix tests that fails on Feb 29
kenjis Feb 29, 2024
a14ea36
test: remove unnecessary timezone America/Chicago
kenjis Feb 29, 2024
e70b389
fix: isWriteType() to recognize CTE; [Postgre] allow beginning whites…
markconnellypro Mar 2, 2024
ad4d54d
Fix linting errors in tests
markconnellypro Mar 2, 2024
8b05cde
Refine isWriteType regex between WITH and other operation keyword
markconnellypro Mar 2, 2024
64c461f
fix: duplicate Cache-Control header with Session
kenjis Mar 2, 2024
a820445
test: make time testable.
ping-yee Mar 3, 2024
f70786e
Merge pull request #8471 from ping-yee/240128_loggerTest
kenjis Mar 4, 2024
123d987
Separate each test into its own function;
markconnellypro Mar 4, 2024
8e1f62f
Remove RETURNING from testInsertMulti()
markconnellypro Mar 4, 2024
d2c6162
Fix rector errors in tests
markconnellypro Mar 4, 2024
b0dd905
Change testAssertTypeReturning to testReturning; remove dynamic $asse…
markconnellypro Mar 4, 2024
feb7f81
Remove isWriteType override for Postgre;
markconnellypro Mar 4, 2024
6581e61
chore(deps-dev): update rector/rector requirement from 1.0.1 to 1.0.2
dependabot[bot] Mar 4, 2024
efb3816
Merge pull request #8608 from codeigniter4/dependabot/composer/rector…
samsonasik Mar 4, 2024
a30e130
docs: fix by proofreading
kenjis Mar 5, 2024
00c2ab9
Merge pull request #8592 from kenjis/fix-ErrorException-FileRules
kenjis Mar 5, 2024
67436e3
Merge pull request #8586 from kenjis/remove-TestCaseTest-testPHPUnitH…
kenjis Mar 5, 2024
4c7ca62
Merge pull request #8587 from kenjis/docs-improve-model-entity
kenjis Mar 5, 2024
a99787c
Merge pull request #8593 from kenjis/test-fix-TimeTest
kenjis Mar 5, 2024
fd28a3f
Merge pull request #8599 from markconnellypro/database-isWriteType
kenjis Mar 7, 2024
731e891
docs: add/fix PHPDoc types
kenjis Mar 8, 2024
d709e85
fix: [DebugBar] scroll to top on open/close
ddevsr Mar 1, 2024
91c3c59
change all href to role button
ddevsr Mar 2, 2024
e2c488b
style css and run sass
ddevsr Mar 2, 2024
1ceafd6
just element anchor in role button
ddevsr Mar 2, 2024
0fc5485
fix: make css button for vars
ddevsr Mar 8, 2024
bcb88b4
Merge pull request #8601 from kenjis/fix-duplicate-cache-control-header
kenjis Mar 9, 2024
9342e38
Merge pull request #8612 from kenjis/fix-MockCache-phpstan-errors
kenjis Mar 10, 2024
e6052cf
Merge pull request #8595 from ddevsr/debug-bar-scroll-top
kenjis Mar 10, 2024
ee1eb7c
fix: save() does not determine that data with an empty string id is a…
kenjis Mar 10, 2024
c85cd6d
test: ensure cleanup of sqlite3 db files after test
paulbalandan Dec 30, 2023
25e3a74
refactor: Replace PHP_VERSION by PHP_VERSION_ID
justbyitself Mar 11, 2024
6bcd101
chore: add version-compare-func-call-to-constant rule
justbyitself Mar 11, 2024
f3e5391
refactor: apply cs-fix and rector
justbyitself Mar 11, 2024
de073e2
Merge pull request #8618 from justbyitself/patch-2
samsonasik Mar 12, 2024
0207700
refactor: apply early return pattern
justbyitself Mar 12, 2024
647d20b
refactor: apply early return pattern (fix)
justbyitself Mar 12, 2024
dffec7f
chore(deps-dev): update rector/rector requirement from 1.0.2 to 1.0.3
dependabot[bot] Mar 14, 2024
e55d478
Merge pull request #8625 from codeigniter4/dependabot/composer/rector…
samsonasik Mar 14, 2024
a87fd14
Merge pull request #8614 from kenjis/fix-model-save-empty-id
kenjis Mar 15, 2024
c7c6ff0
chore: update test-deptrac.yml
kenjis Mar 15, 2024
58aa732
Merge pull request #8627 from kenjis/fix-test-deptrac.yml
kenjis Mar 15, 2024
9c38271
refactor: move footer info to top
kenjis Mar 14, 2024
89f7ede
fix: remove invalid letter-spacing
kenjis Mar 15, 2024
93fe3ad
refactor: remove redundant rem
kenjis Mar 15, 2024
2f009ca
refactor: tweaks css
kenjis Mar 15, 2024
50409e8
refactor: remove border-top
kenjis Mar 15, 2024
199e385
docs: add upgrade_447
kenjis Mar 15, 2024
d894567
refactor: add padding to environment class
kenjis Mar 15, 2024
5516b73
Update test-deptrac.yml
ddevsr Mar 15, 2024
aeafd03
Merge pull request #8621 from justbyitself/refactor-1
MGatner Mar 15, 2024
bbb9542
Merge pull request #8628 from ddevsr/patch-1
MGatner Mar 15, 2024
c190334
Merge pull request #8626 from kenjis/refactor-error_exception.php
kenjis Mar 15, 2024
176a50f
Update connection docs with information on how to connect to a MySQL …
tangix Mar 15, 2024
5750dc8
Update user_guide_src/source/database/configuration/011.php
tangix Mar 16, 2024
343cc45
Applied kenjis' changes
tangix Mar 16, 2024
2ae6628
Applied them again...
tangix Mar 16, 2024
985ac9f
Merge pull request #8393 from paulbalandan/leftover-db-files
kenjis Mar 18, 2024
b8adef6
Merge pull request #8563 from kenjis/docs-about-config-classes
kenjis Mar 18, 2024
9a5d200
chore: enable checkMissingIterableValueType
kenjis Mar 18, 2024
fd6d674
Merge pull request #8629 from tangix/update-db-docs-socket
kenjis Mar 18, 2024
c1518a2
docs: move content in table to section below
kenjis Mar 18, 2024
1009b8f
docs: list available drivers first
kenjis Mar 18, 2024
6931822
docs: move MySQLi description up
kenjis Mar 18, 2024
d7d1fde
chore: update workflow.md
ddevsr Mar 19, 2024
5ebe2b7
refactor: improve Validation error message for placeholder
kenjis Mar 20, 2024
56990e6
docs: improve note for Validation placeholder
kenjis Mar 20, 2024
8130587
Merge pull request #8631 from kenjis/enable-phpstan-checkMissingItera…
kenjis Mar 20, 2024
c9a1bfe
esc() for 'raw' context (Fixes #8624)
Cleric-K Mar 18, 2024
4ee9de3
note `HEAD~3`
ddevsr Mar 20, 2024
6cf4c3f
Update contributing/workflow.md
ddevsr Mar 20, 2024
41b593d
Small docs typo in news_section.rst file.
Mar 20, 2024
7a2da33
Merge pull request #8641 from obozdag/patch-1
kenjis Mar 20, 2024
4282c7a
docs: replace empty()
kenjis Mar 21, 2024
a7fc049
docs: rename news to news_list
kenjis Mar 21, 2024
ae0eb2f
docs: add typehint to controller methods
kenjis Mar 21, 2024
79f51a8
docs: add PHPDoc types
kenjis Mar 21, 2024
31b484f
docs: make description more accurate
kenjis Mar 21, 2024
f7144e8
chore: add admin/starter/tests to check
kenjis Mar 21, 2024
4dfc0ef
chore: remove ignoreErrors in app/
kenjis Mar 21, 2024
39dab46
docs: small typo in static_pages.rst
Mar 21, 2024
c0a495b
test: add return void to sample test code in appstarter
kenjis Mar 21, 2024
0226cc2
docs: update array types in @var
kenjis Mar 21, 2024
a0600be
docs: update/add PHPDoc types
kenjis Mar 21, 2024
4e5bf5a
chore: update phpstan-baseline.php
kenjis Mar 21, 2024
7109931
Merge pull request #8644 from obozdag/patch-3
kenjis Mar 21, 2024
f36f999
chore: add phpstan check to tests/
kenjis Mar 21, 2024
ec6f198
chore: vendor/bin/phpstan analyze --generate-baseline phpstan-baselin…
kenjis Mar 21, 2024
8aa7a0a
docs: replace string with class-string
kenjis Mar 21, 2024
02b0ac8
docs: remove redundant comments
kenjis Mar 21, 2024
1c02496
chore: remove unnecessary if check
samsonasik Mar 21, 2024
0d68bad
regenerate phsptan baseline
samsonasik Mar 21, 2024
ae0e455
Merge pull request #8648 from samsonasik/chore-remove-unnecessary-if-…
kenjis Mar 22, 2024
fe29651
docs: Small typo in factories.rst
Mar 22, 2024
8f4e848
Merge pull request #8651 from obozdag/patch-5
kenjis Mar 22, 2024
da4861c
Merge pull request #8633 from Cleric-K/develop
kenjis Mar 22, 2024
ca58194
docs: fix incorrect description and add warning
kenjis Mar 23, 2024
fa6cb54
docs: improve readability of comments
kenjis Mar 23, 2024
fc02e49
docs: fix wording
kenjis Mar 23, 2024
6bde439
docs: fix PHPDoc types for Filters
kenjis Mar 23, 2024
cfb0e35
chore: Enable rector cache
samsonasik Mar 23, 2024
4a5b556
test commit to verify cache read
samsonasik Mar 23, 2024
f304d95
set cache directory
samsonasik Mar 23, 2024
5b2bf13
set cache directory
samsonasik Mar 23, 2024
faad1fc
update key cache
samsonasik Mar 23, 2024
178c403
update restore key cache
samsonasik Mar 23, 2024
2192356
trigger
samsonasik Mar 23, 2024
ec54a6b
combine paths
samsonasik Mar 23, 2024
eebfaa4
read rector cache
samsonasik Mar 23, 2024
f82dc32
Merge pull request #8655 from samsonasik/rector-cache
samsonasik Mar 23, 2024
6546018
Merge pull request #8654 from kenjis/fix-phpdoc-filters
kenjis Mar 24, 2024
1c1aefd
Merge pull request #8636 from ddevsr/patch-1
kenjis Mar 24, 2024
2c829f3
Merge pull request #8645 from kenjis/fix-phpstan-errors-in-app-and-tests
kenjis Mar 24, 2024
2636541
docs: add @TODO
kenjis Mar 25, 2024
5211abf
Merge pull request #8634 from kenjis/docs-improve-db-config
kenjis Mar 25, 2024
446aa0b
Merge pull request #8639 from kenjis/improve-validation-error-msg
kenjis Mar 25, 2024
4dc10d3
Merge pull request #8642 from kenjis/docs-improve-news-tutorial
kenjis Mar 25, 2024
114f3ce
Merge pull request #8646 from kenjis/add-phpstan-check-tests
kenjis Mar 25, 2024
683cd5b
chore: vendor/bin/phpstan analyze --generate-baseline phpstan-baselin…
kenjis Mar 25, 2024
b2d0197
Merge pull request #8658 from kenjis/fix-phpstan-baseline
kenjis Mar 26, 2024
a8d1a89
Merge pull request #8653 from kenjis/fix-curlrequest.rst
kenjis Mar 26, 2024
1b45971
docs: update 2024 for copyright
datamweb Mar 26, 2024
d8e4de2
Merge pull request #8663 from datamweb/copyright-2024
MGatner Mar 26, 2024
b82b622
chore: add config to prlint.json
kenjis Mar 27, 2024
fb3d530
docs: fix section title marks
kenjis Mar 27, 2024
43b81c4
docs: add empty line
kenjis Mar 27, 2024
9f9634a
docs: add explanation
kenjis Mar 27, 2024
d99eba7
docs: replace description
kenjis Mar 27, 2024
9cf14e3
fix: Time::difference() DST bug
kenjis Mar 26, 2024
bb201e6
docs: add empty line
kenjis Mar 26, 2024
8a8a67c
docs: add note for DST and Time::difference()
kenjis Mar 26, 2024
6ae5743
docs: add changelog and upgrade
kenjis Mar 27, 2024
f99ca6a
docs: fix coding style
kenjis Mar 27, 2024
429fd91
docs: update link to PHP manual
kenjis Mar 27, 2024
db187b2
docs: add more sample code
kenjis Mar 27, 2024
2f16e3d
chore: add revert to prlint.json
kenjis Mar 27, 2024
e22b0c5
Merge pull request #8665 from kenjis/update-prlint
kenjis Mar 28, 2024
1046de8
Merge pull request #8666 from kenjis/docs-autoloader.rst
kenjis Mar 28, 2024
2929801
docs: fix incorrect doc comment
kenjis Mar 28, 2024
3e34865
fix: Model::set() does not accept object
kenjis Mar 28, 2024
2a63810
Merge pull request #8668 from kenjis/docs-time
kenjis Mar 28, 2024
87652c9
Merge pull request #8656 from kenjis/add-comments-to-PDO_PGSQL-DSN
kenjis Mar 28, 2024
8e64913
Merge pull request #8661 from kenjis/fix-time-diff-DST
kenjis Mar 29, 2024
404e50b
Merge pull request #8670 from kenjis/fix-model-set-entity
kenjis Mar 29, 2024
4a58d24
test: add tests for URI paths
kenjis Mar 15, 2024
7f0cab1
fix: Language does not throw exception
kenjis Mar 15, 2024
4d6b45b
fix: add missing URI Security and Conig\App::$permittedURIChars
kenjis Mar 15, 2024
99daaa4
docs: add link to Security Advisory on GitHub
kenjis Mar 17, 2024
1c65aa1
fix: improve log message
kenjis Mar 22, 2024
03ec3ff
refactor: use \A and \z
kenjis Mar 24, 2024
ecc3a1e
docs: add sub section "Adding Permitted Characters"
kenjis Mar 24, 2024
7ef2161
docs: add `**Language:**` for consistency
kenjis Mar 24, 2024
01a5624
test: add test for URI path
kenjis Mar 23, 2024
8745b20
fix: Filters does not decode URI path
kenjis Mar 24, 2024
eaecd08
docs: add link to Wikipedia’s Unicode block
kenjis Mar 26, 2024
a3572a7
chore: update phpstan-baseline.php
kenjis Mar 26, 2024
fa851ac
Merge pull request from GHSA-39fp-mqmm-gxj6
kenjis Mar 29, 2024
4708e7a
Prep for 4.4.7 release
kenjis Mar 29, 2024
e73db00
Merge pull request #8674 from kenjis/release-4.4.7
kenjis Mar 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Changelog

## [v4.4.7](https://github.com/codeigniter4/CodeIgniter4/tree/v4.4.7) (2024-03-29)
[Full Changelog](https://github.com/codeigniter4/CodeIgniter4/compare/v4.4.6...v4.4.7)

### Breaking Changes
* fix: Time::difference() DST bug by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8661

### Fixed Bugs
* fix: [Validation] FileRules cause error if getimagesize() returns false by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8592
* fix: isWriteType() to recognize CTE; always excluding RETURNING by @markconnellypro in https://github.com/codeigniter4/CodeIgniter4/pull/8599
* fix: duplicate Cache-Control header with Session by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8601
* fix: [DebugBar] scroll to top by @ddevsr in https://github.com/codeigniter4/CodeIgniter4/pull/8595
* fix: Model::shouldUpdate() logic by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8614
* fix: esc() for 'raw' context by @Cleric-K in https://github.com/codeigniter4/CodeIgniter4/pull/8633
* docs: fix incorrect CURLRequest allow_redirects description by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8653
* fix: Model::set() does not accept object by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8670

### Refactoring
* refactor: replace PHP_VERSION by PHP_VERSION_ID by @justbyitself in https://github.com/codeigniter4/CodeIgniter4/pull/8618
* refactor: apply early return pattern by @justbyitself in https://github.com/codeigniter4/CodeIgniter4/pull/8621
* refactor: move footer info to top in error_exception.php by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8626

## [v4.4.6](https://github.com/codeigniter4/CodeIgniter4/tree/v4.4.6) (2024-02-24)
[Full Changelog](https://github.com/codeigniter4/CodeIgniter4/compare/v4.4.5...v4.4.6)

2 changes: 1 addition & 1 deletion phpdoc.dist.xml
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
<output>api/build/</output>
<cache>api/cache/</cache>
</paths>
<version number="4.4.6">
<version number="4.4.7">
<api format="php">
<source dsn=".">
<path>system</path>
2 changes: 1 addition & 1 deletion system/CodeIgniter.php
Original file line number Diff line number Diff line change
@@ -54,7 +54,7 @@ class CodeIgniter
/**
* The current version of CodeIgniter Framework
*/
public const CI_VERSION = '4.4.6';
public const CI_VERSION = '4.4.7';

/**
* App startup time.
14 changes: 1 addition & 13 deletions user_guide_src/source/changelogs/v4.4.7.rst
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
Version 4.4.7
#############

Release Date: Unreleased
Release Date: March 29, 2024

**4.4.7 release of CodeIgniter4**

@@ -33,18 +33,6 @@ BREAKING
hours due to Daylight Saving Time (DST). This bug has been fixed. See
:ref:`Note in Times and Dates <time-viewing-differences>` for details.

***************
Message Changes
***************

*******
Changes
*******

************
Deprecations
************

**********
Bugs Fixed
**********
2 changes: 1 addition & 1 deletion user_guide_src/source/conf.py
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@
version = '4.4'

# The full version, including alpha/beta/rc tags.
release = '4.4.6'
release = '4.4.7'

# -- General configuration ---------------------------------------------------

22 changes: 16 additions & 6 deletions user_guide_src/source/installation/upgrade_447.rst
Original file line number Diff line number Diff line change
@@ -89,10 +89,6 @@ In the unlikely event that you wish to maintain the behavior of the previous
versions, change the time zone of both dates being compared to UTC before passing
them to ``Time::difference()``.

*********************
Breaking Enhancements
*********************

*************
Project Files
*************
@@ -115,12 +111,26 @@ Config
- app/Config/App.php
- The property ``$permittedURIChars`` was added. See :ref:`urls-uri-security`
for details.
- @TODO

All Changes
===========

This is a list of all files in the **project space** that received changes;
many will be simple comments or formatting that have no effect on the runtime:

- @TODO
- app/Config/Cache.php
- app/Config/ContentSecurityPolicy.php
- app/Config/Database.php
- app/Config/Exceptions.php
- app/Config/Filters.php
- app/Config/Format.php
- app/Config/Logger.php
- app/Config/Mimes.php
- app/Config/Routing.php
- app/Config/Toolbar.php
- app/Config/Validation.php
- app/Config/View.php
- app/Controllers/BaseController.php
- app/Views/errors/html/debug.css
- app/Views/errors/html/error_exception.php
- composer.json
Loading