You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+70-46
Original file line number
Diff line number
Diff line change
@@ -2,50 +2,9 @@ The upgrade instructions are available at [Oro documentation website](https://do
2
2
3
3
The current file describes significant changes in the code that may affect the upgrade of your customizations.
4
4
5
-
## UNRELEASED
6
-
7
-
### Changed
8
-
9
-
#### ApiBundle
10
-
* Removed support of `{@feature}` placeholder in API documentation. It was done because API documentation should not
11
-
depend on the application configuration changes made by users.
12
-
13
-
#### EntityBundle
14
-
* Refactored JS `EntityStructureDataProvider`[[?]](https://github.com/oroinc/platform/tree/master/src/Oro/Bundle/EntityBundle/Resources/public/js/app/services/entity-structure-data-provider.js) (see [documentation](https://doc.oroinc.com/master/bundles/platform/EntityBundle/entity-structure-data-provider/))
15
-
- method `getPropertyPathByPath` renamed to `getRelativePropertyPathByPath`
16
-
- method `getPathByPropertyPath` renamed to `getPathByRelativePropertyPath`
17
-
- method `getPathByPropertyPathSafely` renamed to `getPathByRelativePropertyPathSafely`
18
-
19
-
#### FormBundle
20
-
* Refactored `ExpressionEditorView`[[?]](https://github.com/oroinc/platform/blob/master/src/Oro/Bundle/FormBundle/Resources/public/js/app/views/expression-editor-view.js) (see [documentation](https://doc.oroinc.com/master/bundles/platform/FormBundle/expression-editor/#expressioneditorview))
21
-
* Refactored `ExpressionEditorUtil`[[?]](https://github.com/oroinc/platform/tree/master/src/Oro/Bundle/FormBundle/Resources/public/js/expression-editor-util.js) (see [documentation](https://doc.oroinc.com/master/bundles/platform/FormBundle/expression-editor/#expressioneditorutil))
22
-
* made it descendant of `BaseClass`
23
-
* changed options format
24
-
25
-
#### QueryDesignerBundle
26
-
* JS `*-filter-initialized` modules, defined over `init_module` option in filter configuration, now expected to export a sync callback function
27
-
28
-
### Added
29
-
30
-
#### EntityBundle
31
-
* Added method `getEntityTreeNodeByPropertyPath` to JS `EntityStructureDataProvider` (see [documentation](https://doc.oroinc.com/master/bundles/platform/EntityBundle/entity-structure-data-provider#get-entitytreenode-by-property-path))
32
-
* Added magic property `entityTree` to `EntityStructureDataProvider` (see [documentation](https://doc.oroinc.com/master/bundles/platform/EntityBundle/entity-structure-data-provider#entity-tree)) that allows walk through entity fields tree
33
-
* Added JS `EntityTreeNode` that is used in `EntityStructureDataProvider`
34
-
35
-
#### FormBundle
36
-
* Added JS `ExpressionEditorComponent` (see [documentation](https://doc.oroinc.com/master/bundles/platform/FormBundle/expression-editor#expressioneditorcomponent) that used instead regular `ViewComponent` in formtype options of rule editor. It's designed to prepare instance of `EntityStructureDataProvider` and create instance of `ExpressionEditorView`
37
-
expression-editor-component.js
38
-
39
-
#### UIBundle
40
-
* Added `renderCollapsibleWysiwygContentPreview` and `renderWysiwygContentPreview` TWIG macros to UIBundle for
41
-
rendering WYSIWYG content in backoffice.
42
-
43
-
#### CurrencyBundle
44
-
* Added supporting of the `readonly` attribute in `\Oro\Bundle\CurrencyBundle\Form\Type\PriceType`.
45
-
46
5
## Changes in the Platform package versions
47
6
48
-
-[6.0.0-RC](#600-rc-2024-02-29)
7
+
-[6.0.0](#600-2024-03-30)
49
8
-[5.1.0](#510-2023-03-31)
50
9
-[5.0.0](#500-2022-01-26)
51
10
-[4.2.10](#4210)
@@ -64,8 +23,8 @@ The current file describes significant changes in the code that may affect the u
64
23
-[2.2.0](#220-2017-05-31)
65
24
-[2.1.0](#210-2017-03-30)
66
25
67
-
## 6.0.0-RC (2024-02-29)
68
-
[Show detailed list of changes](incompatibilities-6-0-rc.md)
26
+
## 6.0.0 (2024-03-30)
27
+
[Show detailed list of changes](incompatibilities-6-0.md)
69
28
70
29
### Security Changes
71
30
@@ -235,8 +194,63 @@ api:
235
194
#### PlatformBundle
236
195
* Added `\Oro\Bundle\PlatformBundle\Validator\Constraints\ValidEmbeddable` that allows to apply `Valid` constraint with explicit validation groups specified in `embeddedGroups` option.
237
196
197
+
#### EmailBundle
198
+
* Added the email template inheritance feature that provides an ability to extend an email template from parent one.
199
+
* Added `oro_email.email_template_wysiwyg_enabled` system config setting allowing to toggle WYSIWYG an Email Template create/edit page. Now WYSIWYG is turned off by default. It is not recommended to turn it on if you are using the email template inheritance feature as it may break template syntax.
200
+
* Added `\Oro\Bundle\EmailBundle\Provider\RenderedEmailTemplateProvider` as an entry point to get a rendered email template by criteria.
201
+
* Added `\Oro\Bundle\EmailBundle\Sender\EmailTemplateSender` as an entry point to render email template and send it to recipients.
202
+
* Added `\Oro\Bundle\EmailBundle\Factory\EmailModelFromEmailTemplateFactory` as an entry point to render an email template and create an email model ready to be sent.
203
+
* Added `\Oro\Bundle\EmailBundle\Provider\EmailTemplateContextProvider` that dispatches `\Oro\Bundle\EmailBundle\Event\EmailTemplateContextCollectEvent` to collect email template context (e.g. localization) needed for its searching and rendering.
204
+
* Added `\Oro\Bundle\EmailBundle\Controller\AjaxEmailController::compileEmailAction` to use it for email template rendering instead of `\Oro\Bundle\EmailBundle\Controller\Api\Rest\EmailTemplateController::getCompiledAction` in a Compose Email dialog.
205
+
206
+
#### EntityBundle
207
+
* Added method `getEntityTreeNodeByPropertyPath` to JS `EntityStructureDataProvider` (see [documentation](https://doc.oroinc.com/master/bundles/platform/EntityBundle/entity-structure-data-provider#get-entitytreenode-by-property-path))
208
+
* Added magic property `entityTree` to `EntityStructureDataProvider` (see [documentation](https://doc.oroinc.com/master/bundles/platform/EntityBundle/entity-structure-data-provider#entity-tree)) that allows walk through entity fields tree
209
+
* Added JS `EntityTreeNode` that is used in `EntityStructureDataProvider`
210
+
211
+
#### FormBundle
212
+
* Added JS `ExpressionEditorComponent` (see [documentation](https://doc.oroinc.com/master/bundles/platform/FormBundle/expression-editor#expressioneditorcomponent) that used instead regular `ViewComponent` in formtype options of rule editor. It's designed to prepare instance of `EntityStructureDataProvider` and create instance of `ExpressionEditorView`
213
+
expression-editor-component.js
214
+
* Added `\Oro\Bundle\FormBundle\Validator\Constraints\UniqueEntity` validation constraint and validator.
215
+
216
+
#### UIBundle
217
+
* Added `renderCollapsibleWysiwygContentPreview` and `renderWysiwygContentPreview` TWIG macros to UIBundle for
218
+
rendering WYSIWYG content in backoffice.
219
+
220
+
#### CurrencyBundle
221
+
* Added supporting of the `readonly` attribute in `\Oro\Bundle\CurrencyBundle\Form\Type\PriceType`.
222
+
238
223
### Changed
239
224
225
+
#### ApiBundle
226
+
* Removed support of `{@feature}` placeholder in API documentation. It was done because API documentation should not
227
+
depend on the application configuration changes made by users.
228
+
229
+
#### EmailBundle
230
+
* Decomposed `\Oro\Bundle\EmailBundle\Provider\EmailRenderer`, made it as an entry point to render an email template.
231
+
* Added `\Oro\Bundle\EmailBundle\Event\EmailTemplateRenderBeforeEvent` and `\Oro\Bundle\EmailBundle\Event\EmailTemplateRenderAfterEvent`
232
+
* Decomposed `\Oro\Bundle\EmailBundle\Form\Type\EmailType` into `\Oro\Bundle\EmailBundle\Form\EventListener\EmailTemplateRenderingSubscriber` to move the email template rendering responsibility to the form subscriber.
233
+
* Changed `\Oro\Bundle\EmailBundle\Migrations\Data\ORM\AbstractEmailFixture` to make it ensure that an email template name is equal to its file name.
234
+
235
+
#### EntityBundle
236
+
* Refactored JS `EntityStructureDataProvider` [[?]](https://github.com/oroinc/platform/tree/master/src/Oro/Bundle/EntityBundle/Resources/public/js/app/services/entity-structure-data-provider.js) (see [documentation](https://doc.oroinc.com/master/bundles/platform/EntityBundle/entity-structure-data-provider/))
237
+
- method `getPropertyPathByPath` renamed to `getRelativePropertyPathByPath`
238
+
- method `getPathByPropertyPath` renamed to `getPathByRelativePropertyPath`
239
+
- method `getPathByPropertyPathSafely` renamed to `getPathByRelativePropertyPathSafely`
240
+
* Decomposed `\Oro\Bundle\EntityBundle\Twig\Sandbox\TemplateRenderer` into separate processors and factories. Moved the TWIG sandbox configuration out of its responsibility.
241
+
242
+
#### FormBundle
243
+
* Refactored `ExpressionEditorView` [[?]](https://github.com/oroinc/platform/blob/master/src/Oro/Bundle/FormBundle/Resources/public/js/app/views/expression-editor-view.js) (see [documentation](https://doc.oroinc.com/master/bundles/platform/FormBundle/expression-editor/#expressioneditorview))
244
+
* Refactored `ExpressionEditorUtil` [[?]](https://github.com/oroinc/platform/tree/master/src/Oro/Bundle/FormBundle/Resources/public/js/expression-editor-util.js) (see [documentation](https://doc.oroinc.com/master/bundles/platform/FormBundle/expression-editor/#expressioneditorutil))
245
+
* made it descendant of `BaseClass`
246
+
* changed options format
247
+
248
+
#### LocaleBundle
249
+
* Updated `\Oro\Bundle\LocaleBundle\Provider\CurrentLocalizationProvider::setCurrentLocalization` to make it additionally switch localization, language, locale in `\Locale`, `\Gedmo\Translatable\TranslatableListener` and Symfony translator.
250
+
251
+
#### QueryDesignerBundle
252
+
* JS `*-filter-initialized` modules, defined over `init_module` option in filter configuration, now expected to export a sync callback function
253
+
240
254
### Datagrids
241
255
* All datagrids used in storefront application were moved from `<BundleName>/Resources/config/oro/datagrids.yml` to layouts folder of the `default` theme `<BundleName>/Resources/views/layouts/default/config/datagrids.yml`.
242
256
This means that storefront datagrids can now differ between themes. Any storefront grid customization should also be moved to the theme folder.
@@ -247,15 +261,25 @@ This means that storefront datagrids can now differ between themes. Any storefro
247
261
#### DataGridBundle
248
262
* Added postponed delete entities logic to `\Oro\Bundle\DataGridBundle\Extension\MassAction\DeleteMassActionHandler`.
249
263
250
-
### Changed
251
-
252
264
#### UIBundle
253
265
* Removed `$offset-*` scss variables
254
266
* Added `spacing` scss function.
255
267
`$offset-x\$offset-y`=> `spacing('base')`
256
268
`$offset-x-m\$offset-y-m`=> `spacing('sm')`
257
269
`$offset-x-s\$offset-y-s`=> `spacing('xs')`
258
270
271
+
### Removed
272
+
273
+
#### EmailBundle
274
+
* Removed `\Oro\Bundle\EmailBundle\Manager\EmailTemplateManager`, use instead `\Oro\Bundle\EmailBundle\Sender\EmailTemplateSender`.
275
+
* Removed `\Oro\Bundle\EmailBundle\Tools\EmailTemplateSerializer`, use instead `\Oro\Bundle\EmailBundle\Sender\EmailTemplateSender`.
276
+
* Removed `\Oro\Bundle\EmailBundle\Provider\LocalizedTemplateProvider` use instead `\Oro\Bundle\EmailBundle\Provider\EmailTemplateProvider` and `\Oro\Bundle\EmailBundle\Provider\TranslatedEmailTemplateProvider`.
277
+
* Removed `\Oro\Bundle\EmailBundle\Provider\\Oro\Bundle\EmailBundle\Provider\EmailTemplateContentProvider`, use instead `\Oro\Bundle\EmailBundle\Provider\RenderedEmailTemplateProvider`.
278
+
279
+
#### NotificationBundle
280
+
* Removed `\Oro\Bundle\NotificationBundle\Manager\EmailNotificationSender`, use instead `\Oro\Bundle\NotificationBundle\Manager\EmailNotificationManager`.
281
+
* Removed unused `\Oro\Bundle\NotificationBundle\Model\EmailTemplate`, use instead `\Oro\Bundle\EmailBundle\Model\EmailTemplate`.
282
+
259
283
## 5.1.0 (2023-03-31)
260
284
261
285
[Show detailed list of changes](incompatibilities-5-1.md)
0 commit comments