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.5.4 Ready code #9083

Merged
merged 121 commits into from
Jul 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
9acc52d
docs: Fix typos and add missing preferences in libraries/email.rst
May 4, 2024
611e701
docs: Remove recipients from preferences list in libraries/email.rst
obozdag Jun 10, 2024
2ce73cd
docs: add changelog and upgrade for v4.5.4
kenjis Jun 25, 2024
bbfb37c
docs: change version notation
kenjis Jun 25, 2024
e84a189
Merge pull request #8998 from kenjis/docs-changelog-4.5.4
kenjis Jun 25, 2024
23d09bd
chore: add missing / at the end
kenjis Jun 25, 2024
d171ac3
docs: add note to upgrade_420.rst
kenjis Jun 25, 2024
a69c876
docs: update outdated description for HTTP method names
kenjis Jun 25, 2024
33dc973
docs: add empty lines
kenjis Jun 25, 2024
75a9350
docs: small improvements
kenjis Jun 25, 2024
9a9a9a0
docs: add note for HTTP method names lowercase
kenjis Jun 25, 2024
2d5d8a5
chore: update to new RectorConfig::configure() syntax for config
samsonasik Jun 25, 2024
fb07e77
Merge pull request #8999 from kenjis/update-RELEASE.md
kenjis Jun 25, 2024
0715aa2
Merge pull request #9000 from kenjis/update-starter-composer.json
kenjis Jun 25, 2024
42801aa
Merge pull request #9001 from kenjis/docs-update-upgrade_420
kenjis Jun 25, 2024
62c48ac
Merge pull request #9002 from kenjis/docs-improve-filters
kenjis Jun 25, 2024
f7860e1
Merge pull request #9003 from samsonasik/chore-update-rector
samsonasik Jun 26, 2024
86480f4
chore: fallback null on cache directory to use default rector cache d…
samsonasik Jun 26, 2024
073306c
refactor: use first class callable on function call
samsonasik Jun 26, 2024
fc5dd88
Merge pull request #9004 from samsonasik/refactor-first-class
samsonasik Jun 26, 2024
8c603af
test: add tests for isValidDSN()
kenjis Jun 27, 2024
6c61938
fix: regex pattern for Easy Connect string
kenjis Jun 27, 2024
9e4777a
refactor: enable AddClosureVoidReturnTypeWhereNoReturnRector to add v…
samsonasik Jun 27, 2024
d14dce8
Merge pull request #9008 from samsonasik/refactor-closure-void
samsonasik Jun 27, 2024
43ce135
test: add test for select() with RawSql
kenjis Jun 27, 2024
1962e8c
fix: select() may cause TypeError
kenjis Jun 27, 2024
73d67fb
refactor: rename variable name
kenjis Jun 28, 2024
3f24caf
test: add tests for `SELECT NULL as`
kenjis Jun 28, 2024
6ba48cf
fix: select() does not escape after `NULL as`
kenjis Jun 28, 2024
227f53a
refactor: remove duplicated `trim()`
kenjis Jun 28, 2024
51f9457
chore: update phpstan-baseline.php
kenjis Jun 28, 2024
fd5bf15
fix: select() with first param as RawSql
kenjis Jun 28, 2024
8534e8f
fix: wrong variable and add tests
kenjis Jun 28, 2024
c022dd3
test: add @param
kenjis Jun 28, 2024
9d83fd7
docs: change rule order
kenjis Jun 30, 2024
0e56433
docs: decorate words
kenjis Jun 30, 2024
6938f4a
docs: add important note
kenjis Jun 30, 2024
1638990
Merge pull request #9006 from kenjis/fix-oci8-easy-connect-string-val…
kenjis Jun 30, 2024
e792d43
refactor: enable AddFunctionVoidReturnTypeWhereNoReturnRector to add …
samsonasik Jun 30, 2024
acefa3c
cs fix
samsonasik Jun 30, 2024
01f52ef
Merge pull request #9014 from samsonasik/refactor-void-function
samsonasik Jun 30, 2024
fb7e4f1
refactor: Enable phpunit 10 attribute Rector rules
samsonasik Jun 30, 2024
8ab9e40
cs fix
samsonasik Jun 30, 2024
bab8828
Merge pull request #9015 from samsonasik/refactor-enable-phpunit-attr…
samsonasik Jun 30, 2024
72ef4a6
chore(deps-dev): update rector/rector requirement from 1.1.1 to 1.2.0
dependabot[bot] Jul 1, 2024
e7cb689
Merge pull request #9009 from kenjis/fix-qb-select-rawsql
kenjis Jul 1, 2024
90cff96
Merge pull request #9010 from kenjis/fix-qb-select-null-escape
kenjis Jul 1, 2024
2e6aeb6
Merge pull request #9017 from codeigniter4/dependabot/composer/rector…
samsonasik Jul 2, 2024
1a18064
chore: skip tests View fixtures from rector
samsonasik Jul 2, 2024
4151c12
Merge pull request #9019 from samsonasik/view-fixture-exclude
samsonasik Jul 2, 2024
a9b42fe
Allow string as parameter to version
tangix Jul 4, 2024
20c5c21
Ran CS fixer
tangix Jul 4, 2024
409aa66
Added tests for all versions
tangix Jul 4, 2024
da57987
Fixed code style
tangix Jul 4, 2024
fd16faf
Updated logic to convert to string for comparison
tangix Jul 4, 2024
a6a50cc
Added info to change-log
tangix Jul 4, 2024
cd1f3f5
Merge pull request #9011 from kenjis/docs-validation.rst
kenjis Jul 4, 2024
c50ae9d
Fixing locale-aware issue
tangix Jul 5, 2024
847ee23
fix: `spark phpini:check` may cause TypeError
kenjis Jul 7, 2024
c23375b
Merge pull request #9021 from tangix/fix-curlrequest-version-option
kenjis Jul 7, 2024
517aa33
Merge pull request #9026 from kenjis/fix-spark-phpini-check-TypeError
kenjis Jul 8, 2024
e9f3369
Remove already effective CS rules
paulbalandan Jul 9, 2024
b679711
Depend on main config
paulbalandan Jul 9, 2024
04e7e6b
fix: Prevent invalid session handlers
paulbalandan Jul 9, 2024
98ee5d4
doc: add exception to docblock
christianberkman Jul 9, 2024
a7190d5
doc: add posibility of exception
christianberkman Jul 9, 2024
c4396c3
delete stray empty space
christianberkman Jul 9, 2024
77609b1
fix: DebugBar CSS for daisyUI
kenjis Jul 11, 2024
bebf3f4
Merge pull request #9035 from paulbalandan/dry-cs
paulbalandan Jul 12, 2024
ecf37d9
chore(deps-dev): update rector/rector requirement from 1.2.0 to 1.2.1
dependabot[bot] Jul 16, 2024
d7a9c95
re-run rector
samsonasik Jul 16, 2024
6845989
regenerate phpstan-baseline
samsonasik Jul 16, 2024
0ffe391
Merge pull request #9048 from codeigniter4/dependabot/composer/rector…
samsonasik Jul 16, 2024
17d47f1
Merge pull request #9036 from paulbalandan/session-class
kenjis Jul 17, 2024
c23ff44
Merge pull request #9046 from kenjis/fix-debugbar-daisyUI
kenjis Jul 17, 2024
49ffabb
docs: referrer is undefined
totoprayogo1916 Jul 22, 2024
ecb6c1b
refactor: use `PgSql` classes
paulbalandan Jul 22, 2024
bbc7608
Merge pull request #9059 from totoprayogo1916/patch-2
kenjis Jul 23, 2024
6ea30bf
Merge pull request #9060 from paulbalandan/pgsql-class
paulbalandan Jul 23, 2024
f540b0d
test: add test for route group filter and route filter
kenjis Jul 23, 2024
13f02b3
fix: route group filters are not merged into route filters
kenjis Jul 23, 2024
e580856
docs: add docs
kenjis Jul 23, 2024
8c94deb
chore: fix invalid symbol '"'
paulbalandan Jul 22, 2024
854c73f
Merge pull request #9058 from paulbalandan/invalid-symbol
paulbalandan Jul 23, 2024
ed01a7e
Move tools' dependencies to separate utils directory
paulbalandan Jul 12, 2024
f91db3b
Fix admin/pre-commit
paulbalandan Jul 12, 2024
368bffa
Fix phpstan errors
paulbalandan Jul 12, 2024
e7b7686
Fix rector errors
paulbalandan Jul 12, 2024
2bbf832
Fix php-cs-fixer errors
paulbalandan Jul 12, 2024
8c854b1
Fix GH actions
paulbalandan Jul 12, 2024
8609136
Fix psalm errors
paulbalandan Jul 12, 2024
90ea5c7
Move phpstan and rector to root composer.json
paulbalandan Jul 23, 2024
1192b91
Merge pull request #9047 from paulbalandan/reorganise-toolkit
kenjis Jul 24, 2024
ac82913
docs: remove `<?php` in sample code
kenjis Jul 24, 2024
e22cfa1
docs: remove "uploaded"
kenjis Jul 24, 2024
f44e97c
docs: decorate method name
kenjis Jul 24, 2024
5340d8d
docs: move sentence down
kenjis Jul 24, 2024
8eb777e
docs: Remove $ marks in libraries/email.rst
obozdag Jul 24, 2024
5fc03b7
Merge pull request #9065 from kenjis/docs-files.rst
kenjis Jul 25, 2024
80c5030
chore: update config for mcr.microsoft.com/mssql/server:2022-latest
kenjis Jul 25, 2024
ddb60ed
chore: add -C option
kenjis Jul 25, 2024
8d18ea7
Merge pull request #8851 from obozdag/patch-1
kenjis Jul 25, 2024
3d738fc
docs: update descriptions
kenjis Jul 25, 2024
73141f9
Merge pull request #9071 from kenjis/update-mssql
kenjis Jul 25, 2024
8053635
Apply suggestions from code review
christianberkman Jul 25, 2024
9597237
Merge pull request #9037 from christianberkman/docs-file-getsize
kenjis Jul 25, 2024
eeb71f1
refactor: fix `Throttler::check()` $tokens
paulbalandan Jul 24, 2024
da778b5
Merge pull request #9067 from paulbalandan/phpstan-1.11.8
paulbalandan Jul 25, 2024
f804b55
Use `check` as shorthand for `fix --dry-run`
paulbalandan Jul 24, 2024
4edba3a
Call `composer cs` instead of individual calls
paulbalandan Jul 24, 2024
d62477d
Merge pull request #9066 from paulbalandan/coding-style-scripts
paulbalandan Jul 25, 2024
cbd5024
chore: add composer scripts for phpstan
paulbalandan Jul 25, 2024
4a4c823
chore(deps-dev): update rector/rector requirement from 1.2.1 to 1.2.2
dependabot[bot] Jul 25, 2024
9f76fed
Merge pull request #9076 from codeigniter4/dependabot/composer/rector…
samsonasik Jul 25, 2024
fbcc43a
Merge pull request #9072 from kenjis/docs-query_builder-join
kenjis Jul 25, 2024
3e88f85
Merge pull request #9075 from paulbalandan/phpstan-scripts
kenjis Jul 26, 2024
868961d
docs: add note for Registrars
kenjis Jul 26, 2024
f18b8f2
Merge pull request #9064 from kenjis/fix-route-group-filters
kenjis Jul 26, 2024
75a0d9a
Merge pull request #9077 from kenjis/add-note-for-Registrars
kenjis Jul 26, 2024
94d0aae
Prep for 4.5.4 release
kenjis Jul 27, 2024
dd03593
Merge pull request #9082 from kenjis/release-4.5.4
kenjis Jul 27, 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
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ CONTRIBUTING.md export-ignore

