8000 Release updates by bobvandevijver · Pull Request #3530 · bolt/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Release updates #3530

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

Merged
merged 16 commits into from
Mar 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 0 additions & 4 deletions .github/FUNDING.yml

This file was deleted.

29 changes: 15 additions & 14 deletions .github/workflows/a11y_tests.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
name: Accessibility (a11y) Tests

on:
pull_request:
workflow_dispatch:
# Disabled, as they are currently broken. See #3531
# pull_request:

jobs:
a11y_tests:
strategy:
fail-fast: false
matrix:
php-version: ['7.2']
node-version: ['12.5']
php-version: ['8.2']
node-version: ['20']
actions:
-
name: Run pa11yci
Expand All @@ -19,12 +21,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# see https://github.com/actions/starter-workflows/blob/main/ci/node.js.yml
-
name: Use Node.js 12.5
uses: actions/setup-node@v1
name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
coverage: none
Expand All @@ -34,13 +36,12 @@ jobs:
php-version: ${{ matrix.php-version }}
extensions: json, mbstring, pdo, curl, pdo_sqlite
coverage: none
- name: Install dependencies
run: |
sudo composer self-update -q
sudo COMPOSER_MEMORY_LIMIT=-1 COMPOSER_PROCESS_TIMEOUT=60 composer update --prefer-dist --no-progress
./bin/console bolt:info --ansi
npm set progress=false
npm ci
- name: Install composer dependencies
run: composer install --prefer-dist --no-progress
- name: Show Bolt info
run: ./bin/console bolt:info --ansi
- name: Install NPM dependencies
run: npm ci
- name: Prepare environment
run: |
# build assets
Expand All @@ -53,6 +54,6 @@ jobs:
./bin/console server:start 127.0.0.1:8088
# test if web server works
sleep 3
wget "http://127.0.0.1:8088/bolt/login"
curl --silent --show-error --fail "http://127.0.0.1:8088/bolt/login"

- run: ${{ matrix.actions.run }}
10 changes: 3 additions & 7 deletions .github/workflows/api_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,15 @@ jobs:
name: curl tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
# test the lowest version, to make sure checks pass on it
php-version: ${{ matrix.php-version }}
extensions: json, mbstring, pdo, curl, pdo_sqlite
coverage: none
- name: Initialise
run: |
sudo composer self-update -q
- name: Install dependencies
run: |
sudo COMPOSER_MEMORY_LIMIT=-1 COMPOSER_PROCESS_TIMEOUT=60 composer update --prefer-dist --no-progress
- name: Install composer dependencies
run: composer install --prefer-dist --no-progress
- name: Initialise the database
run: |
sudo chmod -R 777 config/ public/files/ public/theme/ public/thumbs/ var/
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/assets_code_analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# see https://github.com/actions/starter-workflows/blob/main/ci/node.js.yml
-
name: Use Node.js 12.5
uses: actions/setup-node@v1
name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 12.5
node-version: 20

# same as "npm install", just uses package-lock.json", see https://stackoverflow.com/a/53325242/1348344
- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code_analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
# see https://github.com/shivammathur/setup-php
- uses: shivammathur/setup-php@v2
with:
Expand Down
33 changes: 18 additions & 15 deletions .github/workflows/cypress_tests.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Cypress Tests

on:
pull_request:
workflow_dispatch:
# Disabled, as they are currently broken. See #3531
# pull_request:

