Skip to content

Commit

Permalink
release: 📦 Release Plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 23, 2024
1 parent 5819216 commit c77c269
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 22 deletions.
11 changes: 0 additions & 11 deletions .changeset/hip-flies-camp.md

This file was deleted.

12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## 4.0.1

### Patch Changes

- 477a555: ### Added

- Introduced `wp_localize_escaped_data()` function for recursively escaping data before localizing it in WordPress. This ensures safe output of strings, URLs, integers, and nested arrays when passing data to JavaScript, using native WordPress functions like `wp_kses_post()` and `esc_url()`.

### Improved

- Enhanced security by ensuring all localized data is properly sanitized before being passed to `wp_localize_script()`, preventing potential XSS vulnerabilities and ensuring safe use of dynamic data in JavaScript.

## 4.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wpgraphql-ide",
"version": "4.0.0",
"version": "4.0.1",
"private": true,
"repository": {
"type": "git",
Expand Down
21 changes: 13 additions & 8 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: jasonbahl, joefusco
Tags: headless, decoupled, graphql, devtools
Requires at least: 5.7
Tested up to: 6.5
Stable tag: 4.0.0
Stable tag: 4.0.1
Requires PHP: 7.4
License: GPL-3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Expand Down Expand Up @@ -39,6 +39,18 @@ The WPGraphQL IDE plugin includes several important dependencies. You can learn

== Changelog ==

= 4.0.1 =

### Patch Changes

- 477a555: ### Added

- Introduced `wp_localize_escaped_data()` function for recursively escaping data before localizing it in WordPress. This ensures safe output of strings, URLs, integers, and nested arrays when passing data to JavaScript, using native WordPress functions like `wp_kses_post()` and `esc_url()`.

### Improved

- Enhanced security by ensuring all localized data is properly sanitized before being passed to `wp_localize_script()`, preventing potential XSS vulnerabilities and ensuring safe use of dynamic data in JavaScript.

= 4.0.0 =

### Major Changes
Expand All @@ -55,11 +67,4 @@ The WPGraphQL IDE plugin includes several important dependencies. You can learn

- 7a07c0c: Change JavaScript hook names to have consistent prefix, and update codebase to meet WordPress.org standards.

= 2.1.5 =

### Patch Changes

- cb6eda0: Reorder sidebar menu to always have the IDE first.
- 1f50c93: Fixes issue where custom capability was not being assigned to the administrator role. This now happens on plugin activation.

[View the full changelog](https://github.com/wp-graphql/wpgraphql-ide/blob/main/CHANGELOG.md)
4 changes: 2 additions & 2 deletions wpgraphql-ide.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* License: GPL-3
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
* Text Domain: wpgraphql-ide
* Version: 4.0.0
* Version: 4.0.1
* Requires PHP: 7.4
* Tested up to: 6.5
* Requires Plugins: wp-graphql
Expand All @@ -22,7 +22,7 @@
exit;
}

define( 'WPGRAPHQL_IDE_VERSION', '4.0.0' );
define( 'WPGRAPHQL_IDE_VERSION', '4.0.1' );
define( 'WPGRAPHQL_IDE_ROOT_ELEMENT_ID', 'wpgraphql-ide-root' );
define( 'WPGRAPHQL_IDE_PLUGIN_DIR_PATH', plugin_dir_path( __FILE__ ) );
define( 'WPGRAPHQL_IDE_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
Expand Down

0 comments on commit c77c269

Please sign in to comment.