# contributor/development files
tests/ export-ignore
tools/ export-ignore
utils/ export-ignore
.php-cs-fixer.dist.php export-ignore
.php-cs-fixer.no-header.php export-ignore
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-phpunit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ jobs:
mssql:
image: mcr.microsoft.com/mssql/server:2022-latest
env:
SA_PASSWORD: 1Secure*Password1
MSSQL_SA_PASSWORD: 1Secure*Password1
ACCEPT_EULA: Y
MSSQL_PID: Developer
ports:
- 1433:1433
options: >-
--health-cmd="/opt/mssql-tools/bin/sqlcmd -S 127.0.0.1 -U sa -P 1Secure*Password1 -Q 'SELECT @@VERSION'"
--health-cmd="/opt/mssql-tools18/bin/sqlcmd -C -S 127.0.0.1 -U sa -P 1Secure*Password1 -Q 'SELECT @@VERSION'"
--health-interval=10s
--health-timeout=5s
--health-retries=3
Expand Down
13 changes: 2 additions & 11 deletions .github/workflows/test-coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,5 @@ jobs:
- name: Install dependencies
run: composer update --ansi --no-interaction

- name: Run lint on `app/`, `admin/`, `public/`
run: vendor/bin/php-cs-fixer fix --verbose --ansi --dry-run --config=.php-cs-fixer.no-header.php --using-cache=no --diff

