| 1 |
Revision history for Future-XS |
| 2 |
|
| 3 |
0.15 2026-01-13 |
| 4 |
[BUGFIXES] |
| 5 |
* Fix a memory leak when `->result` or `->get` on a failed future |
| 6 |
needs to create a full `Future::Exception` instance |
| 7 |
|
| 8 |
0.14 2025-07-11 |
| 9 |
[CHANGES] |
| 10 |
* Make sure to bump refcount of self before calling Future_cancel() |
| 11 |
* Improved handling of selfstr in debug warnings; include label and |
| 12 |
constructed-at messages |
| 13 |
|
| 14 |
0.13 2024-10-21 |
| 15 |
[CHANGES] |
| 16 |
* Implement the 'also' API for convergent Futures of Future v0.51 |
| 17 |
|
| 18 |
0.12 2023-12-27 |
| 19 |
[BUGFIXES] |
| 20 |
* Ensure the "not yet ready ..." exception is thrown from the correct |
| 21 |
caller |
| 22 |
* Include the current state name in exception message for forbidden |
| 23 |
state changes |
| 24 |
|
| 25 |
0.11 2023-10-26 |
| 26 |
[CHANGES] |
| 27 |
* Module style updates: |
| 28 |
+ Swap unit tests from `Test::More` to `Test2::V0` |
| 29 |
* Removed the now-redundant `sub import` |
| 30 |
|
| 31 |
[BUGFIXES] |
| 32 |
* Avoid memory leak with combined `->followed_by` + `->then` |
| 33 |
(RT150198) |
| 34 |
|
| 35 |
0.10 2023-03-28 |
| 36 |
[BUGFIXES] |
| 37 |
* Remember to destroy the `catches` HV after immediate `->thencatch` |
| 38 |
(RT145699) |
| 39 |
* Many other small refcount-related bugfixes |
| 40 |
* Provide MAGIC with an `svt_dup` function on threaded perls, so as |
| 41 |
not to break objects on destruction of sidecar threads |
| 42 |
* Don't SEGV when DESTROY is run during global destruction and some |
| 43 |
SVs have already been reclaimed |
| 44 |
|
| 45 |
0.09 2023-03-17 |
| 46 |
[CHANGES] |
| 47 |
* Improved rethrow of failures to set a more accurate thrower |
| 48 |
location file+line number (related to RT145249) |
| 49 |
|
| 50 |
0.08 2022-12-11 |
| 51 |
[CHANGES] |
| 52 |
* Now requires perl v5.24 or later |
| 53 |
This is due to a bugfix for RT145597 which does not work on earlier |
| 54 |
perls |
| 55 |
https://rt.cpan.org/Ticket/Display.html?id=145597 |
| 56 |
|
| 57 |
[BUGFIXES] |
| 58 |
* Remember to PUTBACK after POPx'ing after a call_method/call_sv |
| 59 |
* Throw an exception if instance methods are not called on an |
| 60 |
instance, rather than segfaulting |
| 61 |
|
| 62 |
0.07 2022-12-06 |
| 63 |
[BUGFIXES] |
| 64 |
* Ensure that `$f->retain` on a completed Future::XS returns the |
| 65 |
future and not undef (RT145168) |
| 66 |
* Include the real stringified future SV in croak messages rather |
| 67 |
than the placeholder `(SELF)` text |
| 68 |
|
| 69 |
0.06 2022-09-27 |
| 70 |
[BUGFIXES] |
| 71 |
* Bugfixes for convergent constructors on pre-cancelled futures |
| 72 |
(RT144459) |
| 73 |
|
| 74 |
0.05 2022-09-23 |
| 75 |
[BUGFIXES] |
| 76 |
* Always invoke the real ->new method for prototype cloning |
| 77 |
* Only inflate real Future::Exception instances, not any object |
| 78 |
* Implement compaction logic for on_cancel AVs |
| 79 |
* Don't crash on attempts to revoke cancellation from lost futures |
| 80 |
|
| 81 |
0.04 2022-09-13 |
| 82 |
[CHANGES] |
| 83 |
* Implement remaining bits of API and behaviour in order to make the |
| 84 |
full set of Future dist tests pass |
| 85 |
|
| 86 |
[BUGFIXES] |
| 87 |
* Many many (many) bugfixes to refcounting and reference tracking, |
| 88 |
especially around the on_cancel revocation list |
| 89 |
* getenv() needs aTHX when running on Windows |
| 90 |
|
| 91 |
0.03 2022-08-16 |
| 92 |
[CHANGES] |
| 93 |
* Added many new methods: |
| 94 |
+ the new udata API |
| 95 |
+ the timing capture methods |
| 96 |
+ ->get and ->await |
| 97 |
+ the `_with_f` variant methods |
| 98 |
* Implement proper subclassing support |
| 99 |
* Upgrade non-future results from sequencing methods into |
| 100 |
future instances |
| 101 |
|
| 102 |
[BUGFIXES] |
| 103 |
* Declare test-time dependency of Test::Fatal |
| 104 |
|
| 105 |
0.02 2022-08-11 |
| 106 |
[BUGFIXES] |
| 107 |
* Declare test-time dependencies of Test::Identity and Test::Refcount |
| 108 |
* Before perl 5.36 we'll have to add -std=c99 to the compiler flags |
| 109 |
* Fix weird typo of `RETVAL` in .xs file |
| 110 |
* Use `XS_INTERNAL()` rather than `static XS()` because cygwin |
| 111 |
|
| 112 |
0.01 2022-08-10 |
| 113 |
First version, released on an unsuspecting world. |