summaryrefslogtreecommitdiff
path: root/Changes
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2014-08-26 22:03:12 +0200
committerJonas Smedegaard <dr@jones.dk>2014-08-26 22:03:12 +0200
commitdf042cdde2bcf475aefad444c2a391ebef1125de (patch)
tree5cedc757a861d2fd3f85c7cd58bfa59aca3e1d88 /Changes
parent8a8264a9aa53f2b20c50e04b7c188d04f4b06291 (diff)
parent706e94e8dadb3b248bc5146997e2f341c5c914ff (diff)
Imported Upstream version 1.000002
Diffstat (limited to 'Changes')
-rw-r--r--Changes328
1 files changed, 328 insertions, 0 deletions
diff --git a/Changes b/Changes
index e5033f9b..2a8e902d 100644
--- a/Changes
+++ b/Changes
@@ -6,6 +6,334 @@ Home page: <https://metacpan.org/release/Type-Tiny>
Bug tracker: <http://rt.cpan.org/Dist/Display.html?Queue=Type-Tiny>
Maintainer: Toby Inkster (TOBYINK) <tobyink@cpan.org>
+1.000002 2014-08-18
+
+ [ Bug Fixes ]
+ - Fix for overloaded operation fallback on Perl 5.10.x.
+ Fixes RT#98113.
+ Dagfinn Ilmari Mannsåker++
+ Peter Flanigan++
+ <https://rt.cpan.org/Ticket/Display.html?id=98113>
+
+1.000001 2014-08-18
+
+ [ Bug Fixes ]
+ - Changes to dwim_type() in 0.047_09 broke the fallback to creating class
+ types in some circumstances. This broke the MooX::late test suite, and
+ some usages of MooX::late.
+ Shlomi Fish++
+
+1.000000 2014-08-16 Happy CPAN Day!
+
+ [ Documentation ]
+ - Document the Type::Tiny versioning policy.
+ - Updated NEWS file.
+ - Updated TODO file.
+
+0.047_09 2014-08-12
+
+ [ Bug Fixes ]
+ - Fix documentation typo.
+ Benct Philip Jonsson++
+
+ [ Documentation ]
+ - Improvements and clarifications to Type::Coercion documentation.
+
+ [ Test Suite ]
+ - Add tests for Error::TypeTiny::Assertion's predicate methods.
+ - Add tests for Type::Coercion's i_really_want_to_unfreeze method.
+
+ [ Other ]
+ - Better integration between Type::Library and Type::Registry. If you
+ import a type constraint from a Type::Library-based module, it will
+ automatically be inserted into your modules' type registry.
+ - The to_Foo functions exported by Type::Library-based modules are now
+ significantly faster. (But only if the type's coercion is frozen.)
+ - Type::Utils::dwim_type now takes into account what OO framework the
+ caller is using (Moose or Mouse) if it needs to fall back to asking the
+ OO framework about a type constraint.
+
+0.047_08 2014-08-05 Sanity++
+
+ [ Bug Fixes ]
+ - Fix non-inlined version of NegativeOrZeroInt.
+
+ [ Documentation ]
+ - Document the remaining RT#93345-related issues - see "Deep Caveat" in
+ Type::Tiny::Manual::Coercions.
+ <http://purl.org/NET/cpan-uri/rt/ticket/93345>
+
+ [ Test Suite ]
+ - Alter the Types::Common::* test cases to use Test::TypeTiny.
+ - Test to avoid the "too few arguments for type constraint check
+ functions" error.
+ Diab Jerius++
+ <http://purl.org/NET/cpan-uri/rt/ticket/97684>
+ - Update t/30-integration/Moose/coercion.t to Moose 2.1200 which throws an
+ exception rather than printing a warning when coerce=>1 is used on a
+ type constraint with no coercions.
+
+ [ Other ]
+ - Prevent inlining of coercions if they've not been frozen.
+ <http://purl.org/NET/cpan-uri/rt/ticket/93345>
+
+0.047_07 2014-08-04
+
+ [ Bug Fixes ]
+ - The extract_type function was missing from Type::Parser's @EXPORT_OK
+ list.
+
+ [ Test Suite ]
+ - Test cases for Type::Parser::extract_type.
+
+ [ Other ]
+ - Parameterized Maybe constraints are now XS-accelerated.
+
+0.047_06 2014-07-31 What made the Queen go all ice crazy?
+
+ [ Bug Fixes ]
+ - Bugfix in coercion inheritance where the child's type_coercion_map
+ arrayref would end up as a reference to the parent's type_coercion_map.
+ (Which was not good.)
+
+ [ Test Suite ]
+ - More Type::Registry test cases.
+
+ [ Other ]
+ - Added: Type::Coercion now has a i_really_want_to_unfreeze method.
+ - Added: Type::Library now has a make_immutable method.
+ - Coercions for the types defined in Types::Common::Numeric are now
+ frozen.
+ - Coercions for the types defined in Types::Common::String are now frozen.
+ - Coercions for the types defined in Types::Standard are now frozen.
+ - Parameterized types now have their coercions frozen automatically, so
+ you can no longer add coercions to, say, ArrayRef[Int]. However, you can
+ create a subtype of ArrayRef[Int] and add coercions to that.
+ Michael G Schwern++
+ <http://purl.org/NET/cpan-uri/rt/ticket/97516>
+ - Type::Registry now has methods for creating
+ union/intersection/class/role type constraints. Type::Parser delegates
+ to these, making it potentially reusable outside Type::Tiny by simply
+ passing it an alternative type registry object.
+ - Type::Registry/Type::Parser will now auto-load MouseX::Types libraries.
+
+0.047_05 2014-07-29 Sanity++
+
+ [ Documentation ]
+ - Improve the documentation of Optional[] and slurpy.
+
+ [ Other ]
+ - A far saner implementation of Optional[].
+ - A slightly saner implementation of Types::TypeTiny's meta methods.
+ - Optimizations for slurpy Any.
+ - When slurping the tail of a Tuple into a hashref, check it's an even
+ number of elements.
+
+0.047_04 2014-07-28 The 98% Coverage Release
+
+ [ Documentation ]
+ - Type::Utils does not export english_list() and classifier() by default.
+
+ [ Test Suite ]
+ - Check that Mouse type converted to Type::Tiny objects keep their
+ original error messages.
+ - Improve test coverage for Type::Registry.
+ - Improve test coverage for Type::Utils' match_on_type and
+ compile_match_on_type.
+ - Test code from SYNOPSIS sections (only in xt).
+ - Test exceptions thrown by Types::Standard::ScalarRef.
+ - Test that Sub::Quote-enabled coderefs generated by Type::Tiny and
+ Type::Coercion can actually be retrieved by Sub::Quote.
+ - Test the Type::Coercion overloading of ~~.
+ - Test warnings raised by Type::Utils::declare().
+ - Tests for Test::TypeTiny::matchfor().
+ - Tests for dynamically delegated Type::Tiny an Type::Coercion methods.
+ - Tests for introspection methods of Type::Coercion.
+ - Tests for introspection methods of Types::TypeTiny.
+
+ [ Other ]
+ - Straighten out the relationships between Type::Coercion and its
+ subclasses.
+ - Type:Utils::match_on_type no longer automatically loads Types::Standard.
+
+0.047_03 2014-07-26 The 96% Coverage Release
+
+ [ Bug Fixes ]
+ - Fix for slurpy Map within a Tuple.
+ - Types::TypeTiny->has_type was incorrectly returning whether
+ Types::TypeTiny contained the named *coercion* instead of a named
+ *type*.
+
+ [ Test Suite ]
+ - Check Type::Library-based type libraries can extend MouseX::Types-based
+ type libraries.
+ - Check that Type::Registry works in conjunction with MouseX::Types.
+ (There's some TODO stuff there.)
+ - Checks for more Error::TypeTiny::Assertion explanations (Tuple, Duck,
+ Intersection, Union, Dicts containing slurpy things).
+ - Checks non-inlineable deep coercions for Tuple.
+ - Fake a very old Validation::Class::Simple for a certain test by
+ overriding $Validation::Class::Simple::VERSION.
+ - Improved type constraint constructor tests (exceptions thrown for bad
+ parameters, coercion=>ARRAY|CODE parameter).
+ - Improved type introspection method tests
+ (find_parent/is_supertype_of/is_subtype_of/is_strictly_supertype_of/is_s
+ trictly_subtype_of).
+ - Test the immutability of Type::Coercion::Union.
+ - Tests for `isa`.
+ - Tests for non-inlineable type constraints in `match_on_type` and
+ `compile_match_on_type`.
+ - Tests for various little methods which were added for
+ Moose/Mouse-compatibility.
+
+ [ Packaging ]
+ - Bundle my TODO file.
+
+ [ Other ]
+ - Better `isa` faking - returns true to Class::MOP::Object.
+
+0.047_02 2014-07-23 The 92% Coverage Release
+
+ [ Documentation ]
+ - Type::Tiny::Manual no longer says that Perl 5.6.x support is at risk.
+
+ [ Test Suite ]
+ - Add tests explicitly testing Type::Tiny objects conversion to
+ Moose::Meta::TypeConstraint and Mouse::Meta::TypeConstraint objects.
+ - Include test case relating to Type::Tiny::XS GitHub issue #1.
+ <https://github.com/tobyink/p5-type-tiny-xs/issues/1>
+ - Stop using base.pm.
+ - Test exceptions thrown by Type::Tiny::Class.
+ - Test exceptions thrown by Type::Tiny::Enum.
+ - Test exceptions thrown by Type::Tiny::Role.
+ - Test the Error::TypeTiny::Compilation exception class.
+ - Test the Error::TypeTiny::WrongNumberOfParameters exception class.
+
+ [ Other ]
+ - Allow Enums containing hyphens to be accelerated by Type::Tiny::XS.
+ - Type::Tiny::Class should stop using Class::ISA. Instead, if mro.pm is
+ not available, use a private sub stolen from MRO::Compat.
+ - Type::Tiny::Intersection is now XS-accelerated.
+ <https://gist.github.com/tobyink/71eab715ac16178cbcfb>
+ - Type::Tiny::Union is now XS-accelerated.
+ <https://gist.github.com/tobyink/71eab715ac16178cbcfb>
+
+0.047_01 2014-07-21 The 87% Coverage Release
+
+ [ Bug Fixes ]
+ - Fix a silly test case that was relying on Exporter::Tiny to always load
+ B.pm. (Current versions of Exporter::Tiny do load B.pm, but future
+ versions might not.)
+
+ [ Documentation ]
+ - Better document which type constraints will be accelerated by
+ Type::Tiny::XS and Mouse.
+
+ [ Other ]
+ - Type::Tiny::Enum is now XS-accelerated.
+ <https://gist.github.com/tobyink/dfdf9bb826a530781e3d>
+ - Types::Common::Numeric::PositiveInt is now XS-accelerated.
+ <https://gist.github.com/tobyink/dcc15cf283c90c749501>
+ - Types::Common::Numeric::PositiveOrZeroInt is now XS-accelerated.
+ <https://gist.github.com/tobyink/dcc15cf283c90c749501>
+ - Types::Common::String::NonEmptyStr is now XS-accelerated.
+ <https://gist.github.com/tobyink/dcc15cf283c90c749501>
+ - Types::Standard::Map is now XS-accelerated.
+ <https://gist.github.com/tobyink/e733f839cecc0dd193a6>
+ - Types::Standard::Tuple is now XS-accelerated.
+ <https://gist.github.com/tobyink/e733f839cecc0dd193a6>
+ - Unify _USE_XS/_USE_MOUSE logic in Type::Tiny. (It was previously
+ scattered across Types::Standard and various other modules.)
+
+0.046 2014-07-18
+
+ [ Bug Fixes ]
+ - Fix for Types::TypeTiny::to_TypeTiny($coderef) when Sub::Quote is loaded
+ but not used.
+ - Undef no longer passes the Types::TypeTiny::StringLike type constraint.
+
+ [ Test Suite ]
+ - Add test cases for Types::TypeTiny (the library of type constraints used
+ internally by Type::Tiny).
+
+ [ Other ]
+ - Minor optimizations to Types::TypeTiny::to_TypeTiny.
+
+0.045_05 2014-07-18
+
+ [ Bug Fixes ]
+ - More sensible use of Sub::Name in Type::Library.
+
+ [ Documentation ]
+ - Added a Type::Tiny::Manual::Optimization perldoc page.
+
+ [ Other ]
+ - Added: Type::Tiny now has a `where` method which is a shortcut for
+ creating a child type with a constraint coderef.
+ - Added: Type::Tiny now has an `of` method which is a shortcut for
+ `parameterize` which I can never spell properly.
+ - Restore and improve Mouse XS stuff dropped in Type-Tiny 0.045_03.
+
+0.045_04 2014-07-15
+
+ [ Bug Fixes ]
+ - Type::Params was warning about additional arguments passed to sprintf
+ under Perl blead. The additional argument has been removed.
+
+ [ Documentation ]
+ - Updated NEWS file.
+
+ [ Test Suite ]
+ - Cope with changes to Type::Tie error messages introduced in Type::Tie
+ 0.008.
+ - Fix warnings in 30-integration/Moose/native-attribute-traits.t when run
+ under perl -w.
+ Peter Karman++
+ - Generally stop testing the contents of error messages produced by
+ external modules!
+
+0.045_03 2014-07-11
+
+ [ REGRESSIONS ]
+ - The Mouse XS stuff introduced in Type-Tiny 0.003_09 has been partially
+ removed. (I do plan on restoring it, and improving it.)
+
+ [ Documentation ]
+ - Update benchmark scripts, showing results with/without Type::Tiny::XS.
+
+ [ Test Suite ]
+ - When testing equivalence between Types::Standard types and core Moose
+ types, don't test `Num` because Types::Standard provides two different
+ implementations for it.
+
+ [ Other ]
+ - Type::Tiny::XS is now used (if available) to speed up some of the
+ Types::Standard type constraints, plus Type::Tiny::Class and
+ Type::Tiny::Duck.
+
+0.045_02 2014-07-10
+
+ [ Bug Fixes ]
+ - Remove outdated references to the overloaded + operator from
+ Types::Standard documentation.
+ Fixes RT#96379.
+ Diab Jerius++
+ <https://rt.cpan.org/Ticket/Display.html?id=96379>
+
+ [ Documentation ]
+ - Include benchmark/example of Type::Params versus Scalar::Validation.
+
+0.045_01 2014-06-30
+
+ [ Bug Fixes ]
+ - Ensure that when a Type::Tiny object is inflated into a
+ Moose::Meta::TypeConstraint, inlining still happens via Type::Tiny.
+ omega++
+ - Workaround strange behaviour of exists() function when applied to @_ on
+ Perl older than 5.20 which caused some uses of Optional[Foo] to accept
+ an explicit undef.
+ Caleb Cushing++
+
0.044 2014-06-03
[ Documentation ]