You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[4.x] [SWP-2788] Introduce memoization for efficiency during use on mass (#44)
**Changes**
- Introduced a history for finds in the CountryHelper so that we don't perform the same lookup many times
- Introduced a caching layer for NumberFormatters used in the CurrencyHelper to avoid creating many unnecessary instances when used on mass
Copy file name to clipboardExpand all lines: CHANGELOG.md
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,12 @@
2
2
3
3
All notable changes to `pod-point/countries` will be documented in this file.
4
4
5
+
## 5.0.1 - 2021-05-19
6
+
7
+
*[SWP-2788](https://podpoint.atlassian.net/browse/SWP-2788) Introduce memoization for efficiency during use on mass
8
+
* Introduced a history for finds in the `CountryHelper` so that we don't perform the same lookup many times
9
+
* Introduced a caching layer for `NumberFormatters` used in the `CurrencyHelper` to avoid creating many unnecessary instances when used on mass
10
+
5
11
## 5.0.0 - 2021-05-18
6
12
7
13
* Major release to support PHP 7.3+ and Laravel 7.x+
@@ -18,6 +24,12 @@ All notable changes to `pod-point/countries` will be documented in this file.
18
24
19
25
* This package can no longer support PHP7.2 - if using PHP7.2 please use version 4.*.
20
26
27
+
## 4.0.2 - 2021-05-19
28
+
29
+
*[SWP-2788](https://podpoint.atlassian.net/browse/SWP-2788) Introduce memoization for efficiency during use on mass
30
+
* Introduced a history for finds in the `CountryHelper` so that we don't perform the same lookup many times
31
+
* Introduced a caching layer for `NumberFormatters` used in the `CurrencyHelper` to avoid creating many unnecessary instances when used on mass
32
+
21
33
## 4.0.1 - 2021-05-18
22
34
23
35
* Implement Laravel Auto-Discovery
@@ -38,6 +50,17 @@ All notable changes to `pod-point/countries` will be documented in this file.
38
50
39
51
* This package can no longer support PHP7.1 - if using PHP7.1 please use version 3.*.
40
52
53
+
## 3.1.3 - 2021-05-19
54
+
55
+
*[SWP-2788](https://podpoint.atlassian.net/browse/SWP-2788) Introduce memoization for efficiency during use on mass
56
+
* Introduced a history for finds in the `CountryHelper` so that we don't perform the same lookup many times
57
+
* Introduced a caching layer for `NumberFormatters` used in the `CurrencyHelper` to avoid creating many unnecessary instances when used on mass
58
+
59
+
## 3.1.2 - 2021-05-18
60
+
61
+
* Minor modernisations
62
+
* Moved from Travis CI to Github Actions
63
+
41
64
## 3.1.1 - 2020-11-05
42
65
43
66
*`getSystemLocale` in `LocalizedHelper` now returns the fallback locale if the given one is not found. This created issues with some tests because NumberFormatter becomes system dependent if null is given.
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ For Laravel 7.x or 8.x and PHP >= 7.3
31
31
composer require pod-point/countries:^5.0
32
32
```
33
33
34
-
Then finally, if you're using a Laravel version which doesn't support Auto Discovery, add the service provider to your `config/app.php` providers array:
34
+
Then, finally, if you're using a Laravel version which doesn't support Auto Discovery, add the service provider to your `config/app.php` providers array:
0 commit comments