Releases: xp-forge/sequence
Releases · xp-forge/sequence
5.0.0: XP7 compatibility
- Added version compatibility with XP 7 - @thekid
4.1.2: XP7 Forward compatibility
- Fix code to use
nameof()
instead of the deprecatedgetClassName()
method from lang.Generic. See xp-framework/core#120
(@thekid)
4.1.1: Forward compatible dependencies declaration
- Added dependencies on collections and unittest libraries which have
since been extracted from XP core.
(@thekid)
4.1.0: Collectors
4.0.0: Enter PHP 5.5
3.1.0: Key to success
3.0.0: Value object protocol
2.2.1: HHVM support
2.2.0: Optional features
- Made Optional's constructor public and allow
new Optional(null)
to
represent an optional with a present null value
(@thekid) - Changed Optional::of() to return an empty optional if
null
is passed
(@thekid) - Added whenNull() method to util.data.Optional to allow easy chaining
(@thekid) - Added filter(), map() and orUse() implementations to util.data.Optional
See pull request #21
(@thekid)
2.1.1: Bugfix with sorted()
- Don't keep index association when sorting, this yields arrays like
[1 => 'second', 0 => 'first']
. These arrays are not zero-based and
considered maps e.g. by typeof()
(@thekid)