Skip to content

Commit bf7b176

Browse files
committed
V3 Block support
1 parent d9a0301 commit bf7b176

File tree

8 files changed

+332
-318
lines changed

8 files changed

+332
-318
lines changed

build/block.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"$schema": "https://json.schemastore.org/block.json",
3-
"apiVersion": 2,
2+
"$schema": "https://schemas.wp.org/trunk/block.json",
3+
"apiVersion": 3,
44
"name": "simpletoc/toc",
55
"version": "6.6.1",
66
"title": "SimpleTOC",

build/index.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-editor', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-server-side-render'), 'version' => '78424e1e7a68c111cad3');
1+
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-editor', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-server-side-render'), 'version' => '74ae828deb75dac215d3');

build/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 313 additions & 303 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "simpletoc",
3-
"version": "6.7.4",
3+
"version": "6.9.0",
44
"author": "Marc Tönsing",
55
"description": "SEO-friendly Table of Contents Gutenberg block. No JavaScript and no CSS means faster loading.",
66
"main": "build/index.js",
@@ -29,12 +29,12 @@
2929
"wp-int": "npm install @wordpress/scripts --save-dev --save-exact @wordpress/scripts"
3030
},
3131
"devDependencies": {
32-
"@wordpress/env": "^10.35.0",
33-
"@wordpress/scripts": "^31.0.0"
32+
"@wordpress/env": "^10.36.0",
33+
"@wordpress/scripts": "^31.1.0"
3434
},
3535
"dependencies": {
36-
"@wordpress/i18n": "^6.8.0",
37-
"@wordpress/icons": "^11.2.0",
38-
"@wordpress/server-side-render": "^6.11.0"
36+
"@wordpress/i18n": "^6.9.0",
37+
"@wordpress/icons": "^11.3.0",
38+
"@wordpress/server-side-render": "^6.12.0"
3939
}
4040
}

plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Plugin Name: SimpleTOC - Table of Contents Block
55
* Plugin URI: https://marc.tv/simpletoc-wordpress-inhaltsverzeichnis-plugin-gutenberg/
66
* Description: SEO-friendly Table of Contents Gutenberg block. No JavaScript and no CSS means faster loading.
7-
* Version: 6.7.4
7+
* Version: 6.9.0
88
* Author: Marc Tönsing
99
* Author URI: https://toensing.com
1010
* Text Domain: simpletoc

readme.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
Contributors: MarcDK
33
Tags: TOC, Table of Contents, Block, Accessibility, Table
44
Requires at least: 5.9
5-
Tested up to: 6.8
6-
Stable tag: 6.7.4
5+
Tested up to: 6.9
6+
Stable tag: 6.9.0
77
Requires PHP: 7.0
88
License: GPLv2 or later
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -57,6 +57,10 @@ This plugin is designed & developed for WCAG 2.2 level AA conformance. The plugi
5757

5858
== Changelog ==
5959

60+
= 6.9.0 =
61+
* Added: Support for the new V3 block api.
62+
* Added: Tested compatibility with WordPress 6.9
63+
6064
= 6.7.3 =
6165
* Added: Tested compatibility with WordPress 6.8
6266

src/block.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"$schema": "https://json.schemastore.org/block.json",
3-
"apiVersion": 2,
2+
"$schema": "https://schemas.wp.org/trunk/block.json",
3+
"apiVersion": 3,
44
"name": "simpletoc/toc",
55
"version": "6.6.1",
66
"title": "SimpleTOC",

0 commit comments

Comments
 (0)