@automattic/newspack-blocks 4.34.1 → 4.35.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +1 -0
- package/CHANGELOG.md +28 -0
- package/dist/editor-rtl.css +17 -17
- package/dist/editor.asset.php +1 -1
- package/dist/editor.css +17 -17
- package/dist/editor.js +22 -22
- package/dist/modal.asset.php +1 -1
- package/dist/modal.js +1 -1
- package/includes/class-newspack-blocks-api.php +94 -0
- package/includes/class-newspack-blocks-caching.php +1 -1
- package/includes/class-newspack-blocks.php +2 -0
- package/languages/newspack-blocks-de_DE-17dfe823d00514d2459851e9b0f738b1.json +1 -0
- package/languages/newspack-blocks-de_DE-53e2a1d5945b8d2b1c35e81ae1e532f3.json +1 -1
- package/languages/newspack-blocks-de_DE.po +15 -10
- package/languages/newspack-blocks-es_ES-17dfe823d00514d2459851e9b0f738b1.json +1 -0
- package/languages/newspack-blocks-es_ES-53e2a1d5945b8d2b1c35e81ae1e532f3.json +1 -1
- package/languages/newspack-blocks-es_ES.po +15 -10
- package/languages/newspack-blocks-fr_BE-17dfe823d00514d2459851e9b0f738b1.json +1 -0
- package/languages/newspack-blocks-fr_BE-53e2a1d5945b8d2b1c35e81ae1e532f3.json +1 -1
- package/languages/newspack-blocks-fr_BE.po +15 -10
- package/languages/newspack-blocks-nb_NO-17dfe823d00514d2459851e9b0f738b1.json +1 -0
- package/languages/newspack-blocks-nb_NO-53e2a1d5945b8d2b1c35e81ae1e532f3.json +1 -1
- package/languages/newspack-blocks-nb_NO.po +15 -10
- package/languages/newspack-blocks-pt_PT-17dfe823d00514d2459851e9b0f738b1.json +1 -0
- package/languages/newspack-blocks-pt_PT-53e2a1d5945b8d2b1c35e81ae1e532f3.json +1 -1
- package/languages/newspack-blocks-pt_PT.po +15 -10
- package/languages/newspack-blocks.pot +17 -11
- package/newspack-blocks.php +2 -2
- package/package.json +6 -6
- package/src/blocks/carousel/edit.js +1 -1
- package/src/blocks/homepage-articles/class-wp-rest-newspack-articles-controller.php +47 -0
- package/src/blocks/homepage-articles/store.js +101 -38
- package/src/blocks/homepage-articles/store.test.js +189 -0
- package/src/modal-checkout/modal.js +11 -1
- package/src/modal-checkout/utils.js +33 -0
- package/src/modal-checkout/utils.test.js +67 -1
- package/vendor/composer/installed.php +2 -2
package/AGENTS.md
CHANGED
|
@@ -173,6 +173,7 @@ All endpoints use the `newspack-blocks/v1` namespace. Controllers live alongside
|
|
|
173
173
|
|---|---|---|
|
|
174
174
|
| `GET /articles` | `WP_REST_Newspack_Articles_Controller` | Public |
|
|
175
175
|
| `GET /newspack-blocks-posts` | Same controller | `edit_posts` |
|
|
176
|
+
| `POST /newspack-blocks-posts-batch` | Same controller; runs each query through `/newspack-blocks-posts` in document order, carrying the deduplication list from one query to the next. | `edit_posts` |
|
|
176
177
|
| `GET /newspack-blocks-specific-posts` | Same controller | `edit_posts` |
|
|
177
178
|
| `GET /authors` | `WP_REST_Newspack_Authors_Controller` | `edit_posts` |
|
|
178
179
|
| `GET /author-list` | `WP_REST_Newspack_Author_List_Controller` | `edit_posts` |
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
# @automattic/newspack-blocks [4.35.0-alpha.1](https://github.com/Automattic/newspack-workspace/compare/newspack-blocks@4.34.2...newspack-blocks@4.35.0-alpha.1) (2026-10-02)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **blocks:** load multiple Content Loop blocks in one editor request ([#1110](https://github.com/Automattic/newspack-workspace/issues/1110)) ([e2cde5c](https://github.com/Automattic/newspack-workspace/commit/e2cde5ce77ba7a3caff86f55172db76815fa5934))
|
|
7
|
+
* **phpcs:** point constant ignores at the documenting file ([#1130](https://github.com/Automattic/newspack-workspace/issues/1130)) ([9468c79](https://github.com/Automattic/newspack-workspace/commit/9468c79ef60ae098237278bbdd774574b95caa0e))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **components:** update @wordpress/ui and match its card borders ([#1195](https://github.com/Automattic/newspack-workspace/issues/1195)) ([9b62fe7](https://github.com/Automattic/newspack-workspace/commit/9b62fe7b69d824616ca931069c3a32738517d365))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Dependencies
|
|
16
|
+
|
|
17
|
+
* **newspack-colors:** upgraded to 1.1.5-alpha.1
|
|
18
|
+
* **newspack-icons:** upgraded to 1.2.0-alpha.1
|
|
19
|
+
* **newspack-components:** upgraded to 4.10.0-alpha.1
|
|
20
|
+
* **newspack-scripts:** upgraded to 5.12.0-alpha.1
|
|
21
|
+
|
|
22
|
+
## @automattic/newspack-blocks [4.34.2](https://github.com/Automattic/newspack-workspace/compare/newspack-blocks@4.34.1...newspack-blocks@4.34.2) (2026-09-29)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* **modal-checkout:** promotional links wait for reader activation ([#1076](https://github.com/Automattic/newspack-workspace/issues/1076)) ([522ae9a](https://github.com/Automattic/newspack-workspace/commit/522ae9aeb3235a91972f3835a4c21aff6acc5543))
|
|
28
|
+
|
|
1
29
|
## @automattic/newspack-blocks [4.34.1](https://github.com/Automattic/newspack-workspace/compare/newspack-blocks@4.34.0...newspack-blocks@4.34.1) (2026-09-28)
|
|
2
30
|
|
|
3
31
|
|