Version Description
Download this release
Release Info
Developer | gutenbergplugin |
Plugin | Gutenberg |
Version | 14.5.1 |
Comparing to | |
See all releases |
Code changes from version 14.5.0 to 14.5.1
- changelog.txt +198 -187
- gutenberg.php +3 -3
- lib/experimental/html/class-wp-html-tag-processor.php +36 -9
- readme.txt +1 -1
changelog.txt
CHANGED
@@ -1,198 +1,209 @@
|
|
1 |
== Changelog ==
|
2 |
|
3 |
-
= 14.5.
|
4 |
|
5 |
-
## Changelog
|
6 |
-
|
7 |
-
### Enhancements
|
8 |
-
|
9 |
-
- Add block pattern categories' descriptions to the REST API and update the descriptions. ([45244](https://github.com/WordPress/gutenberg/pull/45244))
|
10 |
-
- Create Block: Update templates to use APIs introduced in WP 6.1. ([44185](https://github.com/WordPress/gutenberg/pull/44185))
|
11 |
-
- setAvailableMetaBoxesPerLocation: Merge new metaboxes into existing. ([45156](https://github.com/WordPress/gutenberg/pull/45156))
|
12 |
-
- Spacing visualizer: Add option to trigger with mousover as well as value change. ([44955](https://github.com/WordPress/gutenberg/pull/44955))
|
13 |
-
- Style Engine: Add support for dimensions.minHeight property. ([45334](https://github.com/WordPress/gutenberg/pull/45334))
|
14 |
-
- Try: Add layout classnames to inner block wrapper. ([44600](https://github.com/WordPress/gutenberg/pull/44600))
|
15 |
-
|
16 |
-
#### Block Library
|
17 |
-
|
18 |
-
- Audio, Video: Add toolbar button to add/remove caption. ([45112](https://github.com/WordPress/gutenberg/pull/45112), [45113](https://github.com/WordPress/gutenberg/pull/45113))
|
19 |
-
- Comment Template, Post Comment Count, Post Comments Form, Post Comments Link: Add spacing support. ([45101](https://github.com/WordPress/gutenberg/pull/45101), [45150](https://github.com/WordPress/gutenberg/pull/45150), [45091](https://github.com/WordPress/gutenberg/pull/45091), [45184](https://github.com/WordPress/gutenberg/pull/45184))
|
20 |
-
- Gallery: Register styles with Style Engine. ([43070](https://github.com/WordPress/gutenberg/pull/43070))
|
21 |
-
- Navigation: Return undefined from useEffect. ([45239](https://github.com/WordPress/gutenberg/pull/45239))
|
22 |
-
- Social Icons: Add rel attribute. ([45469](https://github.com/WordPress/gutenberg/pull/45469))
|
23 |
-
- Video: Update tracks editor icon to text button. ([45245](https://github.com/WordPress/gutenberg/pull/45245))
|
24 |
-
|
25 |
-
#### Components
|
26 |
|
27 |
-
- Block mover button: Do not show focus styles on pointer interactions. ([45126](https://github.com/WordPress/gutenberg/pull/45126))
|
28 |
-
- BorderControl, BorderBoxControl, BorderRadiusControl: Update control components to allow 40px height. ([41860](https://github.com/WordPress/gutenberg/pull/41860))
|
29 |
-
- BoxControl, Card, ToolsPanel: Remove unnecessary wrappers in stories. ([45305](https://github.com/WordPress/gutenberg/pull/45305))
|
30 |
-
- Button: Change the color on the destructive button focus state. ([44427](https://github.com/WordPress/gutenberg/pull/44427))
|
31 |
-
- Button: Refactor Storybook to controls and align documentation. ([44105](https://github.com/WordPress/gutenberg/pull/44105))
|
32 |
-
- ColorPalette: Convert to TypeScript. ([44632](https://github.com/WordPress/gutenberg/pull/44632))
|
33 |
-
- DateTimePicker: Add `__next*` props in Storybook. ([45164](https://github.com/WordPress/gutenberg/pull/45164))
|
34 |
-
- FontSizePicker: Update design when `withSlider` is set. ([44598](https://github.com/WordPress/gutenberg/pull/44598))
|
35 |
-
- FormFileUpload: Remove unused story file. ([45286](https://github.com/WordPress/gutenberg/pull/45286))
|
36 |
-
- NumberControl: Add custom spin buttons. ([45333](https://github.com/WordPress/gutenberg/pull/45333))
|
37 |
-
- RadioGroup: Mark as deprecated. ([45389](https://github.com/WordPress/gutenberg/pull/45389))
|
38 |
-
- Navigator: Revert the removal of overflow styles from NavigatorScreen. ([45303](https://github.com/WordPress/gutenberg/pull/45303))
|
39 |
-
- SelectControl: Add onChange, onBlur, and onFocus to storybook actions. ([45432](https://github.com/WordPress/gutenberg/pull/45432))
|
40 |
-
- Storybook: Addon to wrap stories in max-width div. ([45134](https://github.com/WordPress/gutenberg/pull/45134))
|
41 |
-
- TextControl: Set Storybook control types on help, label and type. ([45405](https://github.com/WordPress/gutenberg/pull/45405))
|
42 |
-
- ToggleGroupControl: Add de-selectable variant. ([45123](https://github.com/WordPress/gutenberg/pull/45123))
|
43 |
-
- ToggleGroupControl: Remove invalid props from types. ([45114](https://github.com/WordPress/gutenberg/pull/45114))
|
44 |
|
45 |
-
|
46 |
-
|
47 |
-
- Edit Post: Improve distraction-free mode notices. ([45348](https://github.com/WordPress/gutenberg/pull/45348))
|
48 |
-
- hasChangedContent: Remove obsolete blocks check. ([45090](https://github.com/WordPress/gutenberg/pull/45090))
|
49 |
-
- Move document information and outline to list view panel. ([44788](https://github.com/WordPress/gutenberg/pull/44788))
|
50 |
-
|
51 |
-
#### Global Styles
|
52 |
-
|
53 |
-
- Add `:visited` pseudo selector to theme.json schema. ([45236](https://github.com/WordPress/gutenberg/pull/45236))
|
54 |
-
- Embed, Gallery, Video: Add deprecation for the caption element. ([45166](https://github.com/WordPress/gutenberg/pull/45166), [45173](https://github.com/WordPress/gutenberg/pull/45173), [45169](https://github.com/WordPress/gutenberg/pull/45169))
|
55 |
-
- File Block: Add a deprecation for the button element class name. ([45159](https://github.com/WordPress/gutenberg/pull/45159))
|
56 |
-
- Table Block: Add a deprecation for the figcaption element class name. ([45161](https://github.com/WordPress/gutenberg/pull/45161))
|
57 |
|
58 |
### Bug Fixes
|
59 |
|
60 |
-
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
-
|
70 |
-
-
|
71 |
-
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
-
|
79 |
-
-
|
80 |
-
-
|
81 |
-
-
|
82 |
-
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
-
|
88 |
-
- BorderControl
|
89 |
-
-
|
90 |
-
-
|
91 |
-
-
|
92 |
-
-
|
93 |
-
-
|
94 |
-
-
|
95 |
-
-
|
96 |
-
-
|
97 |
-
-
|
98 |
-
-
|
99 |
-
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
- Add
|
114 |
-
-
|
115 |
-
- Add
|
116 |
-
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
-
|
121 |
-
-
|
122 |
-
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
-
|
127 |
-
-
|
128 |
-
-
|
129 |
-
-
|
130 |
-
-
|
131 |
-
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
-
|
136 |
-
-
|
137 |
-
-
|
138 |
-
-
|
139 |
-
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
-
|
147 |
-
-
|
148 |
-
-
|
149 |
-
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
-
|
154 |
-
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
- Fix
|
164 |
-
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
-
|
174 |
-
-
|
175 |
-
-
|
176 |
-
-
|
177 |
-
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
-
|
187 |
-
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
196 |
|
197 |
|
198 |
= 14.4.0 =
|
1 |
== Changelog ==
|
2 |
|
3 |
+
= 14.5.1 =
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
|
7 |
+
## Changelog
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
### Bug Fixes
|
10 |
|
11 |
+
- Fix: Prevent infinite loop in Tag Processor in certain truncated documents (https://github.com/WordPress/gutenberg/pull/45537)
|
12 |
+
|
13 |
+
|
14 |
+
= 14.5.0 =
|
15 |
+
|
16 |
+
## Changelog
|
17 |
+
|
18 |
+
### Enhancements
|
19 |
+
|
20 |
+
- Add block pattern categories' descriptions to the REST API and update the descriptions. ([45244](https://github.com/WordPress/gutenberg/pull/45244))
|
21 |
+
- Create Block: Update templates to use APIs introduced in WP 6.1. ([44185](https://github.com/WordPress/gutenberg/pull/44185))
|
22 |
+
- setAvailableMetaBoxesPerLocation: Merge new metaboxes into existing. ([45156](https://github.com/WordPress/gutenberg/pull/45156))
|
23 |
+
- Spacing visualizer: Add option to trigger with mousover as well as value change. ([44955](https://github.com/WordPress/gutenberg/pull/44955))
|
24 |
+
- Style Engine: Add support for dimensions.minHeight property. ([45334](https://github.com/WordPress/gutenberg/pull/45334))
|
25 |
+
- Try: Add layout classnames to inner block wrapper. ([44600](https://github.com/WordPress/gutenberg/pull/44600))
|
26 |
+
|
27 |
+
#### Block Library
|
28 |
+
|
29 |
+
- Audio, Video: Add toolbar button to add/remove caption. ([45112](https://github.com/WordPress/gutenberg/pull/45112), [45113](https://github.com/WordPress/gutenberg/pull/45113))
|
30 |
+
- Comment Template, Post Comment Count, Post Comments Form, Post Comments Link: Add spacing support. ([45101](https://github.com/WordPress/gutenberg/pull/45101), [45150](https://github.com/WordPress/gutenberg/pull/45150), [45091](https://github.com/WordPress/gutenberg/pull/45091), [45184](https://github.com/WordPress/gutenberg/pull/45184))
|
31 |
+
- Gallery: Register styles with Style Engine. ([43070](https://github.com/WordPress/gutenberg/pull/43070))
|
32 |
+
- Navigation: Return undefined from useEffect. ([45239](https://github.com/WordPress/gutenberg/pull/45239))
|
33 |
+
- Social Icons: Add rel attribute. ([45469](https://github.com/WordPress/gutenberg/pull/45469))
|
34 |
+
- Video: Update tracks editor icon to text button. ([45245](https://github.com/WordPress/gutenberg/pull/45245))
|
35 |
+
|
36 |
+
#### Components
|
37 |
+
|
38 |
+
- Block mover button: Do not show focus styles on pointer interactions. ([45126](https://github.com/WordPress/gutenberg/pull/45126))
|
39 |
+
- BorderControl, BorderBoxControl, BorderRadiusControl: Update control components to allow 40px height. ([41860](https://github.com/WordPress/gutenberg/pull/41860))
|
40 |
+
- BoxControl, Card, ToolsPanel: Remove unnecessary wrappers in stories. ([45305](https://github.com/WordPress/gutenberg/pull/45305))
|
41 |
+
- Button: Change the color on the destructive button focus state. ([44427](https://github.com/WordPress/gutenberg/pull/44427))
|
42 |
+
- Button: Refactor Storybook to controls and align documentation. ([44105](https://github.com/WordPress/gutenberg/pull/44105))
|
43 |
+
- ColorPalette: Convert to TypeScript. ([44632](https://github.com/WordPress/gutenberg/pull/44632))
|
44 |
+
- DateTimePicker: Add `__next*` props in Storybook. ([45164](https://github.com/WordPress/gutenberg/pull/45164))
|
45 |
+
- FontSizePicker: Update design when `withSlider` is set. ([44598](https://github.com/WordPress/gutenberg/pull/44598))
|
46 |
+
- FormFileUpload: Remove unused story file. ([45286](https://github.com/WordPress/gutenberg/pull/45286))
|
47 |
+
- NumberControl: Add custom spin buttons. ([45333](https://github.com/WordPress/gutenberg/pull/45333))
|
48 |
+
- RadioGroup: Mark as deprecated. ([45389](https://github.com/WordPress/gutenberg/pull/45389))
|
49 |
+
- Navigator: Revert the removal of overflow styles from NavigatorScreen. ([45303](https://github.com/WordPress/gutenberg/pull/45303))
|
50 |
+
- SelectControl: Add onChange, onBlur, and onFocus to storybook actions. ([45432](https://github.com/WordPress/gutenberg/pull/45432))
|
51 |
+
- Storybook: Addon to wrap stories in max-width div. ([45134](https://github.com/WordPress/gutenberg/pull/45134))
|
52 |
+
- TextControl: Set Storybook control types on help, label and type. ([45405](https://github.com/WordPress/gutenberg/pull/45405))
|
53 |
+
- ToggleGroupControl: Add de-selectable variant. ([45123](https://github.com/WordPress/gutenberg/pull/45123))
|
54 |
+
- ToggleGroupControl: Remove invalid props from types. ([45114](https://github.com/WordPress/gutenberg/pull/45114))
|
55 |
+
|
56 |
+
#### Post Editor
|
57 |
+
|
58 |
+
- Edit Post: Improve distraction-free mode notices. ([45348](https://github.com/WordPress/gutenberg/pull/45348))
|
59 |
+
- hasChangedContent: Remove obsolete blocks check. ([45090](https://github.com/WordPress/gutenberg/pull/45090))
|
60 |
+
- Move document information and outline to list view panel. ([44788](https://github.com/WordPress/gutenberg/pull/44788))
|
61 |
+
|
62 |
+
#### Global Styles
|
63 |
+
|
64 |
+
- Add `:visited` pseudo selector to theme.json schema. ([45236](https://github.com/WordPress/gutenberg/pull/45236))
|
65 |
+
- Embed, Gallery, Video: Add deprecation for the caption element. ([45166](https://github.com/WordPress/gutenberg/pull/45166), [45173](https://github.com/WordPress/gutenberg/pull/45173), [45169](https://github.com/WordPress/gutenberg/pull/45169))
|
66 |
+
- File Block: Add a deprecation for the button element class name. ([45159](https://github.com/WordPress/gutenberg/pull/45159))
|
67 |
+
- Table Block: Add a deprecation for the figcaption element class name. ([45161](https://github.com/WordPress/gutenberg/pull/45161))
|
68 |
+
|
69 |
+
### Bug Fixes
|
70 |
+
|
71 |
+
- Ensure block content is always returned as a string after processing. ([45330](https://github.com/WordPress/gutenberg/pull/45330))
|
72 |
+
- Fix distraction free shortcut typo. ([45186](https://github.com/WordPress/gutenberg/pull/45186))
|
73 |
+
- Fix resizeable editor scrolling. ([45189](https://github.com/WordPress/gutenberg/pull/45189))
|
74 |
+
- Fix handling of nullish comments in the pot-to-PHP script. ([45414](https://github.com/WordPress/gutenberg/pull/45414))
|
75 |
+
- Fix image caption supports Voice Control. ([44850](https://github.com/WordPress/gutenberg/pull/44850))
|
76 |
+
- Fix PHP warning in pattern categories REST API controller. ([45410](https://github.com/WordPress/gutenberg/pull/45410))
|
77 |
+
- Fix Prevent infinite loop in Tag Processor in certain truncated documents. ([45537](https://github.com/WordPress/gutenberg/pull/45537))
|
78 |
+
- Hide insertion point when moving out of the canvas. ([45420](https://github.com/WordPress/gutenberg/pull/45420))
|
79 |
+
- Metaboxes: Perform hasMetaBoxes check on every save. ([45145](https://github.com/WordPress/gutenberg/pull/45145))
|
80 |
+
- Prevent unexpected copying of the post title. ([41284](https://github.com/WordPress/gutenberg/pull/41284))
|
81 |
+
- Raw Handling: When pasting bullet characters, convert to astericks for markdown converter. ([45017](https://github.com/WordPress/gutenberg/pull/45017))
|
82 |
+
- Web Font: Fix ascent/descent-override property typo. ([45125](https://github.com/WordPress/gutenberg/pull/45125))
|
83 |
+
|
84 |
+
#### Block Library
|
85 |
+
|
86 |
+
- Button: Reset background-image property for outline button style. ([45234](https://github.com/WordPress/gutenberg/pull/45234))
|
87 |
+
- Cover, Search, Spacer: Fix control widths. ([45329](https://github.com/WordPress/gutenberg/pull/45329))
|
88 |
+
- Navigation: Fix saving/loading experience of uncontrolled blocks. ([45486](https://github.com/WordPress/gutenberg/pull/45486))
|
89 |
+
- Navigation: Add padding to buttons when Submenus Open on click is enabled. ([44605](https://github.com/WordPress/gutenberg/pull/44605))
|
90 |
+
- List: Fix migration when the nested list is invalid. ([44822](https://github.com/WordPress/gutenberg/pull/44822))
|
91 |
+
- Page List: Allow direct selection of nested Page List block by avoiding dual rendering within block. ([45143](https://github.com/WordPress/gutenberg/pull/45143))
|
92 |
+
- Site Tagline: Fix user permission HTTP errors. ([45140](https://github.com/WordPress/gutenberg/pull/45140))
|
93 |
+
- Site Title: Avoid 403 errors for users with low permissions. ([45093](https://github.com/WordPress/gutenberg/pull/45093))
|
94 |
+
|
95 |
+
#### Components
|
96 |
+
|
97 |
+
- AnglePickerControl: Set Storybook label control type to text. ([45122](https://github.com/WordPress/gutenberg/pull/45122))
|
98 |
+
- AutocompleteUI: Close popup when click happens outside of the popover. ([44795](https://github.com/WordPress/gutenberg/pull/44795))
|
99 |
+
- BorderControl: Await floating-ui state changes when rendering/opening popover to fix unit test failures. ([45241](https://github.com/WordPress/gutenberg/pull/45241))
|
100 |
+
- Button component: Fix RTL alignment when containing icon and text. ([44787](https://github.com/WordPress/gutenberg/pull/44787))
|
101 |
+
- ColorPalette: Fix transparent checkered background pattern. ([45295](https://github.com/WordPress/gutenberg/pull/45295))
|
102 |
+
- ExternalLink: Update to support onClick handler. ([45214](https://github.com/WordPress/gutenberg/pull/45214))
|
103 |
+
- InputControl: Allow inline styles to be applied to wrapper instead of inner input. ([45340](https://github.com/WordPress/gutenberg/pull/45340))
|
104 |
+
- ItemGroup: Fix RTL text alignment when item is clickable. ([45280](https://github.com/WordPress/gutenberg/pull/45280))
|
105 |
+
- Popover: Fix deprecations. ([45195](https://github.com/WordPress/gutenberg/pull/45195))
|
106 |
+
- PublishDateTimePicker: Retrieve all future posts in a given month. ([44540](https://github.com/WordPress/gutenberg/pull/44540))
|
107 |
+
- SpacingSizesControl: Remove UnitControl inline style use. ([45412](https://github.com/WordPress/gutenberg/pull/45412))
|
108 |
+
- TabPanel: Add tests and changelog for onSelect behavior change. ([45211](https://github.com/WordPress/gutenberg/pull/45211))
|
109 |
+
- UnitControl: Fix disabled style is overridden by forms.css. ([45250](https://github.com/WordPress/gutenberg/pull/45250))
|
110 |
+
- Visual Editor: Fix permission error. ([45262](https://github.com/WordPress/gutenberg/pull/45262))
|
111 |
+
|
112 |
+
#### Site Editor
|
113 |
+
|
114 |
+
- Fix clipped body background style in the Site Editor. ([45261](https://github.com/WordPress/gutenberg/pull/45261))
|
115 |
+
- Only mark the 'Site' menu item active when editing a home template. ([42807](https://github.com/WordPress/gutenberg/pull/42807))
|
116 |
+
|
117 |
+
### Performance
|
118 |
+
|
119 |
+
- Lodash: Refactor away from using Lodash. ([45311](https://github.com/WordPress/gutenberg/pull/45311), [45306](https://github.com/WordPress/gutenberg/pull/45306), [45335](https://github.com/WordPress/gutenberg/pull/45335), [45338](https://github.com/WordPress/gutenberg/pull/45338), [45310](https://github.com/WordPress/gutenberg/pull/45310), [45098](https://github.com/WordPress/gutenberg/pull/45098), [45282](https://github.com/WordPress/gutenberg/pull/45282), [45316](https://github.com/WordPress/gutenberg/pull/45316), [45342](https://github.com/WordPress/gutenberg/pull/45342), [45307](https://github.com/WordPress/gutenberg/pull/45307), [45312](https://github.com/WordPress/gutenberg/pull/45312), [45337](https://github.com/WordPress/gutenberg/pull/45337), [45367](https://github.com/WordPress/gutenberg/pull/45367), [44980](https://github.com/WordPress/gutenberg/pull/44980), [45281](https://github.com/WordPress/gutenberg/pull/45281))
|
120 |
+
|
121 |
+
### Documentation
|
122 |
+
|
123 |
+
- Add a readme to the letter spacing component. ([45308](https://github.com/WordPress/gutenberg/pull/45308))
|
124 |
+
- Add changelogs for internal refactorings using inert. ([45269](https://github.com/WordPress/gutenberg/pull/45269))
|
125 |
+
- Add "Do not use in production" message to content locking experimental API's. ([45291](https://github.com/WordPress/gutenberg/pull/45291))
|
126 |
+
- Add Storybook intro. ([45115](https://github.com/WordPress/gutenberg/pull/45115))
|
127 |
+
- Code Quality: Fix some misspelled words. ([45222](https://github.com/WordPress/gutenberg/pull/45222))
|
128 |
+
- Disabled: Update documentation to clarify the absence of inert polyfill. ([45272](https://github.com/WordPress/gutenberg/pull/45272))
|
129 |
+
- Fix incorrect character in code example. ([45355](https://github.com/WordPress/gutenberg/pull/45355))
|
130 |
+
- Fix missing anchor link in FAQ URL. ([45232](https://github.com/WordPress/gutenberg/pull/45232))
|
131 |
+
- FontSizePicker: Update changelog for #45041. ([45180](https://github.com/WordPress/gutenberg/pull/45180))
|
132 |
+
- Updating curation document to include content lock ability. ([44908](https://github.com/WordPress/gutenberg/pull/44908))
|
133 |
+
- useAnchorRef: Update deprecation message. ([45302](https://github.com/WordPress/gutenberg/pull/45302))
|
134 |
+
|
135 |
+
### Code Quality
|
136 |
+
|
137 |
+
- Block Editor: Improve `MediaReplaceFlow` tests. ([45424](https://github.com/WordPress/gutenberg/pull/45424))
|
138 |
+
- Block Editor: Refactor align tests to RTL. ([45152](https://github.com/WordPress/gutenberg/pull/45152))
|
139 |
+
- Editors: Refactor icon tests to follow `no-container` rule. ([45422](https://github.com/WordPress/gutenberg/pull/45422))
|
140 |
+
- Fix indent and quote in dependbot.yml. ([45167](https://github.com/WordPress/gutenberg/pull/45167))
|
141 |
+
- Fix PHP 8.1 deprecation for `strncmp()`. ([44829](https://github.com/WordPress/gutenberg/pull/44829))
|
142 |
+
- Popover: Use new placement prop instead of legacy position prop. ([44392](https://github.com/WordPress/gutenberg/pull/44392), [44387](https://github.com/WordPress/gutenberg/pull/44387), [44389](https://github.com/WordPress/gutenberg/pull/44389), [44398](https://github.com/WordPress/gutenberg/pull/44398), [44399](https://github.com/WordPress/gutenberg/pull/44399), [44394](https://github.com/WordPress/gutenberg/pull/44394), [44395](https://github.com/WordPress/gutenberg/pull/44395), [44390](https://github.com/WordPress/gutenberg/pull/44390), [44396](https://github.com/WordPress/gutenberg/pull/44396), [44388](https://github.com/WordPress/gutenberg/pull/44388))
|
143 |
+
- PostTextEditor test: Wrap `.blur` calls in `act()`. ([45243](https://github.com/WordPress/gutenberg/pull/45243))
|
144 |
+
- Replace the MainDashboardButton slot with a setting in the site editor. ([45149](https://github.com/WordPress/gutenberg/pull/45149))
|
145 |
+
- Run script loader test. ([45288](https://github.com/WordPress/gutenberg/pull/45288))
|
146 |
+
- Site Editor: Move the save view state to the edit site store. ([45200](https://github.com/WordPress/gutenberg/pull/45200))
|
147 |
+
- Small follow-ups to the distraction free mode PR. ([45151](https://github.com/WordPress/gutenberg/pull/45151))
|
148 |
+
- Tests: Use `container` instead of `container.firstChild` for snapshots. ([45278](https://github.com/WordPress/gutenberg/pull/45278))
|
149 |
+
- useFocusOutside: Rewrite hook to TypeScript, rewrite tests to model RTL and user-event. ([45317](https://github.com/WordPress/gutenberg/pull/45317))
|
150 |
+
- useFocusableIframe: Refactor to TypeScript. ([45428](https://github.com/WordPress/gutenberg/pull/45428))
|
151 |
+
|
152 |
+
#### Components
|
153 |
+
|
154 |
+
- Add a popover `variant` prop and refactor popovers to use it, deprecate `isAlternate`. ([45137](https://github.com/WordPress/gutenberg/pull/45137))
|
155 |
+
- Add parseQuantityAndUnitFromRawValue tests. ([45260](https://github.com/WordPress/gutenberg/pull/45260))
|
156 |
+
- FontSizePicker: Rewrite unit tests to use userEvent and be more comprehensive. ([45298](https://github.com/WordPress/gutenberg/pull/45298))
|
157 |
+
- BorderBoxControl: Improve tests. ([45208](https://github.com/WordPress/gutenberg/pull/45208))
|
158 |
+
- ContextSystemProvider, useUpdateEffect, SlotFill, Snackbar, TabPanel: Refactor to pass `exhaustive-deps`. ([45044](https://github.com/WordPress/gutenberg/pull/45044), [44403](https://github.com/WordPress/gutenberg/pull/44403), [44934](https://github.com/WordPress/gutenberg/pull/44934), [44935](https://github.com/WordPress/gutenberg/pull/44935))
|
159 |
+
- Remove unnecessary `.firstChild` from tests. ([45419](https://github.com/WordPress/gutenberg/pull/45419))
|
160 |
+
- Update some React 18 related types. ([45279](https://github.com/WordPress/gutenberg/pull/45279))
|
161 |
+
|
162 |
+
#### Global Styles
|
163 |
+
|
164 |
+
- Add `wp_theme_has_theme_json` as a public API to know whether a theme has a `theme.json`. ([45168](https://github.com/WordPress/gutenberg/pull/45168))
|
165 |
+
- Deprecate `WP_Theme_JSON_Resolver:Theme_has_support()`. ([45380](https://github.com/WordPress/gutenberg/pull/45380))
|
166 |
+
|
167 |
+
### Tools
|
168 |
+
|
169 |
+
#### Testing
|
170 |
+
|
171 |
+
- Add Playwright Compatibility-classic-editor Test. ([43979](https://github.com/WordPress/gutenberg/pull/43979))
|
172 |
+
- Add end-to-end tests for Drag-and-Drop in the inserter. ([44631](https://github.com/WordPress/gutenberg/pull/44631))
|
173 |
+
- Cleanup after the writing flow end-to-end tests. ([45119](https://github.com/WordPress/gutenberg/pull/45119))
|
174 |
+
- Fix failing PHPUnit tests. ([45265](https://github.com/WordPress/gutenberg/pull/45265))
|
175 |
+
- Fix uploading artifacts even when the tests are successful. ([45187](https://github.com/WordPress/gutenberg/pull/45187))
|
176 |
+
- Migrate iframe-rendering test case. ([44535](https://github.com/WordPress/gutenberg/pull/44535))
|
177 |
+
- Migrate tests to Playwright. ([43963](https://github.com/WordPress/gutenberg/pull/43963), [45267](https://github.com/WordPress/gutenberg/pull/45267), [44916](https://github.com/WordPress/gutenberg/pull/44916), [44507](https://github.com/WordPress/gutenberg/pull/44507), [45393](https://github.com/WordPress/gutenberg/pull/45393), [43964](https://github.com/WordPress/gutenberg/pull/43964), [45202](https://github.com/WordPress/gutenberg/pull/45202))
|
178 |
+
- Re-enable skipped Gallery block end-to-end test. ([45266](https://github.com/WordPress/gutenberg/pull/45266))
|
179 |
+
- Try fixing Site Title flaky end-to-end tests. ([45160](https://github.com/WordPress/gutenberg/pull/45160))
|
180 |
+
- Update Playwright to v1.27. ([45193](https://github.com/WordPress/gutenberg/pull/45193))
|
181 |
+
|
182 |
+
#### Build Tooling
|
183 |
+
|
184 |
+
- ESLint: Add and enable `eslint-plugin-testing-library`. ([45103](https://github.com/WordPress/gutenberg/pull/45103))
|
185 |
+
- ESLint: Exclude Playwright tests from testing library rules. ([45366](https://github.com/WordPress/gutenberg/pull/45366))
|
186 |
+
- Fix native Demo editor build error when using Xcode 14 to build to a physical device. ([45120](https://github.com/WordPress/gutenberg/pull/45120))
|
187 |
+
- Remove comments from compiled styles. ([43177](https://github.com/WordPress/gutenberg/pull/43177))
|
188 |
+
- Upgrade rtlcss to v4.0.0. ([43208](https://github.com/WordPress/gutenberg/pull/43208))
|
189 |
+
|
190 |
+
## First time contributors
|
191 |
+
|
192 |
+
The following PRs were merged by first time contributors:
|
193 |
+
|
194 |
+
- @alvitazwar: Migrate iframe-rendering test case. ([44535](https://github.com/WordPress/gutenberg/pull/44535))
|
195 |
+
- @GeoJunkie: PublishDateTimePicker: Retrieve all future posts in a given month. ([44540](https://github.com/WordPress/gutenberg/pull/44540))
|
196 |
+
- @Initsogar: Components: Update ExternalLink to support onClick handler. ([45214](https://github.com/WordPress/gutenberg/pull/45214))
|
197 |
+
- @jornp: Button component: Fix RTL alignment when containing icon and text. ([44787](https://github.com/WordPress/gutenberg/pull/44787))
|
198 |
+
- @pkorzelius: Character Swap. ([45355](https://github.com/WordPress/gutenberg/pull/45355))
|
199 |
+
|
200 |
+
## Contributors
|
201 |
+
|
202 |
+
The following contributors merged PRs in this release:
|
203 |
+
|
204 |
+
@aaronrobertshaw @alvitazwar @andrewserong @annezazu @aristath @BE-Webdesign @bph @brookewp @carolinan @chad1008 @ciampo @dcalhoun @dmsnell @ellatrix @fluiddot @GeoJunkie @georgeh @getdave @glendaviesnz @gziolo @Initsogar @jorgefilipecosta @jornp @jsnajdr @kevin940726 @KevinBatdorf @kienstra @Mamaduka @mikachan @mirka @noisysocks @ntsekouras @oandregal @pkorzelius @pooja-muchandikar @ramonjd @SavPhill @scruffian @SiobhyB @Soean @t-hamano @talldan @tellthemachines @tyxla @walbo @youknowriad
|
205 |
+
|
206 |
+
|
207 |
|
208 |
|
209 |
= 14.4.0 =
|
gutenberg.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Printing since 1440. This is the development plugin for the new block editor in core.
|
6 |
* Requires at least: 5.9
|
7 |
* Requires PHP: 5.6
|
8 |
-
* Version: 14.5.
|
9 |
* Author: Gutenberg Team
|
10 |
* Text Domain: gutenberg
|
11 |
*
|
@@ -13,8 +13,8 @@
|
|
13 |
*/
|
14 |
|
15 |
### BEGIN AUTO-GENERATED DEFINES
|
16 |
-
define( 'GUTENBERG_VERSION', '14.5.
|
17 |
-
define( 'GUTENBERG_GIT_COMMIT', '
|
18 |
### END AUTO-GENERATED DEFINES
|
19 |
|
20 |
gutenberg_pre_init();
|
5 |
* Description: Printing since 1440. This is the development plugin for the new block editor in core.
|
6 |
* Requires at least: 5.9
|
7 |
* Requires PHP: 5.6
|
8 |
+
* Version: 14.5.1
|
9 |
* Author: Gutenberg Team
|
10 |
* Text Domain: gutenberg
|
11 |
*
|
13 |
*/
|
14 |
|
15 |
### BEGIN AUTO-GENERATED DEFINES
|
16 |
+
define( 'GUTENBERG_VERSION', '14.5.1' );
|
17 |
+
define( 'GUTENBERG_GIT_COMMIT', '2f8aca650d556d16e9097436f5b1ac70946dd9bd' );
|
18 |
### END AUTO-GENERATED DEFINES
|
19 |
|
20 |
gutenberg_pre_init();
|
lib/experimental/html/class-wp-html-tag-processor.php
CHANGED
@@ -445,7 +445,7 @@ class WP_HTML_Tag_Processor {
|
|
445 |
|
446 |
$at = $this->parsed_bytes;
|
447 |
|
448 |
-
while (
|
449 |
$at = strpos( $this->html, '</', $at );
|
450 |
|
451 |
// If we have no possible tag closer then fail.
|
@@ -494,6 +494,8 @@ class WP_HTML_Tag_Processor {
|
|
494 |
return;
|
495 |
}
|
496 |
}
|
|
|
|
|
497 |
}
|
498 |
|
499 |
/**
|
@@ -507,7 +509,7 @@ class WP_HTML_Tag_Processor {
|
|
507 |
$doc_length = strlen( $html );
|
508 |
$at = $this->parsed_bytes;
|
509 |
|
510 |
-
while ( $at < $doc_length ) {
|
511 |
$at += strcspn( $html, '-<', $at );
|
512 |
|
513 |
/*
|
@@ -613,6 +615,8 @@ class WP_HTML_Tag_Processor {
|
|
613 |
|
614 |
++$at;
|
615 |
}
|
|
|
|
|
616 |
}
|
617 |
|
618 |
/**
|
@@ -623,10 +627,11 @@ class WP_HTML_Tag_Processor {
|
|
623 |
private function parse_next_tag() {
|
624 |
$this->after_tag();
|
625 |
|
626 |
-
$html
|
627 |
-
$
|
|
|
628 |
|
629 |
-
while (
|
630 |
$at = strpos( $html, '<', $at );
|
631 |
if ( false === $at ) {
|
632 |
return false;
|
@@ -663,7 +668,12 @@ class WP_HTML_Tag_Processor {
|
|
663 |
'-' === $html[ $at + 2 ] &&
|
664 |
'-' === $html[ $at + 3 ]
|
665 |
) {
|
666 |
-
$
|
|
|
|
|
|
|
|
|
|
|
667 |
continue;
|
668 |
}
|
669 |
|
@@ -680,7 +690,12 @@ class WP_HTML_Tag_Processor {
|
|
680 |
'A' === $html[ $at + 7 ] &&
|
681 |
'[' === $html[ $at + 8 ]
|
682 |
) {
|
683 |
-
$
|
|
|
|
|
|
|
|
|
|
|
684 |
continue;
|
685 |
}
|
686 |
|
@@ -699,7 +714,12 @@ class WP_HTML_Tag_Processor {
|
|
699 |
'P' === strtoupper( $html[ $at + 7 ] ) &&
|
700 |
'E' === strtoupper( $html[ $at + 8 ] )
|
701 |
) {
|
702 |
-
$
|
|
|
|
|
|
|
|
|
|
|
703 |
continue;
|
704 |
}
|
705 |
|
@@ -716,12 +736,19 @@ class WP_HTML_Tag_Processor {
|
|
716 |
* https://html.spec.whatwg.org/multipage/parsing.html#tag-open-state
|
717 |
*/
|
718 |
if ( '?' === $html[ $at + 1 ] ) {
|
719 |
-
$
|
|
|
|
|
|
|
|
|
|
|
720 |
continue;
|
721 |
}
|
722 |
|
723 |
++$at;
|
724 |
}
|
|
|
|
|
725 |
}
|
726 |
|
727 |
/**
|
445 |
|
446 |
$at = $this->parsed_bytes;
|
447 |
|
448 |
+
while ( false !== $at && $at < $doc_length ) {
|
449 |
$at = strpos( $this->html, '</', $at );
|
450 |
|
451 |
// If we have no possible tag closer then fail.
|
494 |
return;
|
495 |
}
|
496 |
}
|
497 |
+
|
498 |
+
return false;
|
499 |
}
|
500 |
|
501 |
/**
|
509 |
$doc_length = strlen( $html );
|
510 |
$at = $this->parsed_bytes;
|
511 |
|
512 |
+
while ( false !== $at && $at < $doc_length ) {
|
513 |
$at += strcspn( $html, '-<', $at );
|
514 |
|
515 |
/*
|
615 |
|
616 |
++$at;
|
617 |
}
|
618 |
+
|
619 |
+
return false;
|
620 |
}
|
621 |
|
622 |
/**
|
627 |
private function parse_next_tag() {
|
628 |
$this->after_tag();
|
629 |
|
630 |
+
$html = $this->html;
|
631 |
+
$doc_length = strlen( $html );
|
632 |
+
$at = $this->parsed_bytes;
|
633 |
|
634 |
+
while ( false !== $at && $at < $doc_length ) {
|
635 |
$at = strpos( $html, '<', $at );
|
636 |
if ( false === $at ) {
|
637 |
return false;
|
668 |
'-' === $html[ $at + 2 ] &&
|
669 |
'-' === $html[ $at + 3 ]
|
670 |
) {
|
671 |
+
$closer_at = strpos( $html, '-->', $at + 4 );
|
672 |
+
if ( false === $closer_at ) {
|
673 |
+
return false;
|
674 |
+
}
|
675 |
+
|
676 |
+
$at = $closer_at + 3;
|
677 |
continue;
|
678 |
}
|
679 |
|
690 |
'A' === $html[ $at + 7 ] &&
|
691 |
'[' === $html[ $at + 8 ]
|
692 |
) {
|
693 |
+
$closer_at = strpos( $html, ']]>', $at + 9 );
|
694 |
+
if ( false === $closer_at ) {
|
695 |
+
return false;
|
696 |
+
}
|
697 |
+
|
698 |
+
$at = $closer_at + 3;
|
699 |
continue;
|
700 |
}
|
701 |
|
714 |
'P' === strtoupper( $html[ $at + 7 ] ) &&
|
715 |
'E' === strtoupper( $html[ $at + 8 ] )
|
716 |
) {
|
717 |
+
$closer_at = strpos( $html, '>', $at + 9 );
|
718 |
+
if ( false === $closer_at ) {
|
719 |
+
return false;
|
720 |
+
}
|
721 |
+
|
722 |
+
$at = $closer_at + 1;
|
723 |
continue;
|
724 |
}
|
725 |
|
736 |
* https://html.spec.whatwg.org/multipage/parsing.html#tag-open-state
|
737 |
*/
|
738 |
if ( '?' === $html[ $at + 1 ] ) {
|
739 |
+
$closer_at = strpos( $html, '>', $at + 2 );
|
740 |
+
if ( false === $closer_at ) {
|
741 |
+
return false;
|
742 |
+
}
|
743 |
+
|
744 |
+
$at = $closer_at + 1;
|
745 |
continue;
|
746 |
}
|
747 |
|
748 |
++$at;
|
749 |
}
|
750 |
+
|
751 |
+
return false;
|
752 |
}
|
753 |
|
754 |
/**
|
readme.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
=== Gutenberg ===
|
2 |
Contributors: matveb, joen, karmatosed
|
3 |
Tested up to: 6.0
|
4 |
-
Stable tag: 14.
|
5 |
License: GPLv2 or later
|
6 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
7 |
|
1 |
=== Gutenberg ===
|
2 |
Contributors: matveb, joen, karmatosed
|
3 |
Tested up to: 6.0
|
4 |
+
Stable tag: 14.5.0
|
5 |
License: GPLv2 or later
|
6 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
7 |
|