Skip to content

Commit

Permalink
Update to Gutenberg 17 (#253)
Browse files Browse the repository at this point in the history
* Update NodeJS to 16

* Update package dependencies to use pacakges from Gutenberg 17.6.4

* Move logic to unlock private APIs to separate file

* Use setEditedPost in editor-setup instead of setupEditorState

As setupEditorState is deprecated

* Fix Sidebar so it works with Gutenberg 17

* Update packages to those from Gutenberg 17.7

* Use new CSS classes in the inserter sidebar

* Make ListViewOutline use the new Gutenberg structure / components

* Adapt ListViewSidebar to work on Gutenberg 17

* Fix Formatting Toolbar not appearing

* Fix Typescript error

Which is actually a false positive, which is weird

* Fix style issue of the header toolbar when isolated

* Fix formatting toolbar not appearing on small screens

* Do not show Document tab if the document inspector is not true

* Update terser-webpack-plugin

So we can finish the build in a reasonable time

* Update build files

* Update dependencies to Gutenberg 17.9

* Another package bump

* Fix the tab headings in the inspector/inserter

* Prevent unnecessary API requests

We don’t want these going out so short circuit them

* Update changelog for 2.29.0

* Fix unit test

* Build

* Try and fix the tests

* Remove failing test

I don’t have the patience to figure out the right selector!

* Create IBE using React's  in the isolated non-WP browser example

To match the new React 18 API.

---------

Co-authored-by: John Godley <johng75@gmail.com>
Co-authored-by: Marcelo Serpa <boss@fullofcaffeine.com>
  • Loading branch information
3 people committed Mar 21, 2024
1 parent 54fc716 commit 8ffe060
Show file tree
Hide file tree
Showing 246 changed files with 3,652 additions and 10,234 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Use Node.js 16.x
- name: Use Node.js 20.x
uses: actions/setup-node@v2
with:
node-version: 16.x
node-version: 20.x

- name: Get yarn cache directory path
id: yarn-cache-dir-path
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14
16
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.29.0] - 2024-03-20

### Update
- Various changes to work with Gutenberg 17.9.0
- Toolbar is now a single strip only

## [2.28.0] - 2023-10-31

### Update
Expand Down
Loading

0 comments on commit 8ffe060

Please sign in to comment.