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.4 Ready code #8377

Merged
merged 532 commits into from
Dec 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
532 commits
Select commit Hold shift + click to select a range
3388114
docs: add text decoration
kenjis Nov 26, 2023
be2c2f9
docs: add explanations
kenjis Nov 26, 2023
b98529c
docs: make method names links
kenjis Nov 26, 2023
552dc9e
docs: move some descriptions in note
kenjis Nov 26, 2023
bb3cff4
docs: add @return
kenjis Nov 26, 2023
b5262e7
docs: change expression
kenjis Nov 26, 2023
066bbbd
docs: add note for how to get the entire dataset's first and last pag…
kenjis Nov 26, 2023
bf6ebaa
docs: remove "in it's database layer"
kenjis Nov 27, 2023
2c3ab28
docs: add note for non-database usage
kenjis Nov 27, 2023
544093a
docs: make description more detailed
kenjis Nov 27, 2023
0ea1c6a
docs: fix by proofreading
kenjis Nov 27, 2023
4eed29c
Merge pull request #8245 from kenjis/docs-fix-model-phpdoc-types
kenjis Nov 27, 2023
0172788
chore(deps-dev): update rector/rector requirement
dependabot[bot] Nov 27, 2023
f779052
Merge pull request #8261 from codeigniter4/dependabot/composer/rector…
samsonasik Nov 27, 2023
b835455
Merge pull request #8255 from il-coder/fix-duplicate-prefix-cache-fil…
kenjis Nov 27, 2023
645e93c
Merge pull request #8251 from kenjis/docs-testing-and-time
kenjis Nov 27, 2023
35a8f74
Merge pull request #8253 from kenjis/docs-restful-controller-ns
kenjis Nov 27, 2023
fc500d0
Merge pull request #8259 from kenjis/docs-improve-entities
kenjis Nov 27, 2023
7e7821b
add: skip hostname checks if CURLRequest options 'verify' is set to f…
NicolaeIotu Nov 26, 2023
3685232
add: SSL verify options when config.verify is string and boolean
NicolaeIotu Nov 27, 2023
e159bfd
fix: CURLOPT_SSL_VERIFYPEER values and tests related with CURLOPT_SSL…
NicolaeIotu Nov 28, 2023
93e9c6b
Merge pull request #8256 from kenjis/docs-improve-pagination
kenjis Nov 28, 2023
50412c7
docs: add about session table change
kenjis Nov 28, 2023
84903e0
chore: update Kint to 5.1.0
kenjis Nov 29, 2023
1c20d68
fix: autoload helpers in test bootstrap
kenjis Nov 29, 2023
31388c8
docs: fix description for getXMLFromResult()
kenjis Nov 30, 2023
3e076d3
docs: add "Initializing the Utility Class"
kenjis Nov 30, 2023
b555ce2
docs: fix factory classname
kenjis Nov 30, 2023
ab913e3
Merge pull request #8274 from kenjis/update-kint-to-5.1.0
kenjis Nov 30, 2023
667cfd2
Merge pull request #8267 from kenjis/docs-upgrade-sessions
kenjis Nov 30, 2023
c5cb69e
Merge pull request #8276 from kenjis/fix-docs-db-utils
kenjis Nov 30, 2023
17eb892
docs: add missing methods in Database Utility Class
kenjis Nov 30, 2023
e4d3903
docs: remove unimplemented repairTable()
kenjis Nov 30, 2023
7e55e45
docs: fix CI3's method name
kenjis Nov 30, 2023
4542dd5
docs: fix factory method name
kenjis Nov 30, 2023
e601954
recreate fix: CURLOPT_SSL_VERIFYPEER values and tests related with CU…
NicolaeIotu Nov 30, 2023
f8dd0b7
Updated Bugs and Breaking sections
NicolaeIotu Nov 30, 2023
25b6d40
Fix sphinx-action warning 'Title underline too short'
NicolaeIotu Nov 30, 2023
bcc9b54
Merge pull request #8277 from kenjis/docs-add-db-utils-missing-methods
kenjis Nov 30, 2023
edd31c0
chore: add missing ext-sodium in suggest
kenjis Dec 1, 2023
ab25092
Update user_guide_src/source/changelogs/v4.4.4.rst
NicolaeIotu Dec 1, 2023
6df07b0
Added the summary of the bug
NicolaeIotu Dec 1, 2023
bfb9ab4
Revert manual changes to CHANGELOG.md
NicolaeIotu Dec 1, 2023
5b4482c
Added upgrading instructions
NicolaeIotu Dec 1, 2023
2ee4979
test: add test for Model and Entity with cast primaryKey
kenjis Dec 1, 2023
b8330e9
fix: processing in Model of Entity for which primary key is cast
kenjis Dec 1, 2023
7f7be9a
chore: update phpstan-baseline
kenjis Dec 1, 2023
c0a86fd
test: skip test on OCI8, Postgre, SQLSRV
kenjis Dec 1, 2023
87a706c
test: skip SQLite3
kenjis Dec 1, 2023
c357e4c
test: skip test for batchUpdate() that does not work
kenjis Dec 2, 2023
6df976b
test: fix test Entity name
kenjis Dec 2, 2023
54cbc32
Merge pull request #8258 from NicolaeIotu/add-curlrequest-curlopt_ssl…
kenjis Dec 2, 2023
0c9b3ff
Merge pull request #8275 from kenjis/fix-test-autoload-helpers
kenjis Dec 2, 2023
b1b7d16
docs: add missing "use"
kenjis Dec 2, 2023
67335ec
style: composer cs-fix
kenjis Dec 3, 2023
fb122c1
Merge pull request #8283 from kenjis/update-cs
kenjis Dec 3, 2023
705a695
chore(deps-dev): update rector/rector requirement
dependabot[bot] Dec 4, 2023
7a89ef2
Merge pull request #8290 from codeigniter4/dependabot/composer/rector…
samsonasik Dec 4, 2023
37a0406
test: fix UndefinedVariable
kenjis Dec 4, 2023
8dae2a8
test: move class in TestCase file
kenjis Dec 4, 2023
66ea529
docs: remove space
kenjis Dec 5, 2023
330b276
docs: improve description
kenjis Dec 5, 2023
ad92ce6
docs: add note for http_errors
kenjis Dec 6, 2023
625db4b
docs: remove itailc
kenjis Dec 6, 2023
b816654
docs: fix markdown
kenjis Dec 6, 2023
f80710c
docs: fix incorrect link
kenjis Dec 6, 2023
9a6c97f
Merge pull request #8296 from kenjis/fix-CHANGELOG_4.3.md
kenjis Dec 6, 2023
eab2a14
Merge pull request #8295 from kenjis/docs-curlrequest.rst
kenjis Dec 6, 2023
d1b7921
Merge pull request #8293 from kenjis/docs-validation.rst
kenjis Dec 6, 2023
7a38206
Merge pull request #8291 from kenjis/fix-tests
kenjis Dec 6, 2023
80e0c9d
allow get_filenames to follow symlinks
colethorsen Nov 16, 2023
0e029b5
docs
colethorsen Nov 16, 2023
11b06ca
Apply suggestions from code review
colethorsen Nov 16, 2023
681de6d
Update user_guide_src/source/changelogs/v4.4.4.rst
colethorsen Nov 16, 2023
3b74ad0
test: add test for get_filenames()
kenjis Dec 6, 2023
5307dbf
docs: make helper names linkable
kenjis Dec 5, 2023
3cd0559
docs: simplify explanation
kenjis Dec 5, 2023
c053f99
docs: add section title and explanation
kenjis Dec 6, 2023
607e323
docs: remove / after folder name
kenjis Dec 6, 2023
082f294
docs: add period
kenjis Dec 6, 2023
e9812ff
docs: add empty line
kenjis Dec 6, 2023
1836e24
docs: add line break
kenjis Dec 6, 2023
adc23ac
docs: move "Load Order" section to "Loading a Helper"
kenjis Dec 6, 2023
3c7d31a
docs: make helper names linkable
kenjis Dec 6, 2023
26f6199
docs: update description
kenjis Dec 6, 2023
e359bc7
docs: improve explanation
kenjis Dec 6, 2023
4ea4e86
docs: add "Creating Custom Helpers" and sample code
kenjis Dec 6, 2023
93da700
docs: fix sample code
kenjis Dec 6, 2023
cb4fe38
fix: Handle non-array JSON in validation
woodongwong Dec 4, 2023
e5c923e
docs: add changelog
woodongwong Dec 4, 2023
fc2bff7
Merge pull request #8282 from kenjis/fix-model-pk-with-cast
kenjis Dec 6, 2023
29f7199
Merge pull request #8294 from kenjis/docs-helpers
kenjis Dec 6, 2023
285f379
docs: fix PHPDoc types
kenjis Nov 27, 2023
be70e74
refactor: rename parameter name to $object
kenjis Nov 27, 2023
c602c4f
docs: fix PHPDoc types
kenjis Nov 27, 2023
512ba40
refactor: remove unneeded assert()
kenjis Nov 27, 2023
58fce8b
docs: fix PHPDoc types
kenjis Nov 27, 2023
c43037f
refactor: extract timeToString()
kenjis Nov 27, 2023
6b77de2
docs: add PHPDoc types
kenjis Nov 28, 2023
872beb9
refactor: fix non-boolean if condition
kenjis Nov 28, 2023
a2c7b3f
chore: update phpstan-baseline
kenjis Nov 28, 2023
f4d17d2
refactor: extract setCreatedField() and setUpdatedField()
kenjis Nov 28, 2023
b2bf84d
refactor: replace $data with $row
kenjis Nov 28, 2023
7ad3c38
refactor: replace $data with $row
kenjis Nov 28, 2023
b75a73f
Merge pull request #8298 from kenjis/fix-get-filenames-symlink
kenjis Dec 7, 2023
b367f2f
Merge pull request #8288 from woodongwong/fix-Validation-withRequest
kenjis Dec 7, 2023
f644cdc
docs: update sample code and add about $autoRoutesImproved just in case
kenjis Dec 7, 2023
fa9002a
docs: decorate `true`
kenjis Dec 7, 2023
45b9d1d
Update BaseBuilder.php
objecttothis Dec 7, 2023
e49516c
Merge pull request #8260 from kenjis/refactor-model
kenjis Dec 7, 2023
75d1b3b
Merge pull request #8301 from kenjis/docs-enable-auto-routing
kenjis Dec 7, 2023
f0f2bc4
Update BaseBuilder.php
objecttothis Dec 7, 2023
6fd003c
test: move GetCompiledModelTest that was in wrong place
kenjis Dec 7, 2023
43de6c0
test: add @group
kenjis Dec 7, 2023
be10f21
test: refactor by rector
kenjis Dec 7, 2023
8ca1471
Merge pull request #8305 from kenjis/test-move-GetCompiledModelTest
kenjis Dec 8, 2023
a37ae72
Merge pull request #8281 from kenjis/add-ext-sodium
kenjis Dec 8, 2023
3d96fc5
docs: add link to section
kenjis Dec 8, 2023
ee7e590
docs: improve readability
kenjis Dec 8, 2023
e7cee3c
docs: add missing period
kenjis Dec 8, 2023
10923df
docs: add text decoration
kenjis Dec 8, 2023
e91e5b6
Merge pull request #8309 from kenjis/docs-email.rst
kenjis Dec 8, 2023
1dbc95d
chore: update phpstan-baseline.php
kenjis Dec 9, 2023
b7c5db8
docs: add sub section title
kenjis Dec 9, 2023
7e6fee7
docs: improve explanations and add notes
kenjis Dec 9, 2023
a5fbda1
docs: update sample code
kenjis Dec 9, 2023
43a06ae
Merge pull request #8311 from kenjis/update-phpstan-baseline
kenjis Dec 9, 2023
b17dbf5
fix: COMPOSER_PATH may be false
kenjis Dec 9, 2023
fbdb669
docs: add change to upgrade_emails
kenjis Dec 9, 2023
ef98d40
docs: fix description
kenjis Dec 9, 2023
7e0ddbf
docs: fix doc comments
kenjis Dec 9, 2023
ba8c285
Merge pull request #8315 from kenjis/fix-test-bootstrap.php
kenjis Dec 9, 2023
3f1a71b
fix: DEPRECATED error in Honeypot
kenjis Dec 9, 2023
3e1046b
Merge pull request #8316 from kenjis/fix-Honeypot-DEPRECATED
kenjis Dec 9, 2023
6e8564d
Merge pull request #8304 from objecttothis/patch-2
kenjis Dec 9, 2023
5ccb299
Merge pull request #8310 from kenjis/docs-upgrading-email
kenjis Dec 9, 2023
2250f03
Merge pull request #8312 from kenjis/docs-upgrade_routing
kenjis Dec 9, 2023
66bb97c
fix: `spark routes` shows incorrect routes when translateURIDashes is…
kenjis Dec 10, 2023
8f2c065
Merge pull request #8320 from kenjis/fix-spark-routes-auto-routing-tr…
kenjis Dec 11, 2023
14c3045
docs: add missing "method"
kenjis Dec 12, 2023
2e7399a
docs: improve readability
kenjis Dec 12, 2023
fe884ad
docs: remove unneeded row
kenjis Dec 12, 2023
7fdc425
docs: decorate method names
kenjis Dec 12, 2023
c04a4e7
docs: make `id` clearer
kenjis Dec 12, 2023
2420424
fix: migrations not using custom DB connection of migration runner (#…
paulbalandan Dec 13, 2023
753fe0e
Update system/View/ViewDecoratorTrait.php
mostafakhudair Dec 13, 2023
97c4518
docs: just joining lines together nicely
kenjis Dec 14, 2023
3d742a3
Merge pull request #8324 from kenjis/docs-model-event
kenjis Dec 14, 2023
181b2d2
docs: update sample code and descriptions
kenjis Dec 14, 2023
5c4c72c
docs: update description
kenjis Dec 14, 2023
50f7633
docs: use validateData() instead of validate()
kenjis Dec 14, 2023
f81dd1a
Merge pull request #8329 from kenjis/docs-update-routing
kenjis Dec 14, 2023
ad0fb2c
Merge pull request #8331 from kenjis/docs-update-valiation-sample
kenjis Dec 14, 2023
65cb4d5
docs: update config sample
kenjis Dec 15, 2023
9c3f1f7
docs: remove incorrect links
kenjis Dec 15, 2023
6ceb0fb
docs: update routing config file name
kenjis Dec 15, 2023
fc17a53
always return a new instance of a cell (#8330)
michalsn Dec 15, 2023
5bdf0a2
chore(deps): bump actions/download-artifact from 3 to 4
dependabot[bot] Dec 15, 2023
0b1e355
chore(deps): bump actions/upload-artifact from 3 to 4
dependabot[bot] Dec 15, 2023
0a24c22
docs: add @property to Time
kenjis Dec 16, 2023
4efa7df
docs: add "use CodeIgniter\I18n\Time;"
kenjis Dec 16, 2023
0a94fea
docs: fix commnets in sample code
kenjis Dec 16, 2023
73053d3
docs: fix incorrect sample code
kenjis Dec 16, 2023
c39961a
docs: add @property $local
kenjis Dec 16, 2023
82d35c8
Merge pull request #8338 from kenjis/docs-time-sample-code
kenjis Dec 16, 2023
4609ed7
docs: fix classname to match description
kenjis Dec 17, 2023
87eaa98
docs: add missing $prioritize
kenjis Dec 17, 2023
a5ee50c
docs: add "app/Config/Routes.php" in comments
kenjis Dec 17, 2023
521cc98
Merge pull request #8212 from ThomasMeschke/develop
kenjis Dec 17, 2023
1e8dfe0
docs: add sample code with variable-length argument lists
kenjis Dec 17, 2023
e9d1fcf
chore: add SimplifyEmptyCheckOnEmptyArrayRector
kenjis Dec 17, 2023
cec682b
refactor: apply SimplifyEmptyCheckOnEmptyArrayRector
kenjis Dec 17, 2023
eea4574
chore: update phpstan-baseline
kenjis Dec 17, 2023
392beac
fix: $_SESSION may be undefined
kenjis Dec 17, 2023
e6d3fef
Add explanation on changing default error messages
dgvirtual Dec 17, 2023
bfe27c0
Add explanation where to place custom rules error messages
dgvirtual Dec 17, 2023
f69a39b
Merge pull request #8337 from kenjis/docs-Time-properties
kenjis Dec 19, 2023
99e3d4a
Merge pull request #8340 from kenjis/docs-improve-routing
kenjis Dec 19, 2023
2198dfd
Merge pull request #8342 from dgvirtual/default_message_change_doc
kenjis Dec 19, 2023
4433c90
Merge pull request #8341 from kenjis/add-SimplifyEmptyCheckOnEmptyArr…
kenjis Dec 19, 2023
a28caae
test: add test cases for filter `default`
kenjis Dec 19, 2023
5d9dc9b
docs: fix incorrect description
kenjis Dec 19, 2023
05e19c8
docs: add codeigniter4/queue repository
kenjis Dec 20, 2023
12a8c6e
docs: add "Error Handling" in "Upgrading from 3.x to 4.x"
kenjis Dec 20, 2023
1681df1
Merge pull request #8332 from kenjis/docs-controllers-auto-routing
kenjis Dec 20, 2023
d32693e
Update user_guide_src/source/libraries/validation.rst
dgvirtual Dec 20, 2023
8464580
Merge pull request #8349 from kenjis/docs-add-codeigniter4/queue
kenjis Dec 20, 2023
36fd0ee
Merge pull request #8343 from dgvirtual/custom_rule_error_message_pla…
kenjis Dec 20, 2023
3c75ca5
Merge pull request #8346 from kenjis/fix-parser-filter-default
kenjis Dec 20, 2023
9179347
Merge pull request #8335 from codeigniter4/dependabot/github_actions/…
kenjis Dec 20, 2023
3b90296
Merge pull request #8336 from codeigniter4/dependabot/github_actions/…
kenjis Dec 20, 2023
673c50e
Revert "chore(deps): bump actions/upload-artifact from 3 to 4"
kenjis Dec 21, 2023
f2b7ff0
chore: add TernaryEmptyArrayArrayDimFetchToCoalesceRector
kenjis Dec 17, 2023
145415e
chore: add EmptyOnNullableObjectToInstanceOfRector
kenjis Dec 17, 2023
2874fb1
refactor: apply EmptyOnNullableObjectToInstanceOfRector
kenjis Dec 18, 2023
9c93833
chore: add DisallowedEmptyRuleFixerRector
kenjis Dec 18, 2023
d258659
refactor: apply DisallowedEmptyRuleFixerRector
kenjis Dec 18, 2023
93b7992
chore: update phpstan-baseline
kenjis Dec 18, 2023
6e03597
fix: incorrect rector refactoring
kenjis Dec 18, 2023
6ba9f44
refactor: remove unneeded if
kenjis Dec 18, 2023
23a5c92
refactor: remove unneeded condition
kenjis Dec 18, 2023
2718024
fix: remove unneeded conditions
kenjis Dec 18, 2023
e8980a8
chore: vendor/bin/phpstan analyze --generate-baseline phpstan-baselin…
kenjis Dec 18, 2023
751eac2
Revert "Merge pull request #8335 from codeigniter4/dependabot/github_…
kenjis Dec 21, 2023
671fe68
docs: add @phpstan-return
kenjis Dec 21, 2023
83c27c5
refactor: replace empty()
kenjis Dec 21, 2023
64866aa
chore: remove ignoreErrors
kenjis Dec 21, 2023
2bf28c0
Merge pull request #8353 from codeigniter4/revert-8336-dependabot/git…
kenjis Dec 21, 2023
d7d3959
docs: fix @phpstan-return type
kenjis Dec 21, 2023
bed9173
Add `replace` to composer.json
paulbalandan Dec 21, 2023
73bf083
Update ViewDecoratorTrait.php
mostafakhudair Dec 21, 2023
c0c5fca
Merge pull request #8344 from kenjis/add-DisallowedEmptyRuleFixerRector
kenjis Dec 21, 2023
9483732
Merge pull request #8355 from paulbalandan/replace
kenjis Dec 21, 2023
6ab340d
chore(deps-dev): update rector/rector requirement
dependabot[bot] Dec 21, 2023
762ca83
test: fix @param types
kenjis Dec 22, 2023
41c1e63
test: add test for `id="0"`
kenjis Dec 22, 2023
b611d38
docs: make @return more strict
kenjis Dec 22, 2023
f4c17bb
fix: DOMParser cannot see element with `id="0"`
kenjis Dec 22, 2023
c03d34a
chore: remove ignoreErrors
kenjis Dec 22, 2023
3cfbdf2
chore: add StringClassNameToClassConstantRector option
kenjis Dec 22, 2023
8b56aad
Merge pull request #8358 from codeigniter4/dependabot/composer/rector…
samsonasik Dec 22, 2023
8f32623
docs: use list for readablitily
kenjis Dec 22, 2023
7e35646
docs: fix RST format and improve the description
kenjis Dec 22, 2023
5b142ff
docs: fix by proofreading
kenjis Dec 22, 2023
0b8c4fd
test: add missing test case
kenjis Dec 22, 2023
7aa8a78
chore: add code to update version number in "phpdoc.dist.xml"
kenjis Dec 24, 2023
1354ae7
chore: fix php-cs-fixer version to 3.41.*
kenjis Dec 25, 2023
034379c
Merge pull request #8368 from kenjis/fix-php-cs-fixer-version-to-3.41
kenjis Dec 25, 2023
f06395c
Merge pull request #8350 from kenjis/docs-upgrade_4x-error-handling
kenjis Dec 25, 2023
bd0fbe9
Merge pull request #8360 from kenjis/fix-DOMParser
kenjis Dec 25, 2023
bf2437e
Merge pull request #8362 from kenjis/test-add-TableTest
kenjis Dec 25, 2023
2e9762c
Merge pull request #8365 from kenjis/update-prepare-release.php
kenjis Dec 25, 2023
cc81552
docs: fix PHPDoc types
kenjis Dec 25, 2023
d510a42
refactor: replace empty()
kenjis Dec 18, 2023
d758774
refactor: replace empty()
kenjis Dec 18, 2023
31c5c14
refactor: replace empty()
kenjis Dec 18, 2023
0ece99b
refactor: replace empty()
kenjis Dec 19, 2023
8d17de2
chore: add --exclude for phpcpd
kenjis Dec 19, 2023
424444f
chore: remove ignoreErrors
kenjis Dec 18, 2023
8254eb7
refactor: replace empty()
kenjis Dec 22, 2023
479b35d
chore: remove ignoreErrors
kenjis Dec 22, 2023
69fbb6c
refactor: replace empty()
kenjis Dec 22, 2023
269986e
chore: remove ignoreErrors
kenjis Dec 22, 2023
5a52b60
Merge pull request #8369 from kenjis/fix-test-CastBase64
kenjis Dec 26, 2023
54d188b
Merge pull request #8021 from mostafakhudair/patch-2
kenjis Dec 26, 2023
dda4cc9
docs: update official packages page
lonnieezell Dec 28, 2023
838900e
Merge pull request #8345 from kenjis/replace-empty
kenjis Dec 28, 2023
e760609
Merge pull request #8375 from codeigniter4/packages-docs
kenjis Dec 28, 2023
c5e7266
Prep for 4.4.4 release
kenjis Dec 28, 2023
14c8609
Merge pull request #8376 from kenjis/release-4.4.4
kenjis Dec 28, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .github/workflows/deploy-distributables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
run: ./source/.github/scripts/deploy-framework ${GITHUB_WORKSPACE}/source ${GITHUB_WORKSPACE}/framework ${GITHUB_REF##*/}

- name: Release
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{secrets.ACCESS_TOKEN}}
script: |
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
run: ./source/.github/scripts/deploy-appstarter ${GITHUB_WORKSPACE}/source ${GITHUB_WORKSPACE}/appstarter ${GITHUB_REF##*/}

- name: Release
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{secrets.ACCESS_TOKEN}}
script: |
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
run: ./source/.github/scripts/deploy-userguide ${GITHUB_WORKSPACE}/source ${GITHUB_WORKSPACE}/userguide ${GITHUB_REF##*/}

- name: Release
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{secrets.ACCESS_TOKEN}}
script: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test-autoreview.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Automatic Code Review
name: AutoReview

on:
pull_request:
Expand All @@ -23,9 +23,10 @@ permissions:

jobs:
auto-review-tests:
name: Automatic Code Review
uses: ./.github/workflows/reusable-serviceless-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo
with:
job-name: Automatic Code Review [PHP 8.1]
job-name: PHP 8.1
php-version: '8.1'
job-id: auto-review-tests
group-name: AutoReview
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-phpcpd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,5 @@ jobs:
--exclude system/Database/Postgre/Builder.php
--exclude system/Debug/Exceptions.php
--exclude system/HTTP/SiteURI.php
--exclude system/Validation/Rules.php
-- app/ public/ system/
12 changes: 8 additions & 4 deletions .github/workflows/test-phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
echo "version=8.1" >> $GITHUB_OUTPUT

sanity-tests:
name: Others
needs: coverage-php-version

strategy:
Expand Down Expand Up @@ -77,6 +78,7 @@ jobs:
extra-composer-options: ${{ matrix.composer-option }}

database-live-tests:
name: DatabaseLive
needs:
- coverage-php-version
- sanity-tests
Expand All @@ -97,17 +99,17 @@ jobs:
- SQLSRV
- SQLite3
mysql-version:
- '5.7'
- '8.0'
include:
- php-version: '7.4'
db-platform: MySQLi
mysql-version: '8.0'
mysql-version: '5.7'
- php-version: '8.3'
composer-option: '--ignore-platform-req=php'

uses: ./.github/workflows/reusable-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo
with:
job-name: Database Live Tests
job-name: ''
php-version: ${{ matrix.php-version }}
job-id: database-live-tests
db-platform: ${{ matrix.db-platform }}
Expand All @@ -120,6 +122,7 @@ jobs:
extra-composer-options: ${{ matrix.composer-option }}

separate-process-tests:
name: SeparateProcess
needs:
- coverage-php-version
- sanity-tests
Expand All @@ -138,7 +141,7 @@ jobs:

uses: ./.github/workflows/reusable-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo
with:
job-name: Separate Process Tests
job-name: ''
php-version: ${{ matrix.php-version }}
job-id: separate-process-tests
group-name: SeparateProcess
Expand All @@ -149,6 +152,7 @@ jobs:
extra-composer-options: ${{ matrix.composer-option }}

cache-live-tests:
name: CacheLive
needs:
- coverage-php-version
- sanity-tests
Expand Down
56 changes: 54 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,59 @@
# Changelog

## [v4.4.4](https://github.com/codeigniter4/CodeIgniter4/tree/v4.4.4) (2023-12-28)
[Full Changelog](https://github.com/codeigniter4/CodeIgniter4/compare/v4.4.3...v4.4.4)

### Breaking Changes

* fix: Validation rule with `*` gets incorrect values as dot array syntax by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8129
* fix: validation rule `matches` and `differs` by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8122
* fix: [CURLRequest] skip hostname checks if options 'verify' false by @NicolaeIotu in https://github.com/codeigniter4/CodeIgniter4/pull/8258
* fix: get_filenames() does not follow symlinks by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8298

### Fixed Bugs

* fix: change make:command default $group to `App` by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8109
* fix: typo in help message in `spark filter:check` by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8118
* fix: Hot reloading when session is enabled by @michalsn in https://github.com/codeigniter4/CodeIgniter4/pull/8112
* fix: make:cell help message by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8133
* fix: [DebugBar] dark mode timeline "Controller" by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8125
* fix: PHPDoc types in controller.tpl.php by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8144
* fix: `@return` in filter.tpl.php by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8145
* fix: when request body is `0`, $body will be null by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8161
* fix: `spark routes` outputs `<unknown>` only when {locale} with `useSupportedLocalesOnly(true)` by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8167
* fix: Undefined array key error in `spark db:table` by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8173
* fix: force_https() redirects to wrong URL when baseURL has subfolder by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8191
* fix: Validation raises TypeError when invalid JSON comes by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8153
* fix: FilterTestTrait Undefined variable $filterClasses by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8195
* fix: Image::save() causes error with webp by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8210
* fix issue where running FileLocator::getClassname() on a directory would cause a PHP error by @colethorsen in https://github.com/codeigniter4/CodeIgniter4/pull/8216
* fix: make Request::getEnv() deprecated by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8234
* fix: ExceptionHandler displays incorrect Exception classname by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8239
* fix: [Cache] Double prefix for increment in FileHandler by @il-coder in https://github.com/codeigniter4/CodeIgniter4/pull/8255
* docs: fix Database Utility Class `getXMLFromResult()` by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8276
* fix: autoload helpers in test bootstrap by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8275
* fix: Model handling of Entity $primaryKey casting by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8282
* fix: Handle non-array JSON in validation by @woodongwong in https://github.com/codeigniter4/CodeIgniter4/pull/8288
* fix: DEPRECATED error in Honeypot by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8316
* fix: [Auto Routing Improved] `spark routes` shows incorrect routes when translateURIDashes is enabled by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8320
* fix: migrations not using custom DB connection of migration runner by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/8221
* Always return a new instance of a Cell by @michalsn in https://github.com/codeigniter4/CodeIgniter4/pull/8330
* fix: DOMParser cannot see element with `id="0"` by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8360

### Refactoring

* [Rector] Apply SingleInArrayToCompareRector by @samsonasik in https://github.com/codeigniter4/CodeIgniter4/pull/8102
* refactor: RedisHandler ttl() calls by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8155
* [Testing] Use assertEqualsWithDelta() when possible by @samsonasik in https://github.com/codeigniter4/CodeIgniter4/pull/8158
* refactor: replace non-boolean if conditions in Model by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8193
* refactor: View classes to fix PHPStan errors by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8208
* refactor: Model by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8260
* replace -1 with E_ALL in error_reporting calls by @ThomasMeschke in https://github.com/codeigniter4/CodeIgniter4/pull/8212
* refactor: apply SimplifyEmptyCheckOnEmptyArrayRector by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8341
* refactor: apply DisallowedEmptyRuleFixerRector by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8344
* refactor: rely on $config property in ViewDecoratorTrait by @mostafakhudair in https://github.com/codeigniter4/CodeIgniter4/pull/8021
* refactor: replace empty() Part 1 by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8345

## [v4.4.3](https://github.com/codeigniter4/CodeIgniter4/tree/v4.4.3) (2023-10-26)
[Full Changelog](https://github.com/codeigniter4/CodeIgniter4/compare/v4.4.2...v4.4.3)

Expand Down Expand Up @@ -59,8 +113,6 @@
* refactor: delete duplicate code for Composer loading by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8004
* [Rector] Apply BooleanInIfConditionRuleFixerRector by @samsonasik in https://github.com/codeigniter4/CodeIgniter4/pull/7951

**Full Changelog**: https://github.com/codeigniter4/CodeIgniter4/compare/v4.4.1...v4.4.2

## [v4.4.1](https://github.com/codeigniter4/CodeIgniter4/tree/v4.4.1) (2023-09-05)
[Full Changelog](https://github.com/codeigniter4/CodeIgniter4/compare/v4.4.0...v4.4.1)

Expand Down
42 changes: 28 additions & 14 deletions admin/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> Documentation guide based on the releases of `4.0.5` and `4.1.0` on January 31, 2021.
>
> Updated for `4.3.0` on January 10, 2023.
> Updated for `4.4.3` on October 27, 2023.
>
> -MGatner, kenjis

Expand Down Expand Up @@ -53,12 +53,18 @@ Work off direct clones of the repos so the release branches persist for a time.
* [ ] Clone both **codeigniter4/CodeIgniter4** and **codeigniter4/userguide** and
resolve any necessary PRs
```console
rm -rf CodeIgniter4.bk userguide.bk
mv CodeIgniter4 CodeIgniter4.bk
mv userguide userguide.bk
git clone [email protected]:codeigniter4/CodeIgniter4.git
git clone [email protected]:codeigniter4/userguide.git
```
* [ ] Vet the **admin/** folders for any removed hidden files (Action deploy scripts
*do not remove these*)
* git diff --name-status origin/master admin/
```console
cd CodeIgniter4
git diff --name-status origin/master admin/
```
* [ ] Merge any Security Advisory PRs in private forks

## Process
Expand All @@ -67,21 +73,26 @@ Work off direct clones of the repos so the release branches persist for a time.
> been included with their PR, so this process assumes you will not be
> generating much new content.

* [ ] Create a new branch `release-4.x.x`
* [ ] Update **system/CodeIgniter.php** with the new version number:
`const CI_VERSION = '4.x.x';`
* [ ] Update **user_guide_src/source/conf.py** with the new `version = '4.x'` (if applicable)
and `release = '4.x.x'`
* [ ] Replace **CHANGELOG.md** with the new version generated above
* [ ] Update **user_guide_src/source/changelogs/{version}.rst**
* Set the date to format `Release Date: January 31, 2021`
* Remove the section titles that have no items
* [ ] Update **user_guide_src/source/installation/upgrade_{ver}.rst**
* fill in the "All Changes" section, and add it to **upgrading.rst**
* git diff --name-status origin/master -- . ':!system'
* Remove the section titles that have no items
* [Minor version only] Update the "from" version in the title. E.g., `from 4.3.x` → `from 4.3.8`
* [ ] Commit the changes with `Prep for 4.x.x release` and push to origin
* [ ] Run `php admin/prepare-release.php 4.x.x` and push to origin
* The above command does the following:
* Create a new branch `release-4.x.x`
* Update **system/CodeIgniter.php** with the new version number:
`const CI_VERSION = '4.x.x';`
* Update **user_guide_src/source/conf.py** with the new `version = '4.x'` (if applicable)
and `release = '4.x.x'`
* Update **user_guide_src/source/changelogs/{version}.rst**
* Set the date to format `Release Date: January 31, 2021`
* Update **phpdoc.dist.xml** with the new `<title>CodeIgniter v4.x API</title>`
and `<version number="4.x.x">`
* Commit the changes with `Prep for 4.x.x release`
* [ ] Create a new PR from `release-4.x.x` to `develop`:
* Title: `Prep for 4.x.x release`
* Description:
Expand Down Expand Up @@ -119,6 +130,7 @@ Work off direct clones of the repos so the release branches persist for a time.
* [ ] Run the following commands to install and test `appstarter` and verify the new
version:
```console
rm -rf release-test
composer create-project codeigniter4/appstarter release-test
cd release-test
composer test && composer info codeigniter4/framework
Expand Down Expand Up @@ -152,19 +164,21 @@ Work off direct clones of the repos so the release branches persist for a time.
git switch -c 4.x
git push origin HEAD
```
* [ ] Publish any Security Advisories that were resolved from private forks
* [ ] Request CVEs and Publish any Security Advisories that were resolved from private forks
(note: publishing is restricted to administrators):
* [ ] Announce the release on the forums and Slack channel
(note: this forum is restricted to administrators):
* Make a new topic in the "News & Discussion" forums:
https://forum.codeigniter.com/forum-2.html
* The content is somewhat organic, but should include any major features and
changes as well as a link to the User Guide's changelog
* [ ] Run `php admin/create-new-changelog.php <current_version> <new_version>`
* The above command does the following:
* Create **user_guide_src/source/changelogs/{next_version}.rst** and add it to
**index.rst** (See **next-changelog-*.rst**)
* Create **user_guide_src/source/installation/upgrade_{next_version}.rst** and add it to
**upgrading.rst** (See **next-upgrading-guide.rst**)
* [ ] Create a PR for new changelog and upgrade for the next version
* Create **user_guide_src/source/changelogs/{next_version}.rst** and add it to
**index.rst** (See **next-changelog-*.rst**)
* Create **user_guide_src/source/installation/upgrade_{next_version}.rst** and add it to
**upgrading.rst** (See **next-upgrading-guide.rst**)

## Appendix

Expand Down
87 changes: 87 additions & 0 deletions admin/create-new-changelog.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
<?php

declare(strict_types=1);

function replace_file_content(string $path, string $pattern, string $replace): void
{
$file = file_get_contents($path);
$output = preg_replace($pattern, $replace, $file);
file_put_contents($path, $output);
}

// Main.
chdir(__DIR__ . '/..');

if ($argc !== 3) {
echo "Usage: php {$argv[0]} <current_version> <new_version>" . PHP_EOL;
echo "E.g.,: php {$argv[0]} 4.4.3 4.4.4" . PHP_EOL;

exit(1);
}

// Gets version number from argument.
$versionCurrent = $argv[1]; // e.g., '4.4.3'
$versionCurrentParts = explode('.', $versionCurrent);
$minorCurrent = $versionCurrentParts[0] . '.' . $versionCurrentParts[1];
$version = $argv[2]; // e.g., '4.4.4'
$versionParts = explode('.', $version);
$minor = $versionParts[0] . '.' . $versionParts[1];
$isMinorUpdate = ($minorCurrent !== $minor);

// Creates a branch for release.
system('git switch develop');
system('git switch -c docs-changelog-' . $version);
system('git switch docs-changelog-' . $version);

// Copy changelog
$changelog = "./user_guide_src/source/changelogs/v{$version}.rst";
$changelogIndex = './user_guide_src/source/changelogs/index.rst';
if ($isMinorUpdate) {
copy('./admin/next-changelog-minor.rst', $changelog);
} else {
copy('./admin/next-changelog-patch.rst', $changelog);
}
// Add changelog to index.rst.
replace_file_content(
$changelogIndex,
'/\.\. toctree::\n :titlesonly:\n/u',
".. toctree::\n :titlesonly:\n\n v{$version}"
);
// Replace {version}
$length = mb_strlen("Version {$version}");
$underline = str_repeat('#', $length);
replace_file_content(
$changelog,
'/#################\nVersion {version}\n#################/u',
"{$underline}\nVersion {$version}\n{$underline}"
);
replace_file_content(
$changelog,
'/{version}/u',
"{$version}"
);

// Copy upgrading
$versionWithoutDots = str_replace('.', '', $version);
$upgrading = "./user_guide_src/source/installation/upgrade_{$versionWithoutDots}.rst";
$upgradingIndex = './user_guide_src/source/installation/upgrading.rst';
copy('./admin/next-upgrading-guide.rst', $upgrading);
// Add upgrading to upgrading.rst.
replace_file_content(
$upgradingIndex,
'/ backward_compatibility_notes\n/u',
" backward_compatibility_notes\n\n upgrade_{$versionWithoutDots}"
);
// Replace {version}
$length = mb_strlen("Upgrading from {$versionCurrent} to {$version}");
$underline = str_repeat('#', $length);
replace_file_content(
$upgrading,
'/##############################\nUpgrading from {version} to {version}\n##############################/u',
"{$underline}\nUpgrading from {$versionCurrent} to {$version}\n{$underline}"
);

// Commits
system("git add {$changelog} {$changelogIndex}");
system("git add {$upgrading} {$upgradingIndex}");
system('git commit -m "docs: add changelog and upgrade for v' . $version . '"');
4 changes: 0 additions & 4 deletions admin/css/debug-toolbar/_theme-dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,6 @@
.timer {
background-color: $g-orange;
}

.timeline-parent-open td {
color: $t-dark;
}
}
}

Expand Down
3 changes: 2 additions & 1 deletion admin/framework/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"require-dev": {
"codeigniter/coding-standard": "^1.5",
"fakerphp/faker": "^1.9",
"friendsofphp/php-cs-fixer": "3.13.0",
"friendsofphp/php-cs-fixer": "~3.41.0",
"kint-php/kint": "^5.0.4",
"mikey179/vfsstream": "^1.6",
"nexusphp/cs-config": "^3.6",
Expand All @@ -43,6 +43,7 @@
"ext-readline": "Improves CLI::input() usability",
"ext-redis": "If you use Cache class RedisHandler",
"ext-simplexml": "If you format XML",
"ext-sodium": "If you use Encryption SodiumHandler",
"ext-sqlite3": "If you use SQLite3",
"ext-sqlsrv": "If you use SQL Server",
"ext-xdebug": "If you use CIUnitTestCase::assertHeaderEmitted()"
Expand Down
Loading
Loading