-
Notifications
You must be signed in to change notification settings - Fork 1
/
ChangeLog
64 lines (33 loc) · 1.16 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
=========================
unique-factory Change Log
=========================
.. current developments
v0.2.1
====================
**Fixed:**
* Fixed cache inconsistency when factory function `create()` throws an exception.
v0.2.0
====================
**Added:**
* Added `get` overloads thats consume the `Key&&`.
**Changed:**
* Changed the `Value` that can be created by a factory. It now must use
`std::enable_shared_from_this` (or equivalently implement
`shared_from_this()`).
* Changed how values are stored in the factory cache. They are now stored as
`const Value*` and not as `std::weak_ptr<Value>` anymore.
* Changed required C++ version. Now we need at least C++17.
**Performance:**
* Improved `get` which now uses only a single lookup and create call.
v0.1.1
====================
**Fixed:**
* Fixed a segfault when a factory gets destroyed before all its elements.
v0.1.0
====================
**Added:**
* Added release setup with rever.
* Added template argument to `UniqueFactory` to keep weak pointers alive even
if all shared pointers to them have gone out of scope.
**Changed:**
* Moved header file to `unique-factory/unique-factory.hpp`.