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
* main:
PRO-8130: default node parseHTML now detects whether an element has the relevant class, or lack of one, before classifying it as a default node (#5017)
Add regression tests for duplicate relationships resolution in some edge cases (#5016)
Resolved an issue affecting `withRelationships` with two or more steps. This issue could cause a document to appear to be related to the same document more than on (#5015)
thanks! (#5014)
Fix#4979: Replace connect-multiparty with multer to resolve security vulnerability (#5013)
Hide rich text controls on interaction (#5008)
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,13 +9,21 @@
9
9
10
10
### Changes
11
11
12
-
- Changes handling of `order` and `groups` in the `admin-bar` module to respect, rather that reverse, the order of items
12
+
* Changes handling of `order` and `groups` in the `admin-bar` module to respect, rather that reverse, the order of items
13
+
* Interacting with the text inside a rich text widget will hide the widget controls to prevent awkawrd text selection.
13
14
14
15
### Fixes
15
16
16
17
* Let the `@apostrophecms/page:unpark` task unpark all parked pages with the given slug, not just the first one.
17
18
* Exclude unknown page types from the page manager.
18
19
* Remove multiple calls to render-widget when switch to edit mode.
20
+
* Resolved an issue affecting `withRelationships` with two or more steps. This issue could cause a document to appear to be related to the same document more than once.
21
+
* Fixed a regression that prevented multiple variations of `p` with different classes from being recognized again when reopening the rich text editor, even if they are all on the style menu. This was caused by knock-on effects of upstream changes in tiptap and prosemirror and our previous efforts to mitigate these. Those upstream changes were correct, but they did have certain side effects in ApostropheCMS. By more fully specifying the desired behavior, we have now fully corrected the issue at the ApostropheCMS level.
22
+
23
+
### Security
24
+
25
+
* Clear an npm audit warning by replacing `connect-multiparty` with `multer`. Thanks to [Radhakrishnan Mohan](https://github.com/RadhaKrishnan) for this contribution.
26
+
* To be clear, this was never an actual security vulnerability. The CVE in question is disputed, and for good reasons. However, since `connect-multiparty` is no longer maintained, it makes sense to move to `multer`.
19
27
20
28
## 4.19.0 (2025-07-09)
21
29
@@ -25,8 +33,8 @@
25
33
Thanks to [sombitganguly](https://github.com/sombitganguly) for this contribution.
26
34
* Adds keyboard shortcuts for manipulating widgets in areas. Includes Cut, Copy, Paste, Delete, and Duplicate.
27
35
* Automatic translation now supports a disclaimer and an help text for the checkbox. You can now set the disclaimer by setting `automaticTranslationDisclaimer``i18n` key and the help text by setting `automaticTranslationCheckboxHelp``i18n` key.
28
-
* Adds dynamic choices working with piece manager filters.
29
-
* Allow `import.imageTags` (array of image tag IDs) to be passed to the rich text widget when importing (see https://docs.apostrophecms.org/reference/api/rich-text.html#importing-inline-images).
36
+
* Adds dynamic choices working with piece manager filters.
37
+
* Allow `import.imageTags` (array of image tag IDs) to be passed to the rich text widget when importing (see <https://docs.apostrophecms.org/reference/api/rich-text.html#importing-inline-images>).
30
38
* Adds a new way to make `GET` requests with a large query string. It can become a `POST` request containing the key `__aposGetWithQuery` in its body.
31
39
A middleware checks for this key and converts the request back to a `GET` request with the right `req.query` property.
32
40
* Adds a new batch operation to tag images.
@@ -46,7 +54,7 @@ A middleware checks for this key and converts the request back to a `GET` reques
46
54
47
55
* Adds MongoDB-style support (comparison operators) for conditional fields and all systems that use conditions. Conditional fields now have access to the `following` values from the parent schema fields.
48
56
* Add `followingIgnore` option to the `string` field schema. A boolean `true` results in all `following` values being ignored (not attempted to be used as a value for the field). When array of strings, the UI will ignore every item that matches a `following` field name.
49
-
* Adds link configuration to the `@apostrophecms/image-widget` UI and a new option `linkWithType` to control what document types can be linked to. Opt-out of the widget inline styles (reset) by setting `inlineStyles: false` in the widget configuration or contextual options (area).
57
+
* Adds link configuration to the `@apostrophecms/image-widget` UI and a new option `linkWithType` to control what document types can be linked to. Opt-out of the widget inline styles (reset) by setting `inlineStyles: false` in the widget configuration or contextual options (area).
50
58
* Use the link configuration of the Rich Text widget for image links too. It respects the existing `linkWithType` Rich Text option and uses the same schema (`linkFields`) used for text links. The fields from that schema can opt-in for specific tiptap extension now via a field property `extensions` (array) with possible array values `Link` and/or `Image`. You still need to specify the `htmlAttribute` property (the name of the attribute to be added to the link tag) in the schema when adding more fields. If the `extensions` property is not set, the field will be applied for both tiptap extensions.
51
59
* Adds body style support for breakpoint preview mode. Created new `[data-apos-refreshable-body]` div inside the container during breapoint preview.
52
60
Switch body attributes to this new div to keep supporting body styles in breakpoint preview mode.
@@ -2392,6 +2400,7 @@ myColorField: {
2392
2400
## 3.0.0-beta.3.1 - 2021-06-07
2393
2401
2394
2402
### Breaks
2403
+
2395
2404
* This backwards compatibility break actually occurred in 3.0.0-beta.3 and was not documented at that time, but it is important to know that the following Rich Text tool names have been updated to match Tiptap2's convention:
2396
2405
-- `bullet_list` -> `bulletList`
2397
2406
-- `ordered_list` -> `orderedList`
@@ -2478,6 +2487,7 @@ The `nlbr` and `nlp` Nunjucks filters marked their output as safe to preserve th
2478
2487
* The rich text editor now supports specifying a `styles` array with no `p` tags properly. A newly added rich text widget initially contains an element with the first style, rather than always a paragraph. If no styles are configured, a `p` tag is assumed. Thanks to Stepan Jakl for reporting the issue.
2479
2488
2480
2489
### Changes
2490
+
2481
2491
* Editor modal's Save button (publish / save draft / submit) now updated to use the `AposSplitButton` component. Editors can choose from several follow-up actions that occur after save, including creating another piece of content of the same type, being taken to the in-context version of the document, or being returned to the manager. Editor's selection is saved in localstorage, creating a remembered preference per content type.
0 commit comments