summaryrefslogtreecommitdiff
path: root/Changes
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2022-07-27 17:24:18 +0200
committergregor herrmann <gregoa@debian.org>2022-07-27 17:24:18 +0200
commiteebe2686f4597bd0ac9f14296a14abc331912cbe (patch)
tree93377f87610dd97e46e1c241cfa15fe9299d3457 /Changes
parenta8b9e5a5168ff2cd018450c67c0de7c6a01cba7f (diff)
parent4f9c53d1d79856492b322a26e426f016e7a2c2d6 (diff)
New upstream version 1.016006
Diffstat (limited to 'Changes')
-rw-r--r--Changes172
1 files changed, 172 insertions, 0 deletions
diff --git a/Changes b/Changes
index 3bf09b07..e1699396 100644
--- a/Changes
+++ b/Changes
@@ -7,6 +7,178 @@ Home page: <https://metacpan.org/release/Type-Tiny>
Bug tracker: <https://github.com/tobyink/p5-type-tiny/issues>
Maintainer: Toby Inkster (TOBYINK) <tobyink@cpan.org>
+1.016006 2022-07-25
+
+ [ Documentation ]
+ - Added a new page to the manual: Type::Tiny::Manual::UsingWithMite.
+
+ [ Other ]
+ - Type::Tiny now overloads 0+ to return a unique number per type
+ constraint.
+
+1.016005 2022-07-23
+
+ [ Bug Fixes ]
+ - Minor bugfix in Type::Tiny::cmp where in some cases it was returning '0'
+ instead of '0E0'; unlikely to affect anything.
+
+ [ Other ]
+ - Updated: Updated Type::Params benchmarking scripts.
+ - When Type::Registry/Type::Parser has to create a class or role type
+ constraint, use Types::Standard InstanceOf/ConsumerOf instead of
+ creating new anonymous Type::Tiny::Class/Type::Tiny::Role constraints.
+
+1.016004 2022-07-22
+
+ - Added: Type::Params now allows named parameters to have aliases.
+
+1.016003 2022-07-22
+
+ - Catalyst was relying on the internals of the old slurpy function. Next
+ release of Catalyst should fix that, but this version of Types::Standard
+ introduces a workaround for the issue without going back to implementing
+ Slurpy the old way. (The Catalyst test suite passes at least!)
+ - In most places that accept a Slurpy, happily accept a child of a child
+ of a child of Slurpy.
+ - Rename Type::Params::Coderef to Eval::TypeTiny::CodeAccumulator as it's
+ not really Type::Params-specific. Add test cases for it and make it part
+ of the public API.
+ - Use Eval::TypeTiny::CodeAccumulator in compile_match_on_type.
+ - When Type::Tiny's is_subtype_of, etc methods are called passing a string
+ as a parameter, pay attention to calling package's type registry.
+
+1.016002 2022-07-19
+
+ [ BACK COMPAT ]
+ - The slurpy(Foo) function from Types::Standard has been replaced by a new
+ Slurpy parameterized type, so you can use Slurpy[Foo] instead. A
+ slurpy() function is still provided for backwards compatibility, but if
+ you were relying on the internal detail that this used to return an
+ unblessed hashref, this release might break that assumption.
+
+1.016001 2022-07-18
+
+ - Allow Type::Utils::extends to extend Type::Library::Compiler libraries.
+ - Allow the add_types method of Type::Registry to consume
+ Type::Library::Compiler libraries.
+ - Improved coercion of Type::Library::Compiler's type constraints to
+ Type::Tiny.
+
+1.016000 2022-07-16
+
+ - Add a clone option to parameters in Type::Params to clone them with
+ Storable::dclone(). This is mostly a test of how much easier improving
+ Type::Params is since it was refactored.
+
+1.015_003 2022-07-16
+
+ - The simple case of compile() with no parameters was broken by
+ refactoring. It should now work.
+
+1.015_002 2022-07-16
+
+ - Defaults for Type::Params parameters can now be a reference to a string
+ of Perl code (like Mite).
+
+1.015_001 2022-07-16
+
+ - Type::Params::Signature now avoids using the word `return` in its
+ generated source code, as MooX::Press was using that as a talisman. Also
+ avoid using the `return` keyword to return the final results of the
+ signature check, as falling through performs better on older Perls, plus
+ it enables MooX::Press to convert the coderef into a do{} block.
+
+1.015_000 2022-07-16
+
+ [ BACK COMPAT ]
+ - Type::Params is now smarter at calculating the expected $#_ for
+ functions which take named parameters, so it can 'fail early' more often
+ when there are extra parameters or missing required parameters. This
+ means you may get errors indicating the wrong number of parameters when
+ you were previously getting errors indicating particular unrecognized or
+ missing required parameters. This may break test suites which were
+ looking for particular error messages.
+
+ [ Other ]
+ - Major refactoring of Type::Params, splitting out signature compilation
+ into separate backend OO-modules which Type::Params now acts as a
+ frontend for. Compiling signature checks is probably now a little
+ slower, but once they're compiled Type::Params is still the fastest Perl
+ implementation of typed parameter checks. This refactor should make the
+ code easier to work with, add new features to, and tweak the performance
+ of.
+
+1.014000 2022-06-27
+
+ [ Documentation ]
+ - Update copyright dates to 2022.
+ - Various minor documentation improvements.
+
+ [ Test Suite ]
+ - Eliminate some warnings and other noise from the test suite.
+ - Rename some directories in the test suite to better reflect their
+ contents.
+
+ [ Packaging ]
+ - Repackaged as stable version.
+
+ [ Other ]
+ - Added: $Type::Tiny::SafePackage variable.
+ - Added: Error::TypeTiny now has a `throw_cb` method which acts like
+ `throw` but takes an initial callback parameter.
+ jsf116++
+ - Added: Type::Params `compile`, `compile_named`, and `compile_named_oo`
+ functions now support an `on_die` callback.
+ jsf116++
+ - Eliminate warnings while generating deep explanations for type
+ constraint check fails under some circumstances. (Mostly affects
+ StrMatch when Regexp::Util isn't installed.)
+ James Wright++
+
+1.013_001 2022-06-23
+
+ [ Documentation ]
+ - Various minor documentation improvements.
+
+ [ Other ]
+ - Added: $Type::Tiny::SafePackage variable.
+
+1.013_000 2022-06-09
+
+ [ Documentation ]
+ - Update copyright dates to 2022.
+ - Various minor documentation improvements.
+
+ [ Test Suite ]
+ - Eliminate some warnings and other noise from the test suite.
+ - Rename some directories in the test suite to better reflect their
+ contents.
+
+ [ Other ]
+ - Added: Error::TypeTiny now has a `throw_cb` method which acts like
+ `throw` but takes an initial callback parameter.
+ jsf116++
+ - Added: Type::Params `compile`, `compile_named`, and `compile_named_oo`
+ functions now support an `on_die` callback.
+ jsf116++
+ - Eliminate warnings while generating deep explanations for type
+ constraint check fails under some circumstances. (Mostly affects
+ StrMatch when Regexp::Util isn't installed.)
+ James Wright++
+
+1.012005 2022-06-07
+
+ [ Bug Fixes ]
+ - Ensure coderefs returned by overload::Method are called with three
+ parameters, as passing two parameters can break subs imlpemented in XS.
+ Hugo van der Sanden++
+ - Fix explanation message for NumRange/IntRange
+ - Prevent stringification of Error::TypeTiny from clobbering $@.
+ bokutin++
+
+ [ Documentation ]
+ - Fix typos in documentation for wrap_methods from Type::Params.
+
1.012004 2021-07-29
[ Documentation ]