Skip to content

Commit 9a5a319

Browse files
committed
Release 1.0.1.
1 parent 396aeff commit 9a5a319

File tree

5 files changed

+15
-4
lines changed

5 files changed

+15
-4
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22

33
## [Unreleased]
44

5+
## [1.0.1] - 2024-11-23
6+
7+
* Imported PluginSidebar and other components from the editor package to prevent notices in the console after WordPress 6.6.
8+
* Updated Prism.js to version 1.29.0.
59
* Added an admin notice if Shiny Code is missing dependencies. ([#5](https://github.com/cedaro/shiny-code/issues/5))
10+
* Updated npm and Composer dependencies.
11+
* Fixed coding standards warnings and errors.
12+
* Updated Sass files to fix deprecation warnings and errors.
613

714
## [1.0.0] - 2018-12-13
815

@@ -14,5 +21,6 @@
1421

1522
* First release.
1623

17-
[Unreleased]: https://github.com/cedaro/shiny-code/compare/v1.0.0...HEAD
24+
[Unreleased]: https://github.com/cedaro/shiny-code/compare/v1.0.1...HEAD
25+
[1.0.1]: https://github.com/cedaro/shiny-code/compare/v1.0.0...v1.0.1
1826
[1.0.0]: https://github.com/cedaro/shiny-code/compare/v0.1.0...v1.0.0

bin/archive

100644100755
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const argv = require( 'minimist' )( process.argv.slice( 2 ), {
1313
} );
1414

1515
const pluginFile = path.join( __dirname, `../${ config.name }.php` );
16+
const composerJson = path.join( __dirname, '../composer.json' );
1617
const packageJson = path.join( __dirname, '../package.json' );
1718
let version = argv.version;
1819

@@ -23,6 +24,7 @@ if ( ! version ) {
2324

2425
replaceInFile( pluginFile, /(Version:[\s]+).+/, `\$1${ version }` )
2526
.then( () => replaceInFile( pluginFile, /VERSION = '.+'/, `VERSION = '${ version }'` ) )
27+
.then( () => replaceInFile( composerJson, /"version": "[^"]+"/, `"version": "${ version }"` ))
2628
.then( () => replaceInFile( packageJson, /"version": "[^"]+"/, `"version": "${ version }"` ))
2729
.then( () => spawn( 'composer', [ 'install', '--no-dev', '--prefer-dist' ] ) )
2830
.then( () => spawn( 'composer', [ 'dump-autoload', '--no-dev', '--optimize' ] ) )

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "cedaro/shiny-code",
33
"description": "A Gutenberg block for editing and displaying code with syntax highlighting.",
4+
"version": "1.0.1",
45
"keywords": [
56
"wordpress"
67
],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "shiny-code",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "A Gutenberg block for editing and displaying code with syntax highlighting.",
55
"homepage": "https://www.cedaro.com/",
66
"license": "GPL-2.0-or-later",

shiny-code.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Plugin Name: Shiny Code
1111
* Plugin URI: https://github.com/cedaro/shiny-code
1212
* Description: A Gutenberg block for editing and displaying code with syntax highlighting.
13-
* Version: 1.0.0
13+
* Version: 1.0.1
1414
* Author: Cedaro
1515
* Author URI: https://www.cedaro.com/
1616
* License: GPL-2.0-or-later
@@ -38,7 +38,7 @@
3838
*
3939
* @var string
4040
*/
41-
const VERSION = '1.0.0';
41+
const VERSION = '1.0.1';
4242

4343
/**
4444
* Load the Composer autoloader.

0 commit comments

Comments
 (0)