Up to [cvs.NetBSD.org] / pkgsrc / devel / p5-Future
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
*: recursive bump for perl 5.40
p5-Future: update to 0.51. 0.51 2024-10-21 [CHANGES] * Permit convergent futures to not cancel some component futures, simplifying the use of `->without_cancel` * Give a more obvious error message when a `Test::Future::Deferred` runs out of things to do * Various small module style updates to documentation, unit tests, etc * Now requires Perl version 5.14 or later
*: recursive bump for perl 5.38
p5-Future: update to 0.50. 0.50 2023-03-17 [CHANGES] * Swap all unit tests from `Test::More` to `Test2::V0` * Avoids test_requires on `Test::Refcount` or `Test::Fatal` [BUGFIXES] * Fix documentation minisynopsis on `->udata` * Set `@CARP_NOT` so that `AWAIT_GET` rethrow appears to come from the right location (RT145249) 0.49 2022-10-17 [CHANGES] * Big reshuffle to move most code into Future/PP.pm in order to support an optional Future-XS distribution too * Attempt to load Future::XS by preference if it is available * Additional unit tests for cornercases of XS implementation * Remember to provide the AWAIT_WAIT API method * Migrated Future::Queue out into its own distribution [BUGFIXES] * Bugfixes and unit tests for convergents on pre-cancelled futures (RT144459)
*: recursive bump for perl 5.36
Update to 0.48 Upstream changes: 0.48 2022-01-26 [CHANGES] * Implement the new AWAIT_ON_CANCEL API shape for Future::AsyncAwait [BUGFIXES] * Make sure to set rtime for immediate futures (RT134620)
*: recursive bump for perl 5.34
p5-Future: update to 0.47. 0.47 2021-01-01 [BUGFIXES] * Don't weaken() the waiting future in Future::Mutex as that causes it to be dropped in some situations 0.46 2020-10-19 [CHANGES] * Provide AWAIT_CHAIN_CANCEL named method for compatibility with upcoming Future::AsyncAwait::Awaitable method rename [BUGFIXES] * Ensure that Future::Mutex returns proper cloned future instances when waiting (RT133563)
*: bump PKGREVISION for perl-5.32.
(devel/p5-Future) Updated to 0.45 0.45 2020-04-22 [CHANGES] * API changes to make duck-typing closer to Promises/A+ et.al: + Allow sequencing methods to yield non-Future results; upgrade them to being Future-wrapped + Add ->resolve and ->reject as aliases of ->done and ->fail * Recognise PERL_FUTURE_STRICT environment variable to restore previous sequencing method behaviour [BUGFIXES] * ->without_cancel still needs to cancel result if caller is cancelled * Ensure all Future::AsyncAwait interop methods properly respect subclassing
(devel/p5-Future) Updated to 0.44 0.44 2020-03-25 [CHANGES] * Added ->result; use that in unit tests and docs where appropriate * Slight performance boost in internals by direct field access rather than accessor methods * Document ->await properly; make it wait until ready * Discourage ->block_until_ready 0.43 2020-01-07 [CHANGES] * Implement the Future::AsyncAwait::Awaitable API methods directly
(devel/p5-Future) Updated to 0.42 0.42 2019-11-12 [CHANGES] * Added Future::Queue [BUGFIXES] * Remove already-completed futures from the on_cancel chain of others to avoid the list growing arbitrarily large in some situations; e.g easily provoked by long loops in Future::AsyncAwait
devel/p5-*: align variable assignments pkglint -Wall -F --only aligned --only indent p5-* No manual corrections.
Update to 0.41 Upstream changes: 0.41 2019-06-13 [CHANGES] * Added Future::Exception->throw
Bump PKGREVISIONs for perl 5.30.0
Update to 0.40 Upstream changes: 0.40 2019-05-03 [CHANGES] * Added Future::Exception (RT129373) * Make ->get throw a Future::Exception and ->fail recognise one * Better documentation of the failure category parameter * Added a properly-documented ->block_until_ready
Update to 0.39 Upstream changes: 0.39 2018-09-20 14:03:05 [CHANGES] * Added Test::Future::Deferred * Use Syntax::Keyword::Try in example code * Various docs fixes
Recursive bump for perl5-5.28.0
p5-Future: update to 0.38. 0.38 2017-12-18 01:41:52 [CHANGES] * Added counting ability to Future::Mutex (RT123876) [BUGFIXES] * Support perl 5.8.1 again (thanks ilmari)
p5-Future: update to 0.37. 0.37 2017/11/28 15:39:22 [CHANGES] * Finally got around to removing the old Makefile.PL [BUGFIXES] * Fix for convergent futures that lose strong references during cancellation (RT120468) * ->without_cancel shouldn't retain the originating future after completion (RT122920) 0.36 2017/11/27 22:04:52 [CHANGES] * Added ->retain method (RT123711) * Fixed some typoes in docs (RT118309) * Added ->state method (RT120759) [BUGFIXES] * Ensure that ->without_cancel still strongly holds a reference to its parent future (RT122920)
Update to 0.35 Upstream changes: 0.35 2017/06/23 20:37:57 [CHANGES] * Link to YAPC::EU talk video in SEE ALSO [BUGFIXES] * Handle cancelled/completed slots when fmap is cancelled (RT120469) (thanks tm604)
Recursive revbump from lang/perl5 5.26.0
Updated devel/p5-Future to 0.34 ------------------------------- 0.34 2016/10/02 18:40:06 [CHANGES] * Added Future::Mutex * Minor documentation wording fixes (thanks ilmari) [BUGFIXES] * Fallback to 'configure_requires' for older versions of Module::Build that don't support 'test_requires' (RT110721)
Bump PKGREVISION for perl-5.24.
Update 0.32 to 0.33 ------------------- 0.33 2015/07/29 16:15:55 [CHANGES] * Added ->catch and ->catch_with_f * Add catch-handler semantics to ->then / ->then_with_f * Also pass fmap* items via $_ (RT105558) * Undocument ->done_cb / ->fail_cb / ->cancel_cb * Entirely delete ->and_then / ->or_else * New barename documentation style including "since" versions * Further document the idea of failure categories as used by catch*
Recursive PKGREVISION bump for all packages mentioning 'perl', having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
Update to 0.32 Upstream changes: 0.32 2015/03/10 19:54:22 [CHANGES] * Documentation updates for new ->wrap_cb method [BUGFIXES] * Empty convergents should respect subclassing (RT97537) * Adjust loss-report regexp for bleadperl (RT99002 again) * Make trailing periods in warning tests optional, to account for Carp version changes (RT100685) 0.31 2015/03/08 17:50:06 [CHANGES] * Added debugging warning when destroying a failed Future that has not reported its failure (RT102198) * Have ->and_then / ->or_else die immediately to further their deprecation * Announce done_cb/fail_cb/cancel_cb as deprecated in favour of curry * Provide ->wrap_cb method (experimental) [BUGFIXES] * Ensure that Test::Future does not retain Futures once they are complete (RT101128) * 'use Future' in Future::Utils (RT102167)
0.30 2014/11/26 14:29:28 [CHANGES] * Rename 'dependent' futures to 'convergent' * Removed examples/ scripts that now exist as independent modules * Added ->without_cancel * Sanity-check the $code argument to ->on_{ready,done,fail,cancel} to ensure it is callable or a Future [BUGFIXES] * Ensure that 'ready_at' is always set in DEBUG mode * Fix DEBUG 'lost_at' line number reporting tests for latest bleadperl (RT99002) * Ensure that if Future::Utils::repeat condition code dies, that is passed to the result Future and not propagated to the caller (RT100067) * Failure by returning a non-Future from a sequencing code block should report as a failed Future, not throw exception to caller
Update to 0.29 Upstream changes: 0.29 2014/07/17 12:18:12 [CHANGES] * Added Test::Future * Stronger deprecations - repeat {} on failures warns every time, ->and_then / ->or_else warn once [BUGFIXES] * Define the behaviour of dependent futures when components are cancelled. (Partially fixes RT96685) * Use Module::Build->prompt (RT96409) * Ensure that repeat on an empty foreach list or empty generator without 'otherwise' behaves correctly, just yield an immediate 0.28 2014/06/08 22:43:40 [CHANGES] * Added ->label * Added ->btime, rtime, elapsed tracing timers * Better handling of 'breaks' version detection 0.27 2014/06/06 17:42:27 [BUGFIXES] * Depend on Carp 1.25 for the new message format with trailing period, so tests work 0.26 2014/06/01 12:52:53 [CHANGES] * Added ->is_failed accessor * Implement ->export_to_level in Future::Utils * Print a warning about lost sequence Futures * Allow Future->done and Future->fail as simple class constructors to return immediates * Added Future->unwrap [BUGFIXES] * Ensure that sequence futures are weaken()ed in the forward direction. **NOTE** This will potentially break existing code that depended on strong references. This old code was, however, broken.
Bump for perl-5.20.0. Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
Adding new package for Perl module Future from CPAN distribution Future version 0.25 into devel/p5-Future A "Future" object represents an operation that is currently in progress, or has recently completed. It can be used in a variety of ways to manage the flow of control, and data, through an asynchronous program.