Skip to content

Commit 24ddea1

Browse files
committed
Update to 11.4.0
1 parent 0ca53cd commit 24ddea1

File tree

15 files changed

+57841
-56178
lines changed

15 files changed

+57841
-56178
lines changed

DEVELOPMENT.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ pnpm wp-scripts format <filename>
4141
1. `pnpm update -L`
4242
2. `composer update`
4343
3. Build a new version of mermaid (change to the mermaid git repo directory)
44-
1. Change the tag to the version you want: e.g. `git fetch origin mermaid@11.3.0 --depth 1`
45-
2. `git checkout -b mermaid@11.3.0 FETCH_HEAD`
44+
1. Change the tag to the version you want: e.g. `git fetch origin mermaid@11.4.0 --depth 1`
45+
2. `git checkout -b mermaid@11.4.0 FETCH_HEAD`
4646
3. `pnpm i`
4747
4. `pnpm run -r clean`
4848
5. `pnpm run build:mermaid`
@@ -57,7 +57,7 @@ takes 1 positional parameter (the new plugin version) and an optional one
5757

5858
```sh
5959
# Update this plugin
60-
./bin/update-versions.sh 1.1.5 11.3.0
60+
./bin/update-versions.sh 1.1.6 11.4.0
6161
# need to build again
6262
pnpm build
6363
```

README.txt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: neffff
33
Tags: posts, mermaid, diagrams, flowchart, block
44
Requires at least: 6.4
55
Tested up to: 6.6.2
6-
Stable tag: 1.1.5
6+
Stable tag: 1.1.6
77
Requires PHP: 7.2
88
License: GPLv3
99
License URI: https://www.gnu.org/licenses/gpl-3.0.html
@@ -30,11 +30,10 @@ Yes. Checkout [MermaidJS](https://mermaid.js.org/intro/) for syntax reference a
3030

3131
== Changelog ==
3232

33-
= 1.1.5 =
34-
* Update mermaid to 11.3.0.
35-
* Add support for block alignment.
33+
= 1.1.6 =
34+
* Update mermaid to 11.4.0.
3635

3736
== Upgrade Notice ==
3837

39-
= 1.1.5 =
40-
Latest mermaid (11.3.0) & adds support for block alignment.
38+
= 1.1.6 =
39+
Latest mermaid (11.4.0).

bin/update-versions.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!env sh
1+
#!/bin/sh
22

33
# This script updates the version numbers in the source code.
44
# $1 is the plugin version
@@ -10,7 +10,7 @@ mermaid=$2
1010
version_pattern='[0-9]+\.[0-9]+\.[0-9]+(-?[a-zA-Z0-9]+)?'
1111

1212
# set the base directory up a level
13-
pushd $(dirname $0)/.. > /dev/null
13+
pushd $(dirname "$0")/.. > /dev/null
1414

1515
if [ -z "$plugin" ]; then
1616
echo "Usage: $0 <plugin version> [<mermaid version>]"
@@ -39,4 +39,4 @@ if [ -n "$mermaid" ]; then
3939
fi
4040

4141

42-
popd > /dev/null
42+
popd > /dev/null

build/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"flow",
1414
"graph"
1515
],
16-
"version": "1.1.5",
16+
"version": "1.1.6",
1717
"textdomain": "my-plugin",
1818
"attributes": {
1919
"content": {

build/index.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php declare( strict_types=1 );
22
return array(
33
'dependencies' => array( 'react', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-media-utils', 'wp-notices', 'wp-primitives' ),
4-
'version' => 'ba2a39f4f3527262f99a',
4+
'version' => '601083c253da339eca17',
55
);

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.

composer.lock

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

merpress.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: MerPress
44
* Plugin URI: https://github.com/n3f/merpress
55
* Description: Merpress lets you create diagrams and visualizations using <a href="https://mermaid-js.github.io/mermaid/">MermaidJS</a>.
6-
* Version: 1.1.5
6+
* Version: 1.1.6
77
* Requires at least: 4.6
88
*
99
* @package MerPress
@@ -16,8 +16,8 @@
1616
exit;
1717
}
1818

19-
define( 'MERMAID_PLUGIN_VERSION', '1.1.5' );
20-
define( 'MERMAID_JS_VERSION', '11.3.0' );
19+
define( 'MERMAID_PLUGIN_VERSION', '1.1.6' );
20+
define( 'MERMAID_JS_VERSION', '11.4.0' );
2121

2222
add_action(
2323
'init',

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "merpress",
3-
"version": "1.1.5",
3+
"version": "1.1.6",
44
"description": "Merpress: add MermaidJS to WordPress",
55
"scripts": {
66
"build": "rm build/* && wp-scripts build && ./bin/tweak-built-php.sh",
@@ -24,9 +24,9 @@
2424
"homepage": "https://github.com/n3f/merpress#readme",
2525
"devDependencies": {
2626
"@svgr/webpack": "^8.1.0",
27-
"@wordpress/env": "^10.9.0",
28-
"@wordpress/icons": "^10.9.0",
29-
"@wordpress/scripts": "^30.1.0",
27+
"@wordpress/env": "^10.11.0",
28+
"@wordpress/icons": "^10.11.0",
29+
"@wordpress/scripts": "^30.4.0",
3030
"husky": "^9.1.6",
3131
"react": "^18.3.1",
3232
"url-loader": "^4.1.1"
@@ -40,5 +40,5 @@
4040
"pnpm-lock.yaml",
4141
"DEVELOPMENT.md"
4242
],
43-
"packageManager": "pnpm@9.8.0+sha512.8e4c3550fb500e808dbc30bb0ce4dd1eb614e30b1c55245f211591ec2cdf9c611cabd34e1364b42f564bd54b3945ed0f49d61d1bbf2ec9bd74b866fcdc723276"
43+
"packageManager": "pnpm@9.13.2+sha512.88c9c3864450350e65a33587ab801acf946d7c814ed1134da4a924f6df5a2120fd36b46aab68f7cd1d413149112d53c7db3a4136624cfd00ff1846a0c6cef48a"
4444
}

0 commit comments

Comments
 (0)