Skip to content

Commit

Permalink
chore: update since tags and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Waldstein committed Aug 14, 2024
1 parent 4276e70 commit 3e94d1b
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 29 deletions.
3 changes: 2 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,8 @@ The 2% fee on Stripe donations only applies to donations taken via our free Stri

== Changelog ==
= 3.15.0: Aug 14th, 2024 =
* New: Updated the onboarding wizard to create a new form with the form builder
* New: Added Akismet integration support to forms using the visual form builder
* New: Updated the onboarding wizard to create a new form with the visual form builder
* Changed: Updated the "Add Form" buttons to use the visual form builder by default
* Fix: Resolved an issue with Give Subscribers accessing their donor dashboard history

Expand Down
2 changes: 1 addition & 1 deletion src/DonationForms/Routes/DonateRoute.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function __invoke(array $request)
* Allow for additional validation of the donation form data.
* The donation flow can be interrupted by throwing an Exception.
*
* @unreleased
* @since 3.15.0
*
* @param DonateControllerData $data
*/
Expand Down
4 changes: 2 additions & 2 deletions src/DonationSpam/Akismet/API.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
use Give\DonationSpam\Akismet\DataTransferObjects\CommentCheckArgs;

/**
* @unreleased
* @since 3.15.0
*/
class API
{
/**
* @unreleased
* @since 3.15.0
*/
public function commentCheck(CommentCheckArgs $args): array
{
Expand Down
6 changes: 3 additions & 3 deletions src/DonationSpam/Akismet/Actions/ValidateDonation.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use Give\Log\Log;

/**
* @unreleased
* @since 3.15.0
*/
class ValidateDonation
{
Expand All @@ -27,7 +27,7 @@ class ValidateDonation
protected $whitelist;

/**
* @unreleased
* @since 3.15.0
*/
public function __construct(API $akismet, EmailAddressWhiteList $whitelist)
{
Expand All @@ -36,7 +36,7 @@ public function __construct(API $akismet, EmailAddressWhiteList $whitelist)
}

/**
* @unreleased
* @since 3.15.0
*
* @param DonateControllerData $data
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Give\DonationForms\DataTransferObjects\DonateControllerData;

/**
* @unreleased
* @since 3.15.0
*/
class CommentCheckArgs
{
Expand All @@ -21,7 +21,7 @@ class CommentCheckArgs
public $comment_author_email;

/**
* @unreleased
* @since 3.15.0
*/
public static function make(DonateControllerData $data): CommentCheckArgs
{
Expand Down Expand Up @@ -51,7 +51,7 @@ public static function make(DonateControllerData $data): CommentCheckArgs
}

/**
* @unreleased
* @since 3.15.0
*/
public function toHttpQuery(): string
{
Expand Down
8 changes: 4 additions & 4 deletions src/DonationSpam/Akismet/DataTransferObjects/SpamContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Give\DonationSpam\Akismet\DataTransferObjects;

/**
* @unreleased
* @since 3.15.0
*/
class SpamContext
{
Expand All @@ -18,7 +18,7 @@ class SpamContext
protected $response;

/**
* @unreleased
* @since 3.15.0
*/
public function __construct(CommentCheckArgs $args, array $response)
{
Expand All @@ -27,7 +27,7 @@ public function __construct(CommentCheckArgs $args, array $response)
}

/**
* @unreleased
* @since 3.15.0
*/
public function __serialize(): array
{
Expand All @@ -39,7 +39,7 @@ public function __serialize(): array
}

/**
* @unreleased
* @since 3.15.0
*/
public function formatMessage(): string
{
Expand Down
6 changes: 3 additions & 3 deletions src/DonationSpam/EmailAddressWhiteList.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Give\DonationSpam;

/**
* @unreleased
* @since 3.15.0
*/
class EmailAddressWhiteList
{
Expand All @@ -13,15 +13,15 @@ class EmailAddressWhiteList
protected $whitelistEmails;

/**
* @unreleased
* @since 3.15.0
*/
public function __construct($whitelistEmails = [])
{
$this->whitelistEmails = $whitelistEmails;
}

/**
* @unreleased
* @since 3.15.0
*/
public function validate($email): bool
{
Expand Down
2 changes: 1 addition & 1 deletion src/DonationSpam/Exceptions/SpamDonationException.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
use Give\Framework\Exceptions\Primitives\Exception;

/**
* @unreleased
* @since 3.15.0
*/
class SpamDonationException extends Exception {}
8 changes: 4 additions & 4 deletions src/DonationSpam/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
use Give\ServiceProviders\ServiceProvider as ServiceProviderInterface;

/**
* @unreleased
* @since 3.15.0
*/
class ServiceProvider implements ServiceProviderInterface
{
/**
* @unreleased
* @since 3.15.0
* @inheritDoc
*/
public function register(): void
Expand All @@ -24,7 +24,7 @@ public function register(): void
}

/**
* @unreleased
* @since 3.15.0
* @inheritDoc
*/
public function boot(): void
Expand All @@ -35,7 +35,7 @@ public function boot(): void
}

/**
* @unreleased
* @since 3.15.0
* @return bool
*/
public function isAkismetEnabledAndConfigured(): bool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
use PHPUnit_Framework_MockObject_MockObject;

/**
* @unreleased
* @since 3.15.0
*/
final class ValidateDonationTest extends TestCase
{
protected $spamResponse = [1 => 'true'];
protected $notSpamResponse = [1 => 'false'];

/**
* @unreleased
* @since 3.15.0
*/
public function testValidatesNotSpamDonation()
{
Expand All @@ -41,7 +41,7 @@ public function testValidatesNotSpamDonation()
}

/**
* @unreleased
* @since 3.15.0
*/
public function testThrowsSpamDonationException()
{
Expand All @@ -62,7 +62,7 @@ public function testThrowsSpamDonationException()
}

/**
* @unreleased
* @since 3.15.0
*/
protected function mockAkismetAPI()
{
Expand Down
6 changes: 3 additions & 3 deletions tests/Unit/DonationSpam/EmailAddressWhiteListTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
use Give\Tests\TestCase;

/**
* @unreleased
* @since 3.15.0
*/
final class EmailAddressWhiteListTest extends TestCase
{
/**
* @unreleased
* @since 3.15.0
*/
public function testValidatesWhitelistedEmailAddress()
{
Expand All @@ -20,7 +20,7 @@ public function testValidatesWhitelistedEmailAddress()
}

/**
* @unreleased
* @since 3.15.0
*/
public function testDoesNotValidateNonWhitelistedEmailAddress()
{
Expand Down

0 comments on commit 3e94d1b

Please sign in to comment.