Skip to content

Releases: warfare-plugins/social-warfare

4.5.4

17 Sep 20:06
812667e
Compare
Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

This changelog covers updates for version 4.5.4.

[4.5.4] - 2024-09-10

Added

  • Added CHANGELOG.md to improve version tracking and transparency.
  • Added the WpOrg\Requests\Requests namespace to SWP_Requests.php to address the PSR-0 deprecation warning.
  • Fix Pinterest share button to include href for SEO while preserving onclick functionality.

Changed

  • Updated stable tag and version numbers to 4.5.4.
  • Enhanced security by updating SECURITY.md to support versions >= 4.5.0.
  • Updated block category filter in blocks.php to align with the latest WordPress standards.
  • Removed deprecated Facebook options from SWP_Options_Page.

Fixed

  • Enabled WP_DEBUG_LOG and disabled WP_DEBUG_DISPLAY to improve debugging without affecting the site's frontend display.
  • Bumped dependencies including @wordpress/icons, @wordpress/scripts, @wordpress/env, and others to ensure compatibility and security.
  • Resolved PHP deprecation warning by explicitly declaring the $response property in the SWP_Twitter class, ensuring compatibility with future PHP versions.
  • Fixed Pinterest share button by adding an href attribute for SEO while retaining the onclick functionality for proper user interaction.

4.5.3

13 Aug 14:59
da048c2
Compare
Choose a tag to compare

Changelog

Version 4.5.3

Merged Pull Requests:

Updates:

  • Updated stable tag and version numbers to 4.5.3. (Commit: chore: Update plugin version to 4.5.3 by @andbalashov)
  • Updated allowed HTML tags and attributes in SWP_Header_Output.php to enhance security and compatibility. (Commit: chore: Update allowed HTML tags and attributes for SWP_Header_Output.php by @andbalashov)

4.5.2

07 Aug 16:39
f7dff0e
Compare
Choose a tag to compare

Changelog

Version 4.5.2

  • Merged Pull Requests:

    • Merged staging into the main branch. (PR: #59 by @goqflash)
    • Merged master into the main branch. (PR: #8 by @andbalashov)
    • Merged staging into the main branch. (PR: #919 by @andbalashov)
    • Merged master into the main branch. (PR: #39 by @andbalashov)
  • Updates:

    • Updated stable tag and version numbers to 4.5.2. (Commit: 30f24f2 by @andbalashov)
    • Changed hook from wp to wp_loaded for deferred class instantiation to improve performance and compatibility. (Commit: 71433c5 by @andbalashov)
    • Updated plugin version to 4.5.2. (Commit: f4be800 by @andbalashov)

4.5.1

02 Aug 12:34
b8d4549
Compare
Choose a tag to compare

Version 4.5.1 - Release Notes

Enhancements:

  • Updated .wp-env.json with social-warfare-pro plugin version 4.5.1

Refactoring:

  • Improved security by updating SWP_Addon.php to use 'security' instead of 'nonce'.
  • Updated SWP_Options_Page.php to use translation functions for better internationalization support.

Maintenance:

  • Updated plugin version to 4.5.1.

4.5.0

29 Jul 15:01
6d689e9
Compare
Choose a tag to compare

Release for v.4.5.0

This Version v4.5.0 includes several updates and improvements.
Below is a summary of the commits included in this merge.

Summary of Updates

  • Implemented linting and WP ENV for local development
  • Added PHPCS ruleset
  • Removed coding standards workflow file
  • Added compiled HTML property to SWP_Notice class
  • Created and updated CODEOWNERS
  • Removed unnecessary lines and comments
  • Added API URLs array to SWP_Post_Cache class
  • Created dependabot.yml
  • Updated multiple dependencies and workflows
  • Added Security Policy
  • Refactored PHPDoc comments and auto-registered widget in SWP_Popular_Posts_Widget
  • Escaped HTML output in SWP_Widget.php
  • Enhanced form rendering in SWP_Popular_Posts_Widget.php
  • Updated meta_key in SWP_Popular_Posts_Widget
  • Optimized settings storage and HTML tag stripping in SWP_Utility.php
  • Modified 'excerpt_more' filter
  • Removed screen options tab from admin page
  • Corrected variable name typo in SWP_Utility.php
  • Refactored and improved readability, naming conventions, and security in multiple classes

Refactors include:

  • Removed unused parameters and legacy AJAX methods
  • Consolidated cache rebuild methods
  • Improved caching mechanism for image attachments
  • Used wp_json_encode() instead of json_encode()
  • Updated SQL query to use prepared statements
  • Enhanced debug function with nonce verification

Other Changes:

  • Created persistent notices
  • Updated README.md

4.4.6.3

07 Apr 19:27
603c6c2
Compare
Choose a tag to compare

= 4.4.6.3 (5 Apr 2024) =

  • Changed the visibility of $key property from private to public to allow external access and manipulation, enhancing the flexibility for class interactions.
  • Changed the visibility of $user_options property from private to public, enabling direct access to user options pulled from the database. This adjustment aims to streamline processes that require external manipulation of user options.

4.4.6.2

03 Apr 20:12
00c1045
Compare
Choose a tag to compare

= 4.4.6.2 (3 Apr 2024) =

  • Implemented stricter attribute sanitization in SWP_Buttons_Panel_Shortcode class to enhance security and mitigate the risk of cross-site scripting (XSS) attacks through shortcode attributes. This update introduces a more rigorous sanitization process for all attributes passed through the shortcode handling mechanism. The sanitize_attributes method now applies basic sanitization using sanitize_text_field, followed by a secondary sanitization step using a regex pattern to remove any remaining special characters that could be used in malicious injections.
    • Enhanced sanitize_attributes method in SWP_Buttons_Panel_Shortcode class
    • Added regex pattern to remove special characters from attribute values after initial sanitization

4.4.6.1

21 Mar 11:14
4fd0b83
Compare
Choose a tag to compare

= 4.4.6.1 (21 Mar 2024) =

  • Updated social sharing buttons style, providing a modern look and improving user interface design. Issue #900 (#900)
    • Removed Facebook share count functionality, simplifying the display and enhancing performance.
  • Upgraded SWP_Database_Migration class to version 4.4.6.1, introducing new methods and improvements for database handling.
  • Fixed an initialization issue in the SWP_Database_Migration class, ensuring smooth operation and compatibility with the latest WordPress versions.

4.4.6

12 Mar 18:27
bf97e50
Compare
Choose a tag to compare

= 4.4.6 (12 Mar 2024) =

  • Introduced a caching mechanism for analytics data, significantly reducing database load and enhancing page load speeds. Further details at #826.
  • Optimized the record_share_counts method to eliminate redundant database updates, now incorporating checks against existing data for efficiency.
  • Deployed transient caching for social share counts, effectively minimizing database query frequency and its performance impact.
  • Implemented strategic database query optimizations, including indexing recommendations, to accelerate query processing.
  • Strengthened error handling and validation in the analytics update workflow, safeguarding data accuracy and integrity.
  • Refactored analytics data management to bolster maintainability and alignment with WordPress coding standards.
  • Addressed the post-preview anomaly in Social Warfare Pro, rectifying the 'undefined' URL or page not found error, as documented at #897.

4.4.5

10 Jan 18:39
9adfe78
Compare
Choose a tag to compare

= 4.4.5 (01 JAN 2024) =

  • WordPress Coding Standards
  • Remove Google Plus functions