jobs:
cypress-tests:
Expand All @@ -16,31 +18,32 @@ jobs:
matrix:
containers: [1, 2, 3] # number of parallel containers
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
# test the lowest version, to make sure checks pass on it
php-version: 7.2
php-version: 8.2
extensions: json, mbstring, pdo, curl, pdo_sqlite
coverage: none
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: 12.5
node-version: 20
# See https://github.community/t/sudo-apt-install-fails-with-failed-to-fetch-http-security-ubuntu-com-404-not-found-ip/17075
- run: sudo apt update
- name: Install dependencies
- name: Install composer dependencies
run: composer install --prefer-dist --no-progress
- name: Show Bolt info
run: ./bin/console bolt:info --ansi
- name: Install NPM dependencies
run: npm ci
- name: Install other dependencies
run: |
sudo composer self-update -q
sudo COMPOSER_MEMORY_LIMIT=-1 COMPOSER_PROCESS_TIMEOUT=60 composer update --prefer-dist --no-progress
./bin/console bolt:info --ansi
npm set progress=false
npm ci
mkdir -p ./var/log/e2e-reports/report/features/
touch ./var/log/e2e-reports/report/features/.gitkeep
# Install latest stable Chrome for e2e tests
sudo apt --fix-broken install
sudo apt-get install libxss1 libappindicator1 libindicator7
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt-get install libxss1 libindicator7
wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome*.deb
- name: Prepare environment
run: |
Expand All @@ -55,7 +58,7 @@ jobs:
./bin/console server:start 127.0.0.1:8088
# test if web server works
sleep 3
wget "http://127.0.0.1:8088/bolt/login"
curl --silent --show-error --fail "http://127.0.0.1:8088/bolt/login"

- name: Cypress run
uses: cypress-io/github-action@v2
Expand All @@ -64,7 +67,7 @@ jobs:
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.CYPRESS_GITHUB_TOKEN }}
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-evidence
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/unit_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,14 @@ jobs:
name: PHPUnit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
# test the lowest version, to make sure checks pass on it
php-version: ${{ matrix.php-version }}
extensions: json, mbstring, pdo, curl, pdo_sqlite
coverage: none
- name: Initialise
run: |
sudo composer self-update -q
- name: Install dependencies
run: |
sudo COMPOSER_MEMORY_LIMIT=-1 COMPOSER_PROCESS_TIMEOUT=60 composer update --prefer-dist --no-progress --no-scripts
- name: Install composer dependencies
run: composer install --prefer-dist --no-progress
- name: run PHP Unit
run: ./vendor/bin/phpunit
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,6 @@ appveyor.yml

###> phpunit/phpunit ###
/phpunit.xml
/.phpunit.result.cache
###< phpunit/phpunit ###

142 changes: 92 additions & 50 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,67 +1,54 @@
Changelog
=========

## 5.1.24

Released: 2023-02-19
## 5.2.1

### 🐛 Bug fixes
Released: 2025-03-06

- Fixed thumbnail sizes, which did not fit because of a incomplete RegEx replace #3411
- Fix default thumbnail crop config #3403
- Update `UserFixtures.php`
- Strict use of strings as keys in TaxonomyFixtures #3415
Fixes the internal version numbers to reflect the latest 5.2.1 release.

## 5.2.0

## 5.1.23
Released: 2025-03-06

Released: 2023-02-03
It has been some time since the last release as the main maintainer and my namesake has passed last year (rest in peace Bob).

### 🐛 Bug fixes
From a recent discussion three new maintainers have been granted access to the project, which means we are now able to move forward with this awesome project. The main goal for future releases is to clean up deprecations and update to Symfony 7.4 when released at the end of this year.

- Partial reverse of #3395, we really need those \Iterators #3400
This release is almost the same as 5.2.0-rc1 release, with only one additional fix.

## 5.2.0 Beta 4 - 5.2.0 RC 1

## 5.1.22
These changes were never documented in this file.

Released: 2023-01-31

### 🐛 Bug fixes

- Fix language switcher failing to set a default "type" value #3398
- Fix excerpt of search result when there is no whitespace after search… #3399


## 5.1.21

Released: 2023-01-27

### 🐛 Bug fixes

- Fix PHPStan errors (on PHP 8.x) #3395



## 5.1.20

Released: 2023-01-20

### 🐛 Bug fixes

- Do not display twig value for SetField #3390


## 5.1.19

Released: 2022-12-08

### 🐛 Bug fixes

