release_notes.md 3.12 KB
Newer Older
mattwire's avatar
mattwire committed
1
2
3
4
5
## Release 3.3.5

* Update and refactor how we create/update declarations.
* Added [documentation for declarations](../declaration.md) to explain how the declarations are created/updated and what the fields mean.

6
7
8
## Release 3.3.4

* Fix issues with setting "Eligible for gift aid" on contributions.
mattwire's avatar
mattwire committed
9
* Added [documentation for contributions](../contributions.md) to explain how the gift aid fields on contributions work.
10

mattwire's avatar
mattwire committed
11
12
13
14
15
16
17
18
19
20
## Release 3.3.3

* Include first donation in the batch
* Due to the timestamp on the declaration is created after the contribution hence the first donation doesn't gets included in batch. Set the timestamp as the date rather than time.
* Clear batch_name if we created a new contribution in a recur series (it's copied across by default by Contribution.repeattransaction).
* Check and set label for 'Eligible amount' field on contribution.
* Always make sure current declaration is set if we have one - fixes issue with overwriting declaration with 'No'.
* Fix [#5](https://github.com/mattwire/uk.co.compucorp.civicrm.giftaid/issues/5) Donations included in batch although financial types disabled in settings.
* Trigger create of new gift aid declaration from contribution form if required.

mattwire's avatar
mattwire committed
21
22
23
24
25
26
27
## Release 3.3.2

* Handle transitions between the 3 declaration states without losing information - create a new declaration when state is changed.
* Refactor creating/updating declaration when contribution is created/updated.
* Properly escape SQL parameters when updating gift aid declaration.
* Extract code to check if charity column exists.

28
29
30
31
## Release 3.3.1

* Major performance improvement to "Add to Batch".

mattwire's avatar
mattwire committed
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
## Release 3.3
**In this release we update profiles to use the declaration eligibility field instead of the contribution.
This allows us to create a new declaration (as it will be the user filling in a profile via contribution page etc.)
 and means we don't create a declaration when time a contribution is created / imported with the "eligible" flag set to Yes.**

**IMPORTANT: Make sure you run the extension upgrades (3104).**

* Fix status message on AddToBatch.
* Fix crash on enable/disable extension.
* Fix creating declarations every time we update a contribution.
* Refactor insert/updateDeclaration.
* Refactor loading of optiongroups/values - we load them in the upgrader in PHP meaning that we always ensure they are up to date with the latest extension.
* Add documentation in mkdocs format (just extracted from README for now).
* Make sure we properly handle creating/ending and creating a declaration again (via eg. contribution page).
* Allow for both declaration eligibility and individual contribution eligibility to be different on same profile (add both fields).
* Fix PHP notice in GiftAid report.
* Match on OptionValue value when running upgrader as name is not always consistent.

## Release 3.2
mattwire's avatar
mattwire committed
51
* Be stricter checking eligible_for_gift_aid variable type
mattwire's avatar
mattwire committed
52
53
54
55
56
57
58
59
60
* Fix issues with entity definition and regenerate
* Fix PHP notice
* Refactor addtobatch for performance, refactor upgrader for reliability
* Add API to update the eligible_for_gift_aid flag on contributions

## Release 3.1
* Be stricter checking eligible_for_gift_aid variable type