PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / 1.2.20
Booking for Appointments and Events Calendar – Amelia v1.2.20
2.4.4 2.4.3 2.4.2 2.4.1 2.4 trunk 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.28 1.2.29 1.2.3 1.2.30 1.2.31 1.2.32 1.2.33 1.2.34 1.2.35 1.2.36 1.2.37 1.2.38 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.1.3 2.2 2.2.1 2.3
ameliabooking / vendor / moneyphp / money / CHANGELOG.md
ameliabooking / vendor / moneyphp / money Last commit date
resources 5 years ago src 2 years ago CHANGELOG.md 2 years ago LICENSE 6 years ago README.md 5 years ago composer.json 2 years ago
CHANGELOG.md
364 lines
1 # Change Log
2
3
4 All notable changes to this project will be documented in this file.
5
6 The format is based on [](http://keepachangelog.com/en/1.0.0/Keep a Changelog](http://keepachangelog.com/en/1.0.0/](http://keepachangelog.com/en/1.0.0/)
7 and this project adheres to [](http://semver.org/spec/v2.0.0.htmlSemantic Versioning](http://semver.org/spec/v2.0.0.html](http://semver.org/spec/v2.0.0.html).
8
9
10 ## [Unreleased]
11
12
13 ## [3.3.1] - 2019-03-13
14
15 ### Fixed
16
17 - GMP: division of negative values
18 - GMP: compare 0.x value
19
20
21 ## [3.3.0] - 2019-12-27
22
23 ### Changed
24
25 - Added types for `Money` to be understood as pure/immutable downstream (#576)
26
27 ### Fixed
28
29 - JSON serialization (#551)
30 - Several documentation fixes
31 - Minor fixes
32
33
34 ## [3.2.1] - 2019-02-07
35
36 ### Changed
37
38 - `Money::allocate` now maintains keys of ratios array
39 - All parsers now emit a deprecation warning when passing currency as string
40
41 ### Fixed
42
43 - Docs fix : plus sign in numeric strings is allowed
44 - Added ext-json as required extension
45 - Throw exception in case of empty currency
46 - BCMath calculator now uses scale parameters for addition and subtracting
47 - Fixed allocation remainder bug
48 - Added PHP 7.3 in test suite
49 - Fixed dockerignore to ignore Dockerfile
50 - Fixed Bitcoin parsing bug when using trailing zeros
51
52
53 ## [3.2.0] - 2018-12-05
54
55 ### Added
56
57 - [](https://github.com/florianv/exchangerExchanger](https://github.com/florianv/exchanger](https://github.com/florianv/exchanger) exchange
58 - Generated static factory to help IDEs understand code like `Money::EUR(500)`
59 - Aggregation functions (min, max, avg, sum)
60
61 ### Changed
62
63 - `Money::add` and `Money::subtract` now accept variadic arguments
64
65 ### Fixed
66
67 - Division causing unnecessary fractional parts
68 - Numeric comparison for negative numbers
69
70
71 ## [3.1.3] - 2018-02-16
72
73 ### Fixed
74
75 - Allocation when the amount is smaller than the number of ratios
76
77
78 ## [3.1.2] - 2018-02-16
79
80 ### Added
81
82 - `Number::fromNumber` to be used when the actual type is not known
83
84 ### Changed
85
86 - Refactored `Number` usage to make the code cleaner and use less casting
87
88 ### Fixed
89
90 - Float cast to string issue on certain locales
91
92
93 ## [3.1.1] - 2018-01-19
94
95 ### Fixed
96
97 - Float cast to string issue on certain locales
98 - Deal with numbers represented with E-XX
99
100
101 ## [3.1.0] - 2018-01-10
102
103 ### Added
104
105 - CurrencyList to instantiate in-memory currencies
106 - modulus method to Money
107 - ratioOf method to Money
108 - Comparator for easier testing Money object with PHPUnit
109 - IntlLocalizedDecimalParser and IntlLocalizedDecimalFormatter
110
111 ### Changed
112
113 - `MoneyParser::parse` method now expects a Currency object
114 - Dropped PHP 5.5
115
116 ### Deprecated
117
118 - Passing currency code as string to `MoneyParser::parse`
119
120 ### Fixed
121
122 - Do not allocate remainder to a ratio of zero
123 - Conversion result is always 0 when subunit difference is large enough
124 - Unexpected result when converting small Bitcoin amounts
125 - Fixed StyleCI being too aggressive
126
127
128 ## [3.0.9] - 2017-11-05
129
130 ### Fixed
131
132 - Bitcoin currency symbol
133
134
135 ## [3.0.8] - 2017-10-03
136
137 ### Fixed
138
139 - Rounding issue in Number class.
140 - Reduce composer package file size by leaving out docs and logo.
141 - Missing Travis tests for PHP 7.2.
142
143
144 ## [3.0.7] - 2017-08-07
145
146 ### Changed
147
148 - Currencies
149
150
151 ## [3.0.6] - 2017-07-25
152
153 ### Added
154
155 - IndirectExchange: a way to get an exchange rate through a minimal set of intermediate conversions.
156
157 ### Fixed
158
159 - Tests for HHVM
160 - Incorrect documentation on Bitcoin parser
161
162
163 ## [3.0.5] - 2017-04-26
164
165 ### Added
166
167 - numericCodeFor method to ISOCurrencies
168
169
170 ## [3.0.4] - 2017-04-21
171
172 ### Added
173
174 - Negative method
175
176 ### Changed
177
178 - Updated ISO Currencies
179 - Removed old Belarusian ruble from ISOCurrencies (BYR)
180
181 ### Fixed
182
183 - ISOCurrencies will no longer have a blank currency
184 - Double symbol when formatting negative Bitcoin amounts
185
186
187 ## [3.0.3] - 2017-03-22
188
189 ### Fixed
190
191 - Parsing empty strings and number starting or ending with a decimal point for DecimalMoneyParser
192 - Parsing zero for DecimalMoneyParser
193 - Multiplying and dividing with a locale that use commas as separator
194
195 ## [3.0.2] - 2017-03-11
196
197 ### Fixed
198
199 - BCMath / GMP: comparing values smaller than one
200 - GMP: multiplying with zero
201 - ISOCurrencies: minor refactoring, remove duplication of code
202
203
204 ## [3.0.1] - 2017-02-14
205
206 ### Added
207
208 - Reversed Currencies Exchange to try resolving reverse of a currency pair
209 - Documentation on allowed integer(ish) values when constructing Money
210
211 ### Fixed
212
213 - Passing integer validation when chunk started with a dash
214 - Passing integer validation when the fractional part started with a dash
215 - Formatting problem for Bitcoin currency with small amounts in PHP < 7.0
216 - Money constructed from a string with fractional zeroes equals to a Money constructed without the fractional part (eg. `'5.00'` and `'5'`)
217
218
219 ## [3.0.0] - 2016-10-26
220
221 ### Added
222
223 - DecimalMoneyFormatter: returns locale-independent raw decimal string
224
225 ### Changed
226
227 - **[BC break]** Replaced StringToUnitsParser with DecimalMoneyParser
228 - **[BC break]** Moved `Money\Exception\Exception` to `Money\Exception`
229 - **[BC break]** UnkownCurrencyException is now DomainException instead of RuntimeException
230 - **[Doctrine break]** In `Currency` the private variable `name` was renamed to `code`, which could break your Doctrine mapping if you are using embeddables or any other Reflection related implementation.
231
232
233 ## [3.0.0-beta.3] - 2016-10-04
234
235 ### Added
236
237 - FixedExchange: returns fixed exchange rates based on a list (array)
238
239 ### Changed
240
241 - **[BC break]** Convert method now moved to its own class: Converter
242 - **[BC break]** Exchange had one method getCurrencyPair which is now renamed to quote
243 - Minor documentation issues
244
245 ### Fixed
246
247 - Integer detection when the number overflows the integer type and contains zeros
248 - Rounding numbers containg trailing zeros
249 - Converting Money to currency with different number of subunits
250
251
252 ## [3.0.0-beta.2] - 2016-08-03
253
254 ### Added
255
256 - PHP Spec tests
257 - absolute method to Money and Calculator
258 - subunitFor method to Currencies
259 - Currencies now extends IteratorAggregate
260 - Library exceptions now implement a common interface
261 - Formatter and Parser implementation are now rounding half up
262
263 ### Changed
264
265 - **[BC break]** Dropped PHP 5.4 support
266 - **[BC break]** Intl and Bitcoin formatters and parsers now require Currencies
267 - ISOCurrencies now uses moneyphp/iso-currencies as currency data source
268
269 ### Fixed
270
271 - Documentation to be inline with upcoming version 3
272 - Rounding issues in calculators with negative numbers
273 - Formatting and parser issues for amounts and numbers with a trailing zero
274 - Improved many exception messages
275 - Registration of own Calculator implementations
276
277
278 ## [3.0.0-beta] - 2016-03-01
279
280 ### Added
281
282 - Bitcoin parser and formatter
283 - Also checking tests folder for StyleCI
284
285 ### Fixed
286
287 - Currencies are now included in the repo
288 - Currency list generation moved to dev dependency: reduces repo size
289 - BC Math calculator adding and subtracting failed when bcscale was set
290 - Parsing zero for StringToUnitsParser
291
292
293 ## 3.0.0-alpha - 2016-02-04
294
295 ### Added
296
297 - Currency repositories (ISO currencies included)
298 - Money exchange (including [](https://github.com/florianv/swapSwap](https://github.com/florianv/swap](https://github.com/florianv/swap) implementation)
299 - Money formatting (including intl formatter)
300 - Money parsing (including intl parser)
301 - Big integer support utilizing different, transparent calculation logic upon availability (bcmath, gmp, plain php)
302 - Money and Currency implements JsonSerializable
303 - Rounding up and down
304 - Allocation to N targets
305
306 ### Changed
307
308 - **[BC break]** Money::getAmount() returns a string instead of an int value
309 - **[BC break]** Moved stringToUnits to StringToUnitsParser parser
310 - Library requires at least PHP 5.4
311 - Library uses PSR-4
312
313 ### Fixed
314
315 - Integer overflow
316
317 ### Removed
318
319 - **[BC break]** UnkownCurrency exception
320 - **[BC break]** Currency list is now provided by [](https://github.com/umpirsky/currency-list/umpirsky/currency-list](https://github.com/umpirsky/currency-list/](https://github.com/umpirsky/currency-list/)
321 - **[BC break]** RoundingMode class
322 - **[BC break]** Announced deprecations are removed (Currency::getName, CurrencyPair::getRatio, Money::getUnits)
323
324
325 ## Pre 3.0
326
327 - 2015-03-23 Minimum php version is now 5.4
328 - 2015-03-23 JsonSerializable
329 - (... missing changelog because who remembers to document stuff anyway?)
330 - 2014-03-22 Removed \Money\InvalidArgumentException in favour of plain old InvalidArgumentException
331 - 2014-03-22 Introduce RoundingMode object, used to specify desired rounding
332 - 2014-03-22 Introduced RoundingMode backwards compatible API changes to Money::multiply and Money::divide
333 - 2014-03-22 Allow RoundingMode to be specified when converting currencies
334 - 2014-03-22 CurrencyPair has an equals() method
335 - 2013-10-13 Base currency and counter currency in CurrencyPair named correctly.
336 - 2013-01-08 Removed the Doctrine2\MoneyType helper, to be replaced by something better in the future. It's available
337 at https://gist.github.com/4485025 in case you need it.
338 - 2013-01-08 Use vendor/autoload.php instead of lib/bootstrap.php (or use PSR-0 autolaoding)
339 - 2012-12-10 Renamed Money::getUnits() to Money::getAmount()
340
341
342 [Unreleased]: https://github.com/moneyphp/money/compare/v3.3.0...HEAD
343 [3.3.0]: https://github.com/moneyphp/money/compare/v3.2.1...v3.3.0
344 [3.2.1]: https://github.com/moneyphp/money/compare/v3.2.0...v3.2.1
345 [3.2.0]: https://github.com/moneyphp/money/compare/v3.1.3...v3.2.0
346 [3.1.3]: https://github.com/moneyphp/money/compare/v3.1.2...v3.1.3
347 [3.1.2]: https://github.com/moneyphp/money/compare/v3.1.1...v3.1.2
348 [3.1.1]: https://github.com/moneyphp/money/compare/v3.1.0...v3.1.1
349 [3.1.0]: https://github.com/moneyphp/money/compare/v3.0.9...v3.1.0
350 [3.0.9]: https://github.com/moneyphp/money/compare/v3.0.8...v3.0.9
351 [3.0.8]: https://github.com/moneyphp/money/compare/v3.0.7...v3.0.8
352 [3.0.7]: https://github.com/moneyphp/money/compare/v3.0.6...v3.0.7
353 [3.0.6]: https://github.com/moneyphp/money/compare/v3.0.5...v3.0.6
354 [3.0.5]: https://github.com/moneyphp/money/compare/v3.0.4...v3.0.5
355 [3.0.4]: https://github.com/moneyphp/money/compare/v3.0.3...v3.0.4
356 [3.0.3]: https://github.com/moneyphp/money/compare/v3.0.2...v3.0.3
357 [3.0.2]: https://github.com/moneyphp/money/compare/v3.0.1...v3.0.2
358 [3.0.1]: https://github.com/moneyphp/money/compare/v3.0.0...v3.0.1
359 [3.0.0]: https://github.com/moneyphp/money/compare/v3.0.0-beta.4...v3.0.0
360 [3.0.0-beta4]: https://github.com/moneyphp/money/compare/v3.0.0-beta.3...v3.0.0-beta.4
361 [3.0.0-beta3]: https://github.com/moneyphp/money/compare/v3.0.0-beta.2...v3.0.0-beta.3
362 [3.0.0-beta2]: https://github.com/moneyphp/money/compare/v3.0.0-beta...v3.0.0-beta.2
363 [3.0.0-beta]: https://github.com/moneyphp/money/compare/v3.0.0-alpha...v3.0.0-beta
364