- Pass other `_route_params` into a forwarded request #3342
- Fix excerpt when content would be too short _after_ trimming #3367
- Make `guesstimateAuthor` return type nullable #3358
- Made the `isCurrent`-filter remove the current locale #3368
Please take a look at the GitHub releases for more information:

- https://github.com/bolt/core/releases/tag/5.2.0-rc.1
- https://github.com/bolt/core/releases/tag/5.2.0-beta.26
- https://github.com/bolt/core/releases/tag/5.2.0-beta.25
- https://github.com/bolt/core/releases/tag/5.2.0-beta.24.1
- https://github.com/bolt/core/releases/tag/5.2.0-beta.24
- https://github.com/bolt/core/releases/tag/5.2.0-beta.23
- https://github.com/bolt/core/releases/tag/5.2.0-beta.22
- https://github.com/bolt/core/releases/tag/5.2.0-beta.21
- https://github.com/bolt/core/releases/tag/5.2.0-beta.20
- https://github.com/bolt/core/releases/tag/5.2.0-beta.18.1
- https://github.com/bolt/core/releases/tag/5.2.0-beta.18
- https://github.com/bolt/core/releases/tag/5.2.0-beta.17
- https://github.com/bolt/core/releases/tag/5.2.0-beta.16
- https://github.com/bolt/core/releases/tag/5.2.0-beta.15.1
- https://github.com/bolt/core/releases/tag/5.2.0-beta.15
- https://github.com/bolt/core/releases/tag/5.2.0-beta.14
- https://github.com/bolt/core/releases/tag/5.2.0-beta.13
- https://github.com/bolt/core/releases/tag/5.2.0-beta.12
- https://github.com/bolt/core/releases/tag/5.2.0-beta.11
- https://github.com/bolt/core/releases/tag/5.2.0-beta.10
- https://github.com/bolt/core/releases/tag/5.2.0-beta.9
- https://github.com/bolt/core/releases/tag/5.2.0-beta.8
- https://github.com/bolt/core/releases/tag/5.2.0-beta.7
- https://github.com/bolt/core/releases/tag/5.2.0-beta.6
- https://github.com/bolt/core/releases/tag/5.2.0-beta.5
- https://github.com/bolt/core/releases/tag/5.2.0-beta.4

## 5.2.0 Beta 3

Expand Down Expand Up @@ -109,6 +96,61 @@ Released: 2022-07-05
- Add `isTranslatable` condition in `get`-method [#3250](https://github.com/bolt/core/pull/3250)
- Additional fix for `type: number` field, set default to `min: 0`. [#3252](https://github.com/bolt/core/pull/3252)

## 5.1.24

Released: 2023-02-19

### 🐛 Bug fixes

- Fixed thumbnail sizes, which did not fit because of a incomplete RegEx replace #3411
- Fix default thumbnail crop config #3403
- Update `UserFixtures.php`
- Strict use of strings as keys in TaxonomyFixtures #3415

## 5.1.23

Released: 2023-02-03

### 🐛 Bug fixes

- Partial reverse of #3395, we really need those \Iterators #3400

## 5.1.22

Released: 2023-01-31

### 🐛 Bug fixes

- Fix language switcher failing to set a default "type" value #3398
- Fix excerpt of search result when there is no whitespace after search… #3399

## 5.1.21

Released: 2023-01-27

### 🐛 Bug fixes

- Fix PHPStan errors (on PHP 8.x) #3395

## 5.1.20

Released: 2023-01-20

### 🐛 Bug fixes

- Do not display twig value for SetField #3390

## 5.1.19

Released: 2022-12-08

### 🐛 Bug fixes

- Pass other `_route_params` into a forwarded request #3342
- Fix excerpt when content would be too short _after_ trimming #3367
- Make `guesstimateAuthor` return type nullable #3358
- Made the `isCurrent`-filter remove the current locale #3368

## 5.1.18

Released: 2022-10-28
Expand Down
Loading
0