- name: Run lint on `system/`, `utils/`, and root PHP files
run: vendor/bin/php-cs-fixer fix --verbose --ansi --dry-run --using-cache=no --diff

- name: Run lint on `tests`
run: vendor/bin/php-cs-fixer fix --verbose --ansi --dry-run --config=.php-cs-fixer.tests.php --using-cache=no --diff

- name: Run lint on `user_guide_src/source/`
run: vendor/bin/php-cs-fixer fix --verbose --ansi --dry-run --config=.php-cs-fixer.user-guide.php --using-cache=no --diff
- name: Run lint
run: composer cs
2 changes: 1 addition & 1 deletion .github/workflows/test-phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ jobs:
run: composer update --ansi --no-interaction

- name: Run static analysis
run: vendor/bin/phpstan analyse
run: composer phpstan:check
4 changes: 2 additions & 2 deletions .github/workflows/test-psalm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
build:
name: Psalm Analysis
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]')"
if: (! contains(github.event.head_commit.message, '[ci skip]'))

steps:
- name: Checkout
Expand Down Expand Up @@ -68,4 +68,4 @@ jobs:
fi

- name: Run Psalm analysis
run: vendor/bin/psalm
run: utils/vendor/bin/psalm
11 changes: 2 additions & 9 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
'ThirdParty',
'Validation/Views',
])
->notPath([
])
->notName('#Foobar.php$#')
->append([
__FILE__,
Expand All @@ -41,17 +39,12 @@
__DIR__ . '/spark',
]);

