Skip to content

Commit 652e310

Browse files
mnoconadriendupuisdabrt
committed
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 74a4f36 commit 652e310

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
@@ -439,7 +439,79 @@ Run the following scripts:
439439

440440
### v3.3.40
441441

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

444516
## Finish the update
445517

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
@@ -146,9 +146,9 @@ If the new bundle `ibexa/core-search` has not been added by the recipes, enable
146146

147147
## v4.6.13
148148

149-
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).
149+
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).
150150

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

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

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

696696
# Global variables - latest tag versions
697697
latest_tag_2_5: '2.5.32'
698-
latest_tag_3_3: '3.3.40'
698+
latest_tag_3_3: '3.3.41'
699699
latest_tag_4_0: '4.0.8'
700700
latest_tag_4_1: '4.1.5'
701701
latest_tag_4_2: '4.2.4'
702702
latest_tag_4_3: '4.3.5'
703703
latest_tag_4_4: '4.4.4'
704704
latest_tag_4_5: '4.5.7'
705-
latest_tag_4_6: '4.6.13'
705+
latest_tag_4_6: '4.6.14'
706706

707707
symfony_doc: 'http://symfony.com/doc/5.4'
708708
user_doc: 'https://doc.ibexa.co/projects/userguide/en/master'

0 commit comments

Comments
 (0)