Skip to content

Commit d5eabd9

Browse files
mnoconadriendupuisdabrt
authored
Update doc for 4.6.14 and 3.3.41 (#2553)
* Updated 3.3 and 4.6 release variables * Added update instructions * Fixed headings * Formatting fixes * Added mention about Apache and Nginx * Heading changes * Fixed Varnish link * Reworded lack of update steps * Update docs/update_and_migration/from_3.3/update_from_3.3.md Co-authored-by: Adrien Dupuis <[email protected]> * Review: added BREACH explanantion and mentioned another webserver template change * Apply suggestions from code review Co-authored-by: Tomasz Dąbrowski <[email protected]> * Applied review suggestions and added advisory links * Fixed typo * Review fixes - Content-Type, EOL space, command descripition fixed for 4.6 * Command fixes --------- Co-authored-by: Adrien Dupuis <[email protected]> Co-authored-by: Tomasz Dąbrowski <[email protected]>
1 parent cceaa73 commit d5eabd9

File tree

3 files changed

+148
-8
lines changed

3 files changed

+148
-8
lines changed

docs/update_and_migration/from_3.3/update_from_3.3.md

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,79 @@ Run the following scripts:
441441

442442
### v3.3.40
443443

444-
A command to deal with duplicated database entries, as reported in [IBX-8562](https://issues.ibexa.co/browse/IBX-8562), will be available soon.
444+
No additional steps needed.
445+
446+
### v3.3.41
447+
448+
#### Security
449+
450+
This release contains security fixes.
451+
For more information, see [the published security advisory](https://developers.ibexa.co/security-advisories/ibexa-sa-2024-006-vulnerabilities-in-content-name-pattern-commerce-shop-and-varnish-vhost-templates).
452+
For each of the following fixes, evaluate the vulnerability to determine whether you might have been affected.
453+
If so, take appropriate action, for example by [revoking passwords](https://doc.ibexa.co/en/latest/users/passwords/#revoking-passwords) for all affected users.
454+
455+
##### <abbr title="Browser Reconnaissance & Exfiltration via Adaptive Compression of Hypertext">BREACH</abbr> vulnerability
456+
457+
The [BREACH](https://www.breachattack.com/) attack is a security vulnerability against HTTPS when using HTTP compression.
458+
459+
If you're using Varnish, update the VCL configuration to stop compressing both the [[= product_name =]]'s REST API and JSON responses from your backend.
460+
Fastly users are not affected.
461+
462+
=== "Varnish on [[= product_name_cloud =]]"
463+
464+
Update the Varnish configuration.
465+
466+
Generate new configuration with the following command:
467+
468+
```bash
469+
composer ibexa:setup --platformsh
470+
```
471+
472+
Review the changes, merge with your custom settings if needed, and commit them to Git before deployment.
473+
474+
=== "Varnish 6"
475+
476+
Update your Varnish VCL file to align it with the [`vendor/ezsystems/ezplatform-http-cache/docs/varnish/vcl/varnish5.vcl`](https://github.com/ezsystems/ezplatform-http-cache/blob/2.3/docs/varnish/vcl/varnish5.vcl) file.
477+
478+
=== "Varnish 7"
479+
480+
Update your Varnish VCL file to align it with the [`vendor/ezsystems/ezplatform-http-cache/docs/varnish/vcl/varnish7.vcl`](https://github.com/ezsystems/ezplatform-http-cache/blob/2.3/docs/varnish/vcl/varnish7.vcl) file.
481+
```
482+
483+
If you're not using a reverse proxy like Varnish or Fastly, adjust the compressed `Content-Type` in the web server configuration.
484+
For more information, see the [updated Apache and nginx template configuration](https://github.com/ibexa/post-install/pull/86/files).
485+
486+
##### Outdated version of jQuery in ibexa/ezcommerce-shop package
487+
488+
There are no additional update steps to execute.
489+
490+
#### Other changes
491+
492+
##### Remove duplicated entries in `ezcontentobject_attribute` table
493+
494+
This release comes with a command to clean up duplicated entries in the `ezcontentobject_attribute` table, which were created due to an issue described in [IBX-8562](https://issues.ibexa.co/browse/IBX-8562).
495+
496+
If you're affected, remove the duplicated entries by running the following command:
497+
``` bash
498+
php bin/console ibexa:content:remove-duplicate-fields
499+
```
500+
501+
!!! caution
502+
503+
Remember about [**proper database backup**](backup.md) before running the command in the production environment.
504+
505+
You can customize the behavior of the command with the following options:
506+
507+
- `--batch-size` or `-b` - number of attributes affected per iteration. Default value = 10000.
508+
- `--max-iterations` or `-i` - maximum iterations count. Default value = -1 (unlimited).
509+
- `--sleep` or `-s` - wait time between iterations, in milliseconds. Default value = 0.
510+
511+
##### Update web server configuration
512+
513+
Adjust the web server configuration to prevent direct access to the `index.php` file when using URLs consisting of multiple path segments.
514+
515+
See [the updated Apache and nginx template files](https://github.com/ibexa/post-install/pull/70/files) for more information.
516+
445517

446518
## Finish the update
447519

docs/update_and_migration/from_4.6/update_from_4.6.md

Lines changed: 73 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,9 @@ If the new bundle `ibexa/core-search` has not been added by the recipes, enable
147147

148148
## v4.6.13
149149

150-
This release comes with a command to clean up the duplicated entries in the `ezcontentobject_attribute` table, caused by the issue described in [IBX-8562](https://issues.ibexa.co/browse/IBX-8562).
150+
This release comes with a command to clean up duplicated entries in the `ezcontentobject_attribute` table, which were created due to an issue described in [IBX-8562](https://issues.ibexa.co/browse/IBX-8562).
151151

152-
If you're affected you can remove the duplicated entries by running the following command:
152+
If you're affected, remove the duplicated entries by running the following command:
153153
``` bash
154154
php bin/console ibexa:content:remove-duplicate-fields
155155
```
@@ -160,6 +160,74 @@ php bin/console ibexa:content:remove-duplicate-fields
160160

161161
You can customize the behavior of the command with the following options:
162162

163-
- `batch-size` or `b` - number of attributes affected per iteration. Default value = 10000.
164-
- `max-iterations` or `i` - max. iterations count (default or -1: unlimited). Default value = -1.
165-
- `sleep` or `s` - wait time between iterations, in milliseconds. Default value = 0.
163+
- `--batch-size` or `-b` - number of attributes affected per iteration. Default value = 10000.
164+
- `--max-iterations` or `-i` - maximum iterations count. Default value = -1 (unlimited).
165+
- `--sleep` or `-s` - wait time between iterations, in milliseconds. Default value = 0.
166+
167+
## v4.6.14
168+
169+
### Security
170+
171+
This release contains security fixes.
172+
For more information, see [the published security advisory](https://developers.ibexa.co/security-advisories/ibexa-sa-2024-006-vulnerabilities-in-content-name-pattern-commerce-shop-and-varnish-vhost-templates).
173+
For each of the following fixes, evaluate the vulnerability to determine whether you might have been affected.
174+
If so, take appropriate action, for example by [revoking passwords](https://doc.ibexa.co/en/latest/users/passwords/#revoking-passwords) for all affected users.
175+
176+
#### <abbr title="Browser Reconnaissance & Exfiltration via Adaptive Compression of Hypertext">BREACH</abbr> vulnerability
177+
178+
The [BREACH](https://www.breachattack.com/) attack is a security vulnerability against HTTPS when using HTTP compression.
179+
180+
If you're using Varnish, update the VCL configuration to stop compressing both the [[= product_name =]]'s REST API and JSON responses from your backend.
181+
Fastly users are not affected.
182+
183+
=== "Varnish on [[= product_name_cloud =]]"
184+
185+
Update Platform.sh configuration and scripts.
186+
187+
Generate new configuration with the following command:
188+
189+
```bash
190+
composer ibexa:setup --platformsh
191+
```
192+
193+
Review the changes, merge with your custom settings if needed, and commit them to Git before deployment.
194+
195+
=== "Varnish 6"
196+
197+
Update your Varnish VCL file to align it with the [`vendor/ibexa/http-cache/docs/varnish/vcl/varnish6.vcl`](https://github.com/ibexa/http-cache/blob/4.6/docs/varnish/vcl/varnish6.vcl) file.
198+
199+
=== "Varnish 7"
200+
201+
Update your Varnish VCL file to align it with the [`vendor/ibexa/http-cache/docs/varnish/vcl/varnish7.vcl`](https://github.com/ibexa/http-cache//blob/4.6/docs/varnish/vcl/varnish7.vcl) file.
202+
```
203+
204+
If you're not using a reverse proxy like Varnish or Fastly, adjust the compressed `Content-Type` in the web server configuration.
205+
For more information, see the [updated Apache and nginx template configuration](https://github.com/ibexa/post-install/pull/86/files).
206+
207+
#### XSS in Content name pattern
208+
209+
There are no additional update steps to execute.
210+
211+
#### Outdated version of jQuery in ibexa/ezcommerce-shop package
212+
213+
Only users of the [old Commerce solution](update_from_4.3_old_commerce.md) are affected.
214+
There are no additional update steps to execute.
215+
216+
### Other changes
217+
218+
#### Disable translations of identifiers in Product Catalog's categories
219+
220+
The possibility of translating identifiers and parent information for the Categories in Product Catalog might lead to data consistency issues.
221+
222+
Disable it by running the following migration:
223+
224+
``` bash
225+
php bin/console ibexa:migrations:import vendor/ibexa/product-catalog/src/bundle/Resources/migrations/2024_07_25_07_00_non_translatable_product_categories.yaml --name=2024_07_25_07_00_non_translatable_product_categories.yaml
226+
php bin/console ibexa:migrations:migrate --file=2024_07_25_07_00_non_translatable_product_categories.yaml
227+
```
228+
229+
#### Update web server configuration
230+
231+
Adjust the web server configuration to prevent direct access to the `index.php` file when using URLs consisting of multiple path segments.
232+
233+
See [the updated Apache and nginx template files](https://github.com/ibexa/post-install/pull/70/files) for more information.

mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -923,14 +923,14 @@ extra:
923923

924924
# Global variables - latest tag versions
925925
latest_tag_2_5: '2.5.32'
926-
latest_tag_3_3: '3.3.40'
926+
latest_tag_3_3: '3.3.41'
927927
latest_tag_4_0: '4.0.8'
928928
latest_tag_4_1: '4.1.5'
929929
latest_tag_4_2: '4.2.4'
930930
latest_tag_4_3: '4.3.5'
931931
latest_tag_4_4: '4.4.4'
932932
latest_tag_4_5: '4.5.7'
933-
latest_tag_4_6: '4.6.13'
933+
latest_tag_4_6: '4.6.14'
934934

935935
symfony_doc: 'https://symfony.com/doc/5.4'
936936
user_doc: 'https://doc.ibexa.co/projects/userguide/en/master'

0 commit comments

Comments
 (0)