Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.1.0 release #101

Merged
merged 3 commits into from Oct 10, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 12 additions & 2 deletions README.md
Expand Up @@ -44,10 +44,20 @@ run style checks use `composer cs`.

## Release notes

### Next Version (2.0.x)
### Version 2.1.0 (2016-10-10)

* Schema change: Added `payment_type` field column to the `request` table
* Added `MembershipApplication::setPaymentType` and `MembershipApplication::getPaymentType`
* Ability ro re-ruse the file `cli-config.php` when including `FundraisingStore` in an application is removed.

### Version 2.0 (2016-08-03)
### Version 2.0.1 (2016-09-28)

By the rules of semantic versioning, this version should have been 2.1 but was tagged wrongly.

* Added `MembershipApplicationData::setPreservedStatus` and `MembershipApplicationData::getPreservedStatus`.
This is used to store the previous status when the status changes from a positive to a negative value.

### Version 2.0.0 (2016-08-03)

#### Breaking changes

Expand Down
4 changes: 4 additions & 0 deletions src/Entities/MembershipApplication.php
Expand Up @@ -607,6 +607,8 @@ public function getMembershipType() {
}

/**
* @since 2.1
*
* @param string $paymentType
*
* @return self
Expand All @@ -618,6 +620,8 @@ public function setPaymentType( $paymentType ) {
}

/**
* @since 2.1
*
* @return string
*/
public function getPaymentType() {
Expand Down
2 changes: 2 additions & 0 deletions src/Store/MembershipApplicationData.php
Expand Up @@ -43,13 +43,15 @@ public function setUpdateToken( $updateToken ) {
}

/**
* @since 2.1
* @return int|null
*/
public function getPreservedStatus() {
return $this->preservedStatus;
}

/**
* @since 2.1
* @param string|null $status
*/
public function setPreservedStatus( $status ) {
Expand Down