Releases: codesnippetspro/code-snippets
Version 3.6.5 (2024-05-24)
Version 3.6.4 (2024-03-15)
Added
- AI generation for all snippet types: HTML, CSS, JS. (PRO)
- Button to create a cloud connection directly from the Snippets menu when disconnected. (PRO)
Changed
- Increment the revision number of CSS and JS snippet when using the 'Reset Caches' debug action. (PRO)
- UX in generate dialog, such as allowing 'Enter' to submit the form. (PRO)
Fixed
- Minor type compatibility issue with newer versions of PHP.
- Undefined array key issue when initiating cloud sync. (PRO)
- Bug preventing downloading a single snippet from a bundle. (PRO)
- Translations not loading for strings in JavaScript files.
Version 3.6.3 (2023-11-13)
Added
- Added debug action for resetting snippets caches.
Fixed
- Import error when initialising cloud sync configuration. (PRO)
Version 3.6.2 (11 Nov 2023)
- Fixed: Error when attempting to save shared network snippets marked as active.
- Fixed: Type error when rendering checkbox fields without a stored or default value.
- Fixed: Removed automatic encoding of code content.
- Fixed: Label for snippet sharing input incorrectly linked to input field.
- Fixed: Error when attempting to download export files from Edit menu.
- Fixed: Issue loading Freemius string overrides too early. (PRO)
- Fixed: Fix redirect URL when connecting with OAuth on subdirectory or HTTPS sites. (PRO)
- Fixed: Import error when attempting to completely uninstall the plugin.
Version 3.6.1 (07 Nov 2023)
- Fixed: Issue accessing fields on Snippets class.
Version 3.6.0 (07 Nov 2023)
-
Updated minimum PHP requirement to 7.4.
-
Added: Ability to authenticate with Code Snippets Cloud using OAuth. (PRO)
-
Added: Integration with GPT AI for generating snippets. (PRO)
-
Added: Ability to generate line-by-line descriptions of snippet code with GPT AI. (PRO)
-
Added: Ability to generate tags and description text from existing snippet code with GPT AI. (PRO)
-
Improved: Ensure that the URL of the edit snippet page changes when adding a new snippet.
-
Improved: Snippet tags will automatically be added when focus is lost on the tags field.
-
Improved: Added debug settings menu for manually performing problem-solving actions.
-
Fixed: Moved active status border on edit name field to left-hand side.
-
Added: Filter to disable scroll-into-view functionality for edit page notices.
-
Fixed: New notices will not scroll if already at top of page.
-
Fixed: Potential CSRF vulnerability allowing an authenticated user to reset settings.
Version 3.5.1 (15 Sep 2023)
- Fixed: Undefined array key error when accessing plugin settings page. (PRO)
- Fixed: Issue registering API endpoints affecting edit post screen. (PRO)
- Fixed: Snippet ID instead of snippet object being passed to
code_snippets/update_snippet
action hook.
Version 3.5.0 (13 Sep 2023)
- Added: Support for the Code Snippets Cloud API.
- Added: Search and download public snippets.
- Added: Codevault back-up and synchronisation. (PRO)
- Added: Synchronised local snippets are automatically updated in Cloud. (PRO)
- Added: Bulk actions - 'update' and 'download'.
- Added: Download snippets from public and private codevaults. (PRO)
- Added: Search and download any publicly viewable snippet in Code Snippet Cloud by keyword or name of codevault. (PRO)
- Added: Deploy snippets to plugin from Code Snippets Cloud app. (PRO)
- Added: Bundles of Joy! Search and download Snippet Bundles in one go direct from Code Snippets Cloud. (PRO)
- Fixed: Error when attempting to update network shared snippets after saving. [#]
- Improved: Redirect to snippets table when deleting snippet from the edit menu.
- Improved: Scroll new notices into view on edit menu.
Version 3.4.2 (05 Jul 2023)
Version 3.4.1 (29 Jun 2023)
- Fixed: Undefined array key error. [#]
- Fixed: Potential type issue when loading Prism. [#]
- Improved: Added better debugging when calling REST API methods from the edit menu.
- Improved: Escape special characters when sending snippet code through AJAX to avoid false-positives from security modules. [#]
- Improved: Only display the latest update or error notice on the edit page, instead of allowing them to stack.
- Fixed: Potential type issue when sorting snippets. [#]
- Fixed: Issue preventing asset revision numbers from updating correctly. (PRO) [#]