Skip to content

Commit

Permalink
chore: merge develop, update since tags and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Waldstein authored and Jon Waldstein committed Oct 16, 2024
1 parent 8ca0743 commit b5d5706
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion give.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ final class Give
private $container;

/**
* @unreleased added Settings service provider
* @since 3.17.0 added Settings service provider
* @since 2.25.0 added HttpServiceProvider
* @since 2.19.6 added Donors, Donations, and Subscriptions
* @since 2.8.0
Expand Down
4 changes: 3 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: donation, donate, recurring donations, fundraising, crowdfunding
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.2
Stable tag: 3.16.5
Stable tag: 3.17.0
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -268,7 +268,9 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro
== Changelog ==
= 3.17.0: October 16th, 2024 =
* New: Added new security tab with option to enable a honeypot field for visual builder forms
* Fix: Resolved an issue with the donor name prefix block not saving correctly
* Dev: Resolved php 8.1 compatability conflict with MyCLabs\Enum\Enum::jsonSerialize()
* Dev: Added gateway api updates for pausing subscriptions

= 3.16.5: October 15th, 2024 =
* Fix: Resolved a PHP v8+ fatal error on option-based forms when the Tributes add-on was enabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ protected function createNodeFromBlockWithUniqueAttributes(BlockModel $block, in
}

/**
* @unreleased updated honorific field with validation, global options, and user defaults
* @since 3.17.0 updated honorific field with validation, global options, and user defaults
*
* @since 3.0.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react';
import "./style.scss";

/**
* @unreleased reference givewp/src/DonorDashboards/resources/views/donordashboardloader.php
* @since 3.17.0 reference givewp/src/DonorDashboards/resources/views/donordashboardloader.php
*/
export default function DashboardLoadingSpinner() {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,28 @@
use Give\Subscriptions\Models\Subscription;

/**
* @unreleased
* @since 3.17.0
*/
interface SubscriptionPausable
{
/**
* Pause subscription.
*
* @unreleased
* @since 3.17.0
*/
public function pauseSubscription(Subscription $subscription, array $data): void;

/**
* Resume subscription.
*
* @unreleased
* @since 3.17.0
*/
public function resumeSubscription(Subscription $subscription): void;

/**
* Check if subscription can be paused.
*
* @unreleased
* @since 3.17.0
*/
public function canPauseSubscription(): bool;
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function cancelSubscription(Subscription $subscription);
/**
* Whether the gateway supports pausing subscriptions.
*
* @unreleased
* @since 3.17.0
*/
public function canPauseSubscription(): bool;

Expand Down
6 changes: 3 additions & 3 deletions src/Framework/PaymentGateways/PaymentGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public function cancelSubscription(Subscription $subscription)
/**
* @inheritDoc
*
* @unreleased
* @since 3.17.0
*/
public function pauseSubscription(Subscription $subscription, array $data = []): void
{
Expand All @@ -158,7 +158,7 @@ public function pauseSubscription(Subscription $subscription, array $data = []):
/**
* @inheritDoc
*
* @unreleased
* @since 3.17.0
*/
public function resumeSubscription(Subscription $subscription): void
{
Expand All @@ -174,7 +174,7 @@ public function resumeSubscription(Subscription $subscription): void
/**
* @inheritDoc
*
* @unreleased
* @since 3.17.0
*/
public function canPauseSubscription(): bool
{
Expand Down
2 changes: 1 addition & 1 deletion src/Framework/PaymentGateways/SubscriptionModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function setGateway(PaymentGateway $gateway)
}

/**
* @unreleased
* @since 3.17.0
*/
public function canPauseSubscription(): bool
{
Expand Down
2 changes: 1 addition & 1 deletion src/Subscriptions/Repositories/SubscriptionRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public function insert(Subscription $subscription)
}

/**
* @unreleased add expiration column to update
* @since 3.17.0 add expiration column to update
* @since 2.24.0 add payment_mode column to update
* @since 2.21.0 replace actions with givewp_subscription_updating and givewp_subscription_updated
* @since 2.19.6
Expand Down
4 changes: 2 additions & 2 deletions src/Subscriptions/ValueObjects/SubscriptionStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Give\Framework\Support\ValueObjects\Enum;

/**
* @unreleased Added a new "paused" status
* @since 3.17.0 Added a new "paused" status
* @since 2.19.6
*
* @method static SubscriptionStatus PENDING()
Expand Down Expand Up @@ -42,7 +42,7 @@ class SubscriptionStatus extends Enum {
const PAUSED = 'paused';

/**
* @unreleased Added a new "paused" status
* @since 3.17.0 Added a new "paused" status
* @since 2.24.0
*
* @return array
Expand Down

0 comments on commit b5d5706

Please sign in to comment.