Skip to content

Releases: codesnippetspro/code-snippets

Version 3.6.7 (2025-01-24)

24 Jan 12:20
Compare
Choose a tag to compare

Added

  • Generated snippet shortcode tags will include the snippet name, for easier identification.
  • Admin notices will dismiss automatically after five seconds. (#208)

Changed

  • Updated CSS to use latest Sass features.
  • Moved theme selector to just above editor preview on settings page (thanks to [brandonjp]). (#206)
  • [code_snippet] shortcodes can now be nested within each other. (#198)

Fixed

  • Save buttons above editor did not follow usual validation process in Pro. (PRO) (#197)
  • Minor inconsistencies in consistent UI elements between Core and Pro.
  • Tags input not allowing input. (#211)
  • Issue with Elementor source code widget. (PRO) (#205)
  • Snippet descriptions not visible when viewing cloud search results.
  • Snippet import page not displaying number of successfully imported snippets.
  • Use UTC time when deciding when to display campaign notices.

Version 3.6.6.1 (2024-11-27)

24 Jan 12:19
Compare
Choose a tag to compare

Fixed

  • Redeployment of v3.6.6 to overcome issue with initial build.
  • Type issue when caching cloud links. (PRO)

Version 3.6.6

24 Jan 12:18
Compare
Choose a tag to compare

Changed

  • Improved compatability with modern versions of PHP.
  • Extended welcome API to include admin notices.
  • Action hook code_snippets/update_snippet now only includes the snippet ID instead of the full snippet object.
  • Action hook code_snippets/admin/manage now includes the currently viewed type.

Fixed

  • Memory issue from checking aggregate posts while loading front-end syntax highlighter.
  • Translation functions being called too early on upgrade, resulting in localisation loading errors.
  • Bug preventing the 'share on network' status of network snippets from correctly updating.
  • Incorrect logic controlling when to display 'Save Changes' or 'Save Changes and Activate' buttons.
  • Old notices persisting when switching between editing and creating snippets.

Version 3.6.5 (2024-05-24)

11 Sep 05:57
Compare
Choose a tag to compare

Added

  • New admin menu providing useful resources and updates on the Code Snippets plugin and community.

Version 3.6.4 (2024-03-15)

24 May 14:47
Compare
Choose a tag to compare

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)

24 May 14:46
Compare
Choose a tag to compare

Added

  • Added debug action for resetting snippets caches.

Fixed

  • Import error when initialising cloud sync configuration. (PRO)

Version 3.6.2 (11 Nov 2023)

24 May 14:46
Compare
Choose a tag to compare
  • 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)

24 May 14:45
Compare
Choose a tag to compare
  • Fixed: Issue accessing fields on Snippets class.

Version 3.6.0 (07 Nov 2023)

24 May 14:45
Compare
Choose a tag to compare
  • 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)

24 May 14:44
Compare
Choose a tag to compare
  • 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.