- fd9d099: chore: set workflow environment
- a2b5fbd: - chore: Bump supported WordPress version
-
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 likewp_kses_post()
andesc_url()
.
- 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.
- Introduced
-
4da3973: - chore: Bump the npm_and_yarn group across 1 directory with 7 updates
- eda911d: Updated the plugin's custom filter and action names to be consistent across the plugin
- eda911d: Fixed bug where credentials were being sent in the headers unnecessarily under certain conditions
- 7a07c0c: Change JavaScript hook names to have consistent prefix, and update codebase to meet WordPress.org standards.
- 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.
- 8f6f131: Update license to GPL-3
- 66f7e28: - Remove npm workspaces and have webpack handle compiling of the main app and internal plugins.
- 43479e0: - Add settings link to the IDE Settings tab from the WordPress settings page.
- 1cfbdff: - New Capability: Introduced a new custom capability
manage_graphql_ide
. This capability allows administrators to control access to the WPGraphQL IDE functionalities. The capability has been assigned to theadministrator
role by default.
- f6745e9: - fix missing styles in latest release
- c450e5a: - Reorganized plugin directories/files.
-
6752c37: - Added new settings section to WPGraphQL, IDE Settings
- Added new setting, Admin Bar Link Behavior
-
43eea79: Refactored stores, including renaming 'wpgraphql-ide' to 'wpgraphql-ide/app', and adding additional stores such as 'wpgraphql-ide/editor-toolbar.
Added
registerDocumentEditorToolbarButton
function to public API.This function allows registering a new editor toolbar button with the following parameters:
name
(string): The name of the button to register.config
(Object): The configuration object for the button.priority
(number, optional): The priority for the button, with lower numbers meaning higher priority. Default is 10.
Example usage:
const { registerDocumentEditorToolbarButton } = window.WPGraphQLIDE; registerDocumentEditorToolbarButton("toggle-auth", toggleAuthButton, 1);
- 194821c: - fix: The IDE no longer waits on
DOMContentLoaded
in order to help client side performance with heavier pages.- add: New PHP filters for updating the drawer label:
wpgraphqlide_drawer_button_label
wpgraphqlide_drawer_button_loading_label
- add: New PHP filters for updating the drawer label:
- f5130d9: docs: Remove link to community Slack on "Help Page" in favor of link community Discord (recently migrated)
- b005b0e: update tested up to version to WordPress 6.5
- 195dba9: fix: update z-index of the CodeMirror-info tooltip to show above the drawer
- b3164da: fix GitHub release upload
- 364b930: Fix release automation
- f0aaec1: automate github release upload
- 1f3d5b4: Fix automation of release artifact
- 3f6969a: Fix automation of release artifact
- 4660517: Fix automation of release artifact
- 45333ab: Fix automation of release artifact
- 6d73d1b: Fix automation of release artifact
- 75ec916: Add help page as a built-in plugin
- c76d592: test
- e616aab: Added changesets to assist with releases
- Fixed inability to select text inside of editor
- Focusable dismiss button to close the drawer
- GraphiQL 3.*