Skip to content

Commit e134990

Browse files
authored
Merge pull request #8719 from codeigniter4/develop
4.4.8 Ready code
2 parents fd3da67 + 796cb8e commit e134990

File tree

107 files changed

+1453
-742
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+1453
-742
lines changed

.gitattributes

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,33 @@
55

66
# git files
77
.gitattributes export-ignore
8-
.gitignore export-ignore
8+
.gitignore export-ignore
99

10-
# Don't give admin files
11-
.github/ export-ignore
12-
admin/ export-ignore
13-
contributing/ export-ignore
14-
.editorconfig export-ignore
15-
.nojekyll export-ignore
10+
# admin files
11+
.github/ export-ignore
12+
admin/ export-ignore
13+
contributing/ export-ignore
14+
.editorconfig export-ignore
1615
CODE_OF_CONDUCT.md export-ignore
17-
CONTRIBUTING.md export-ignore
16+
CONTRIBUTING.md export-ignore
1817

19-
# They don't want our test files
20-
tests/AutoReview/ export-ignore
21-
tests/system/ export-ignore
22-
utils/ export-ignore
23-
deptrac.yaml export-ignore
24-
rector.php export-ignore
25-
phpunit.xml.dist export-ignore
26-
phpstan-baseline.neon.dist export-ignore
27-
phpstan.neon.dist export-ignore
28-
phpstan-bootstrap.php export-ignore
29-
.php-cs-fixer.dist.php export-ignore
30-
.php-cs-fixer.no-header.php export-ignore
18+
# contributor/development files
19+
tests/ export-ignore
20+
utils/ export-ignore
21+
.php-cs-fixer.dist.php export-ignore
22+
.php-cs-fixer.no-header.php export-ignore
3123
.php-cs-fixer.user-guide.php export-ignore
24+
deptrac.yaml export-ignore
25+
phpstan-baseline.neon.dist export-ignore
26+
phpstan-bootstrap.php export-ignore
27+
phpstan.neon.dist export-ignore
28+
phpunit.xml.dist export-ignore
29+
psalm_autoload.php export-ignore
30+
psalm-baseline.php export-ignore
31+
psalm.xml export-ignore
32+
rector.php export-ignore
3233

33-
# The source user guide, either
34+
# source user guide
3435
user_guide_src/ export-ignore
36+
.nojekyll export-ignore
3537
phpdoc.dist.xml export-ignore

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,37 @@
11
# Changelog
22

3+
## [v4.4.8](https://github.com/codeigniter4/CodeIgniter4/tree/v4.4.8) (2024-04-07)
4+
[Full Changelog](https://github.com/codeigniter4/CodeIgniter4/compare/v4.4.7...v4.4.8)
5+
6+
### Fixed Bugs
7+
8+
* fix: [ImageMagickHandler] early terminate processing of invalid library path by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/8680
9+
* docs: fix PHPDoc types in BaseModel by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8679
10+
* fix: the error view is determined by Exception code by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8689
11+
* fix: `Pager::only([])` does not work by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8702
12+
* refactor: remove unneeded code in SQLite3\Table and fix PHPDoc types in Database by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8703
13+
* docs: fix return type in BaseResult by @Pebryan354 in https://github.com/codeigniter4/CodeIgniter4/pull/8709
14+
15+
### Refactoring
16+
17+
* refactor: simplify ImageMagickHandler::getVersion() by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/8681
18+
* refactor: [Rector] Apply ExplicitBoolCompareRector by @samsonasik in https://github.com/codeigniter4/CodeIgniter4/pull/8704
19+
320
## [v4.4.7](https://github.com/codeigniter4/CodeIgniter4/tree/v4.4.7) (2024-03-29)
421
[Full Changelog](https://github.com/codeigniter4/CodeIgniter4/compare/v4.4.6...v4.4.7)
522

23+
### SECURITY
24+
25+
* **Language:** *Language class DoS Vulnerability* was fixed. See the
26+
[Security advisory](https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-39fp-mqmm-gxj6)
27+
for more information.
28+
* **URI Security:** The feature to check if URIs do not contain not permitted
29+
strings has been added. This check is equivalent to the URI Security found in
30+
CodeIgniter 3. This is enabled by default, but upgraded users need to add
31+
a setting to enable it.
32+
* **Filters:** A bug where URI paths processed by Filters were not URL-decoded
33+
has been fixed.
34+
635
### Breaking Changes
736
* fix: Time::difference() DST bug by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8661
837

admin/RELEASE.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Work off direct clones of the repos so the release branches persist for a time.
8888
> generating much new content.
8989
9090
* [ ] Replace **CHANGELOG.md** with the new version generated above
91-
* [ ] Update **user_guide_src/source/changelogs/{version}.rst**
91+
* [ ] Update **user_guide_src/source/changelogs/v4.x.x.rst**
9292
* Remove the section titles that have no items
9393
* [ ] Update **user_guide_src/source/installation/upgrade_{ver}.rst**
9494
* fill in the "All Changes" section, and add it to **upgrading.rst**
@@ -150,10 +150,10 @@ Work off direct clones of the repos so the release branches persist for a time.
150150
composer test && composer info codeigniter4/framework
151151
```
152152
* [ ] Verify that the user guide actions succeeded:
153-
* "[Deploy Distributable Repos](https://github.com/codeigniter4/CodeIgniter4/actions/workflows/deploy-distributables.yml)", the main repo
154-
* "[Deploy Production](https://github.com/codeigniter4/userguide/actions/workflows/deploy.yml)", UG repo
155-
* "[pages-build-deployment](https://github.com/codeigniter4/userguide/actions/workflows/pages/pages-build-deployment)", UG repo
156-
* Check if "CodeIgniter4.x.x.epub" is added to UG repo. "CodeIgniter.epub" was
153+
* [ ] "[Deploy Distributable Repos](https://github.com/codeigniter4/CodeIgniter4/actions/workflows/deploy-distributables.yml)", the main repo
154+
* [ ] "[Deploy Production](https://github.com/codeigniter4/userguide/actions/workflows/deploy.yml)", UG repo
155+
* [ ] "[pages-build-deployment](https://github.com/codeigniter4/userguide/actions/workflows/pages/pages-build-deployment)", UG repo
156+
* [ ] Check if "CodeIgniter4.x.x.epub" is added to UG repo. "CodeIgniter.epub" was
157157
created when v4.3.8 was released.
158158
* [ ] Fast-forward `develop` branch to catch the merge commit from `master`
159159
```console

admin/prepare-release.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ function replace_file_content(string $path, string $pattern, string $replace): v
2626

2727
// Creates a branch for release.
2828
system('git switch develop');
29+
system('git branch -D release-' . $version);
2930
system('git switch -c release-' . $version);
3031

3132
// Updates version number in "CodeIgniter.php".

app/.htaccess

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<IfModule authz_core_module>
2-
Require all denied
2+
Require all denied
33
</IfModule>
44
<IfModule !authz_core_module>
5-
Deny from all
5+
Deny from all
66
</IfModule>

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"phpunit/phpcov": "^8.2",
3535
"phpunit/phpunit": "^9.1",
3636
"predis/predis": "^1.1 || ^2.0",
37-
"rector/rector": "1.0.3",
37+
"rector/rector": "1.0.4",
3838
"vimeo/psalm": "^5.0"
3939
},
4040
"replace": {

phpdoc.dist.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<output>api/build/</output>
1111
<cache>api/cache/</cache>
1212
</paths>
13-
<version number="4.4.7">
13+
<version number="4.4.8">
1414
<api format="php">
1515
<source dsn=".">
1616
<path>system</path>

0 commit comments

Comments
 (0)