$overrides = [
// for updating to coding-standard
'modernize_strpos' => true,
'ordered_attributes' => ['order' => [], 'sort_algorithm' => 'alpha'],
'php_unit_attributes' => true,
];
$overrides = [];

$options = [
'cacheFile' => 'build/.php-cs-fixer.cache',
'finder' => $finder,
'customFixers' => FixerGenerator::create('vendor/nexusphp/cs-config/src/Fixer', 'Nexus\\CsConfig\\Fixer'),
'customFixers' => FixerGenerator::create('utils/vendor/nexusphp/cs-config/src/Fixer', 'Nexus\\CsConfig\\Fixer'),
'customRules' => [
NoCodeSeparatorCommentFixer::name() => true,
],
Expand Down
27 changes: 9 additions & 18 deletions .php-cs-fixer.no-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
* the LICENSE file that was distributed with this source code.
*/

use CodeIgniter\CodingStandard\CodeIgniter4;
use Nexus\CsConfig\Factory;
use Nexus\CsConfig\Fixer\Comment\NoCodeSeparatorCommentFixer;
use Nexus\CsConfig\FixerGenerator;
use PhpCsFixer\ConfigInterface;
use PhpCsFixer\Finder;

/** @var ConfigInterface $config */
$config = require __DIR__ . '/.php-cs-fixer.dist.php';

$finder = Finder::create()
->files()
->in([
Expand All @@ -30,19 +30,10 @@
]);

$overrides = [
// for updating to coding-standard
'modernize_strpos' => true,
'ordered_attributes' => ['order' => [], 'sort_algorithm' => 'alpha'],
'php_unit_attributes' => true,
];

$options = [
'cacheFile' => 'build/.php-cs-fixer.no-header.cache',
'finder' => $finder,
'customFixers' => FixerGenerator::create('vendor/nexusphp/cs-config/src/Fixer', 'Nexus\\CsConfig\\Fixer'),
'customRules' => [
NoCodeSeparatorCommentFixer::name() => true,
],
'header_comment' => false,
];

return Factory::create(new CodeIgniter4(), $overrides, $options)->forProjects();
return $config
->setFinder($finder)
->setCacheFile('build/.php-cs-fixer.no-header.cache')
->setRules(array_merge($config->getRules(), $overrides));
36 changes: 9 additions & 27 deletions .php-cs-fixer.tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,47 +11,29 @@
* the LICENSE file that was distributed with this source code.
*/

use CodeIgniter\CodingStandard\CodeIgniter4;
use Nexus\CsConfig\Factory;
use Nexus\CsConfig\Fixer\Comment\NoCodeSeparatorCommentFixer;
use Nexus\CsConfig\FixerGenerator;
use PhpCsFixer\ConfigInterface;
use PhpCsFixer\Finder;

/** @var ConfigInterface $config */
$config = require __DIR__ . '/.php-cs-fixer.dist.php';

$finder = Finder::create()
->files()
->in([
__DIR__ . '/tests',
])
->exclude([
])
->notPath([
'_support/View/Cells/multiplier.php',
'_support/View/Cells/colors.php',
'_support/View/Cells/addition.php',
])
->notName('#Foobar.php$#')
->append([
]);
->notName('#Foobar.php$#');

$overrides = [
'void_return' => true,
// for updating to coding-standard
'modernize_strpos' => true,
'ordered_attributes' => ['order' => [], 'sort_algorithm' => 'alpha'],
'php_unit_attributes' => true,
];

$options = [
'cacheFile' => 'build/.php-cs-fixer.tests.cache',
'finder' => $finder,
'customFixers' => FixerGenerator::create('vendor/nexusphp/cs-config/src/Fixer', 'Nexus\\CsConfig\\Fixer'),
'customRules' => [
NoCodeSeparatorCommentFixer::name() => true,
],
];

return Factory::create(new CodeIgniter4(), $overrides, $options)->forLibrary(
'CodeIgniter 4 framework',
'CodeIgniter Foundation',
'[email protected]'
);
return $config
->setFinder($finder)
->setCacheFile('build/.php-cs-fixer.tests.cache')
->setRules(array_merge($config->getRules(), $overrides));
27 changes: 9 additions & 18 deletions .php-cs-fixer.user-guide.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
* the LICENSE file that was distributed with this source code.
*/

use CodeIgniter\CodingStandard\CodeIgniter4;
use Nexus\CsConfig\Factory;
use Nexus\CsConfig\Fixer\Comment\NoCodeSeparatorCommentFixer;
use Nexus\CsConfig\FixerGenerator;
use PhpCsFixer\ConfigInterface;
use PhpCsFixer\Finder;

/** @var ConfigInterface $config */
$config = require __DIR__ . '/.php-cs-fixer.dist.php';

$finder = Finder::create()
->files()
->in([
Expand All @@ -32,26 +32,17 @@

$overrides = [
'echo_tag_syntax' => false,
'header_comment' => false,
'php_unit_internal_class' => false,
'no_unused_imports' => false,
'class_attributes_separation' => false,
'fully_qualified_strict_types' => [
'import_symbols' => false,
'leading_backslash_in_global_namespace' => true,
],
// for updating to coding-standard
'modernize_strpos' => true,
'ordered_attributes' => ['order' => [], 'sort_algorithm' => 'alpha'],
'php_unit_attributes' => true,
];

$options = [
'cacheFile' => 'build/.php-cs-fixer.user-guide.cache',
'finder' => $finder,
'customFixers' => FixerGenerator::create('vendor/nexusphp/cs-config/src/Fixer', 'Nexus\\CsConfig\\Fixer'),
'customRules' => [
NoCodeSeparatorCommentFixer::name() => true,
],
];

return Factory::create(new CodeIgniter4(), $overrides, $options)->forProjects();
return $config
->setFinder($finder)
->setCacheFile('build/.php-cs-fixer.user-guide.cache')
->setRules(array_merge($config->getRules(), $overrides));
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# Changelog

## [v4.5.4](https://github.com/codeigniter4/CodeIgniter4/tree/v4.5.3) (2024-07-27)
[Full Changelog](https://github.com/codeigniter4/CodeIgniter4/compare/v4.5.3...v4.5.4)

### Fixed Bugs

* fix: [OCI8] Easy Connect string validation by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/9006
* fix: [QueryBuilder] select() with RawSql may cause TypeError by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/9009
* fix: [QueryBuilder] `select()` does not escape after `NULL` by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/9010
* fix: allow string as parameter to CURLRequest version by @tangix in https://github.com/codeigniter4/CodeIgniter4/pull/9021
* fix: `spark phpini:check` may cause TypeError by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/9026
* fix: Prevent invalid session handlers by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/9036
* fix: DebugBar CSS for daisyUI by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/9046
* docs: `referrer` is undefined by @totoprayogo1916 in https://github.com/codeigniter4/CodeIgniter4/pull/9059
* fix: filters passed to the ``$routes->group()`` are not merged into the filters passed to the inner routes by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/9064

### Refactoring

* refactor: use first class callable on function call by @samsonasik in https://github.com/codeigniter4/CodeIgniter4/pull/9004
* refactor: enable AddClosureVoidReturnTypeWhereNoReturnRector to add void return on closure by @samsonasik in https://github.com/codeigniter4/CodeIgniter4/pull/9008
* refactor: enable AddFunctionVoidReturnTypeWhereNoReturnRector to add void to functions by @samsonasik in https://github.com/codeigniter4/CodeIgniter4/pull/9014
* refactor: Enable phpunit 10 attribute Rector rules by @samsonasik in https://github.com/codeigniter4/CodeIgniter4/pull/9015
* refactor: fix `Throttler::check()` $tokens by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/9067

## [v4.5.3](https://github.com/codeigniter4/CodeIgniter4/tree/v4.5.3) (2024-06-25)
[Full Changelog](https://github.com/codeigniter4/CodeIgniter4/compare/v4.5.2...v4.5.3)

Expand Down
35 changes: 20 additions & 15 deletions admin/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,22 @@
>
> -MGatner, kenjis

## Merge `develop` branch into next minor version branch `4.x`
## Notation

- `4.x.x`: The new release version. (e.g., `4.5.3`)
- `4.y`: The next minor version. (e.g., `4.6`)
- `4.z`: The next next minor version. (e.g., `4.7`)

## Merge `develop` branch into next minor version branch `4.y`

Before starting release process, if there are commits in `develop` branch that
are not merged into `4.x` branch, merge them. This is because if conflicts occur,
are not merged into `4.y` branch, merge them. This is because if conflicts occur,
merging will take time.

```console
git fetch upstream
git switch 4.x
git merge upstream/4.x
git switch 4.y
git merge upstream/4.y
git merge upstream/develop
git push upstream HEAD
```
Expand All @@ -24,11 +30,10 @@ git push upstream HEAD

If you release a new minor version.

* [ ] Create PR to merge `4.x` into `develop` and merge it
* [ ] Create PR to merge `4.y` into `develop` and merge it
* [ ] Rename the current minor version (e.g., `4.5`) in Setting > Branches >
"Branch protection rules" to the next minor version. E.g. `4.5` → `4.6`
* [ ] Delete the merged `4.x` branch (This closes all PRs to the branch)
* Do the regular release process. Go to the next "Changelog" section
* [ ] Delete the merged `4.y` branch (This closes all PRs to the branch)

## Changelog

Expand Down Expand Up @@ -90,8 +95,8 @@ Work off direct clones of the repos so the release branches persist for a time.
* [ ] Replace **CHANGELOG.md** with the new version generated above
* [ ] Update **user_guide_src/source/changelogs/v4.x.x.rst**
* 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**
* [ ] Update **user_guide_src/source/installation/upgrade_4xx.rst**
* [ ] fill in the "All Changes" section, and add it to **upgrade_4xx.rst**
* git diff --name-status origin/master -- . ':!system' ':!tests' ':!user_guide_src'
* Note: `tests/` is not used for distribution repos. See `admin/starter/tests/`
* [ ] Remove the section titles that have no items
Expand Down Expand Up @@ -137,7 +142,7 @@ Work off direct clones of the repos so the release branches persist for a time.
## New Contributors
*

**Full Changelog**: https://github.com/codeigniter4/CodeIgniter4/compare/v4.x.x...v4.x.x
**Full Changelog**: https://github.com/codeigniter4/CodeIgniter4/compare/v4.x.w...v4.x.x
```
Click the "Generate release notes" button, and get the "New Contributors".
* [ ] Watch for the "Deploy Distributable Repos" action to make sure **framework**,
Expand All @@ -164,19 +169,19 @@ Work off direct clones of the repos so the release branches persist for a time.
git merge origin/master
git push origin HEAD
```
* [ ] Update the next minor version branch `4.x`:
* [ ] Update the next minor version branch `4.y`:
```console
git fetch origin
git checkout 4.x
git merge origin/4.x
git checkout 4.y
git merge origin/4.y
git merge origin/develop
git push origin HEAD
```
* [ ] [Minor version only] Create the new next minor version branch `4.x`:
* [ ] [Minor version only] Create the new next minor version branch `4.z`:
```console
git fetch origin
git switch develop
git switch -c 4.x
git switch -c 4.z
git push origin HEAD
```
* [ ] Request CVEs and Publish any Security Advisories that were resolved from private forks
Expand Down
5 changes: 5 additions & 0 deletions admin/css/debug-toolbar/toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
}

h2 {
font-weight: bold;
font-size: $base-size;
margin: 0;
padding: 5px 0 10px 0;
Expand Down Expand Up @@ -292,6 +293,8 @@

// The tabs container
.tab {
height: fit-content;
text-align: left;
bottom: 35px;
display: none;
left: 0;
Expand All @@ -306,6 +309,8 @@

// The "Timeline" tab
.timeline {
position: static;
display: table;
margin-left: 0;
width: 100%;

Expand Down
Loading
Loading