Skip to content

Commit 2859897

Browse files
committed
Update changelog and version number to version 3.6.0.
1 parent 61277d3 commit 2859897

File tree

5 files changed

+28
-76
lines changed

5 files changed

+28
-76
lines changed

Diff for: CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## 3.6.0-beta.1 (18 Oct 2023)
3+
## 3.6.0 (07 Nov 2023)
44
* Updated minimum PHP requirement to 7.4.
55

66
* Added: Ability to authenticate with Code Snippets Cloud using OAuth. (PRO)
@@ -13,6 +13,8 @@
1313
* Improved: Added debug settings menu for manually performing problem-solving actions.
1414
* Fixed: Moved active status border on edit name field to left-hand side.
1515
* Added: Filter to disable scroll-into-view functionality for edit page notices.
16+
* Fixed: New notices will not scroll if already at top of page.
17+
* Fixed: Potential CSRF vulnerability allowing an authenticated user to reset settings.
1618

1719
## 3.5.1 (15 Sep 2023)
1820
* Fixed: Undefined array key error when accessing plugin settings page. (PRO)

Diff for: code-snippets.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
* License: GPL-2.0-or-later
99
* License URI: license.txt
1010
* Text Domain: code-snippets
11-
* Version: 3.6.0-beta.2
11+
* Version: 3.6.0
1212
* Requires PHP: 7.4
1313
* Requires at least: 5.0
1414
*
15-
* @version 3.6.0-beta.2
15+
* @version 3.6.0
1616
* @package Code_Snippets
1717
* @author Shea Bunge <[email protected]>
1818
* @copyright 2012-2023 Code Snippets Pro
@@ -37,7 +37,7 @@
3737
*
3838
* @const string
3939
*/
40-
define( 'CODE_SNIPPETS_VERSION', '3.6.0-beta.2' );
40+
define( 'CODE_SNIPPETS_VERSION', '3.6.0' );
4141

4242
/**
4343
* The full path to the main file of this plugin.

Diff for: package-lock.json

+2-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "code-snippets",
3-
"version": "3.6.0-beta.2",
3+
"version": "3.6.0",
44
"description": "Manage code snippets running on a WordPress-powered site through a graphical interface",
55
"homepage": "https://wordpress.org/plugins/code-snippets",
66
"main": "gulpfile.babel.ts",

Diff for: readme.txt

+19-57
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Donate link: https://codesnippets.pro
44
Tags: snippets, functions, multisite, code, php, html, css, javascript
55
License: MIT
66
License URI: license.txt
7-
Stable tag: 3.5.1
7+
Stable tag: 3.6.0
88
Tested up to: 6.4
99

1010
An easy, clean and simple way to run code snippets on your site.
@@ -131,6 +131,22 @@ You can report security bugs found in the source code of this plugin through the
131131

132132
== Changelog ==
133133

134+
= 3.6.0 (07 Nov 2023) =
135+
* Updated minimum PHP requirement to 7.4.
136+
137+
* Added: Ability to authenticate with Code Snippets Cloud using OAuth. (PRO)
138+
* Added: Integration with GPT AI for generating snippets. (PRO)
139+
* Added: Ability to generate line-by-line descriptions of snippet code with GPT AI. (PRO)
140+
* Added: Ability to generate tags and description text from existing snippet code with GPT AI. (PRO)
141+
142+
* Improved: Ensure that the URL of the edit snippet page changes when adding a new snippet.
143+
* Improved: Snippet tags will automatically be added when focus is lost on the tags field.
144+
* Improved: Added debug settings menu for manually performing problem-solving actions.
145+
* Fixed: Moved active status border on edit name field to left-hand side.
146+
* Added: Filter to disable scroll-into-view functionality for edit page notices.
147+
* Fixed: New notices will not scroll if already at top of page.
148+
* Fixed: Potential CSRF vulnerability allowing an authenticated user to reset settings.
149+
134150
= 3.5.1 (15 Sep 2023) =
135151
* Fixed: Undefined array key error when accessing plugin settings page. (PRO)
136152
* Fixed: Issue registering API endpoints affecting edit post screen. (PRO)
@@ -242,63 +258,9 @@ thanks to contributions made by [Amaral Krichman](https://github.com/karmaral).
242258
* Added: Icon to 'Go Pro' button indicating it opens an external tab.
243259
* Improved: Allow display styles in snippet descriptions.
244260

245-
= 3.0.1 (14 May 2022) =
246-
* Fixed: Incompatibility issue with earlier versions of PHP.
247-
248-
= 3.0.0 (14 May 2022) =
249-
250-
__Added__
251-
252-
* Added: HTML content snippets for displaying as shortcodes or including in the page head or footer area.
253-
* Added: Notice reminding users to upgrade unsupported PHP versions.
254-
* Added: Visual settings to add attributes to shortcodes.
255-
* Added: Shortcode buttons to the post and page content editors.
256-
* Added: Basic REST API endpoints.
257-
* Added: Snippet type column to the snippets table.
258-
* Added: Snippet type badges to Edit and Add New Snippet pages.
259-
* Added: Setting to control whether the current line of the code editor is highlighted.
260-
* Added: Display a warning when saving a snippet with missing title or code.
261-
* Added: Add suffix to title of cloned snippets.
262-
263-
__Changed__
264-
265-
* Improved: Updated plugin code to use namespaces, preventing name collisions with other plugins.
266-
* Improved: Added key for the 'active' and 'scope' database table columns to speed up queries.
267-
* Improved: Redirect from edit menu if not editing a valid snippet.
268-
* Improved: Moved activation switch into its own table column.
269-
* Improved: Updated code documentation according to WordPress standards.
270-
* Improved: Added snippet type labels to the tabs on the Snippets page.
271-
* Improved: Split settings page into tabs.
272-
* Improved: Use the version of CodeMirror included with WordPress where possible to inherit the additional built-in features.
273-
* Improved: Added hover effect to priority settings in the snippets table to show that they are editable.
274-
* Fixed: Snippets table layout on smaller screens.
275-
276-
__Deprecated__
277-
278-
* Removed: Deprecated functions and compatibility code for unsupported PHP versions.
279-
* Removed: Option to disable snippet scopes.
280-
281-
__New in Pro__
282-
283-
* Added: CSS style snippets for the site front-end and admin area.
284-
* Added: JavaScript snippets for the site head and body area on the front-end.
285-
* Added: Browser cache versioning for CSS and JavaScript snippets.
286-
* Added: Support for exporting and downloading CSS and JavaScript snippets.
287-
* Added: Support for highlighting code on the front-end.
288-
* Added: Editor syntax highlighting for CSS, JavaScript and HTML snippets.
289-
* Added: Button to preview full file when editing CSS or JavaScript snippets.
290-
* Added: Option to minify CSS and JavaScript snippets.
291-
* Added: Gutenberg editor block for displaying content snippets.
292-
* Added: Gutenberg editor block for displaying snippet source code.
293-
* Added: Elementor widget for displaying content snippets.
294-
* Added: Elementor widget for displaying snippet source code.
295-
296261
**[The full changelog is available on GitHub](https://github.com/codesnippetspro/code-snippets/blob/master/CHANGELOG.md)**
297262

298263
== Upgrade Notice ==
299264

300-
= 3.5.1 =
301-
Code Snippets Cloud is here! Share snippets and synchronise between sites.
302-
303-
= 3.5.0 =
304-
Code Snippets Cloud is here! Share snippets and synchronise between sites.
265+
= 3.6.0 =
266+
New Pro feature: Generate and explain snippets using AI.

0 commit comments

Comments
 (0)