xref: /ext-ds/CHANGELOG.md (revision 9c7c7e15)
1# Change Log
2All notable changes to this project will be documented in this file.
3This project follows [Semantic Versioning](http://semver.org/).
4
5## [Unreleased] - Future
6### Changed
7- Min PHP version is 7.3
8
9## [1.3.0] - 2020-10-13
10### Fixed
11- ArrayAccess implemented consistently
12- IteratorAggregate implemented consistently
13- A few incorrect return types
14
15## [1.2.9] - 2019-05-11
16### Fixed
17- Segfault when iterating an implicit instance of Stack, Queue or PriorityQueue
18
19## [1.2.8] - 2019-01-24
20### Fixed
21- Fixed buffer outflow during deserialization of map objects. #132 @rado-h
22
23## [1.2.7] - 2018-11-18
24### Fixed
25- Fixed pair reflection bugs. #119
26
27## [1.2.6] - 2018-05-24
28### Fixed
29- Fixed not clearing memory after buffer reallocation. #114
30
31## [1.2.5] - 2018-03-13
32### Fixed
33- Buffer outflow during deserialization of objects. #111
34
35## [1.2.4] - 2017-11-29
36### Fixed
37- Empty `PriorityQueue` causing segfault on `gc_collect_cycles`. #106
38
39## [1.2.3] - 2017-08-16
40### Fixed
41- Memory allocation bug on ppc64. @remicollet #88
42
43## [1.2.2] - 2017-08-08
44### Fixed
45- Segfault in ds_htable_lookup_bucket_by_hash. @gnoddep #86
46
47## [1.2.1] - 2017-08-03
48### Changed
49- Minor capacity adjustments.
50
51## [1.2.0] - 2017-07-22
52### Changed
53- Vector's minimum and default capacity down from 10 to 8.
54- Map and Set's minimum and default capacity down from 16 to 8.
55- Hash function of arrays is now the length of the array, so O(1).
56
57## [1.1.10] - 2017-06-22
58### Fixed
59- Using a key as reference not working correctly with array access. #86
60
61## [1.1.9] - 2017-04-26
62### Fixed
63- Iterating over an implicit iterator (not variable). #82
64
65## [1.1.8] - 2017-03-24
66### Fixed
67- PriorityQueue automatic truncate bug. #78
68- Bugs related to unserialization. #77
69
70## [1.1.7] - 2017-02-11
71### Fixed
72- Preliminary support for PHP 7.2
73
74## [1.1.6] - 2016-09-03
75### Fixed
76- `Map` truncating to capacity less than the minimum.
77
78## [1.1.5] - 2016-09-01
79### Fixed
80- `phpinfo` header
81- `ds_htable_put_distinct` wasn't rehashing the correct bucket pointer (Fixes #53)
82- Memory leaks.
83
84## [1.1.4] - 2016-08-09
85### Fixed
86- `Vector` and `Deque` rotate crashing when empty (mod zero).
87
88## [1.1.3] - 2016-08-08
89### Fixed
90- Memory leaks during map when callback throws an exception.
91- Memory leaks when structures contain themselves.
92- Module dependencies.
93
94## Added
95- Version info in `phpinfo()`
96
97### Improved
98- `Map::map` and `Map::filter` are now slightly faster.
99
100## [1.1.2] - 2016-08-05
101### Fixed
102- Many, many memory leaks.
103- Added memory checks to CI.
104- Performance improvements.
105- JSON dependency now handled correctly (thanks @nikic).
106
107## [1.1.1] - 2016-08-04
108### Fixed
109- Multiple memory leaks where objects were not free'd correctly.
110
111## [1.1.0] - 2016-08-04
112### Added
113- `Pair::copy`
114
115## [1.0.4] - 2016-08-01
116### Fixed
117- `unserialize` memory leak when failed to unserialize.
118- `htable` bucket copy macro didn't copy the bucket's "next".
119
120## [1.0.3] - 2016-08-01
121### Added
122- `Set::merge`
123
124### Fixed
125- ds_htable_put_next bucket rehash fix
126-
127## [1.0.2] - 2016-07-31
128### Added
129- `Map::putAll`
130