summaryrefslogtreecommitdiff
path: root/Changes
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2013-06-28 01:02:11 +0200
committerJonas Smedegaard <dr@jones.dk>2013-06-28 01:02:11 +0200
commit186e81867e24578694ac81d459c107a1aa5787b2 (patch)
tree4af86d1c9fd66f06d82d1de90aef4296e41e831a /Changes
parent737164ded2e3612765dfdcfbeb9ac216a716fb3f (diff)
parent0ee6745038bb82031987048e082b0a1bf5758344 (diff)
Imported Upstream version 0.012
Diffstat (limited to 'Changes')
-rw-r--r--Changes218
1 files changed, 218 insertions, 0 deletions
diff --git a/Changes b/Changes
index 7fe56f13..0e8676aa 100644
--- a/Changes
+++ b/Changes
@@ -6,6 +6,224 @@ Home page: <https://metacpan.org/release/Type-Tiny>
Bug tracker: <http://rt.cpan.org/Dist/Display.html?Queue=Type-Tiny>
Maintainer: Toby Inkster <mailto:tobyink@cpan.org>
+0.012 2013-06-25
+
+ - (Documentation) Updated NEWS file.
+
+0.011_03 2013-06-25
+
+ - (Bugfix) Type::Tiny now overloads `cmp`. Necessary because Mouse does a
+ sort on type constraints in a union, and overload's fallback doesn't
+ seem to cover `cmp` on Perl prior to 5.12.
+
+0.011_02 2013-06-25
+
+ - (Bugfix) Types::Standard 0.009_02 stopped including 'library' attribute
+ in its types, and thus broke MooX::late. Type::Library modified to make
+ 'library' attribute more automatic, and less reliant on Type::Utils to
+ do the right thing.
+
+0.011_01 2013-06-25
+
+ - (Addition) Types::Standard::to_TypeTiny now accepts any object
+ implementing the Type::API::Constraint or
+ Type::API::Constraint::Coercion interfaces. As
+ Mouse::Meta::TypeConstraint implements this interface, specific support
+ for importing Mouse types has been dropped; the generic Type::API import
+ 'just works' for Mouse types.
+ - (Addition) Types::Standard::to_TypeTiny now accepts unblessed coderefs
+ and converts them to type constraints. This allows things like `Int &
+ sub { $_ < 10 }` to work.
+ - (Bugfix) Unions of Type::Tiny and Mouse::Meta::TypeConstraints now work
+ properly. This makes Type::Tiny and MouseX::Types play nice together
+ (much like Type::Tiny already plays nice with MooseX::Types).
+ - Cleanups within Type::Coercion. Necessary because in some places the
+ entire type_coercion_map (including conversion coderefs) was passed
+ through Types::Standard::to_TypeTiny, when really only the type
+ constraints should have been.
+
+0.010 2013-06-24
+
+ - (Documentation) Updated NEWS file.
+
+0.009_07 2013-06-24
+
+ - (Packaging) Make rt86172.t an 'xt' test case because it's causing random
+ CPAN testers failures unrelated to the feature it's supposed to be
+ testing.
+ - (Packaging) More test cases for interacting with MooseX::Types type
+ constraints.
+ - If a Type::Tiny object is instantiated with a Sub::Quote quoted
+ constraint coderef, and no inlined coderef, then Type::Tiny will use
+ Sub::Quote to make an inlined coderef.
+ - Subclasses of Type::Tiny reject 'inlined' coderef, just like they
+ already reject 'constraint' coderef.
+ - Type::Params no longer uses Type::Utils.
+ - Types::Standard::to_TypeTiny now sets 'display_name' instead of 'name'
+ on generated type constraints.
+
+0.009_06 2013-06-23
+
+ - (Bugfix) Careful calling the DOES method (it doesn't exist in Perl 5.8).
+
+0.009_05 2013-06-23
+
+ - (Bugfix) Type::Registry does the AUTOLOAD thing, so ought to provide a
+ DESTROY method.
+
+0.009_04 2013-06-23
+
+ - (Bugfix) Type::Tiny::Class shouldn't completely trust @ISA when
+ establishing parent class heirarchies.
+ - (Update) Support Type::API interfaces.
+ - Constructors for Type::Tiny subclasses no longer accept the 'constraint'
+ parameter; it doesn't make sense.
+
+0.009_03 2013-06-22
+
+ - (Bugfix) Fix Types::Standard compilation errors under Perl 5.8.x.
+
+0.009_02 2013-06-22
+
+ - (Bugfix) Fix for compiled_checks for type constraints inheriting from
+ Type::Tiny::Class, etc.
+ Fixes GH#1
+ ++$RSIMOES
+ - Types::Standard no longer uses Type::Utils.
+ - Various minor optimizations for Eval::TypeTiny, Type::Tiny, etc.
+
+0.009_01 2013-06-21
+
+ - (Addition) Reply::Plugin::TypeTiny.
+ - (Bugfix) Fix error messages from type constraints with null constraint
+ coderefs.
+
+0.008 2013-06-21
+
+ - (Documentation) Updated NEWS file.
+
+0.007_10 2013-06-21
+
+ - (Addition) Type::Parser now exports a _std_eval function useful for
+ testing.
+ - (Addition) Type::Parser now supports parentheses in its DSL.
+ - (Bugfix) Fixed many small parsing bugs in Type::Parser.
+ - (Bugfix) MooseX::Types objects used in Type::Tiny::Union,
+ Type::Tiny::Intersection and parameterized Type::Tiny type constraints
+ would break in some circumstances, as Types::TypeTiny::to_TypeTiny was
+ failing to convert them to native Type::Tiny type constraints.
+ Fixes RT#86303
+ - (Documentation) Document status of Type::Registry.
+ - (Packaging) Better test cases for Type::Registry.
+ - (Packaging) Test cases for Type::Parser.
+ - Improved error messages from Type::Parser.
+
+0.007_09 2013-06-18
+
+ - (Bugfix) Fix problems inlining Dict deep coercions where the target
+ constraint could not be inlined.
+ Fixes RT#86233
+ ++$MMCLERIC
+ - (Bugfix) Fix unintuitive Dict deep coercions.
+ Fixes RT#86239
+ ++$MMCLERIC
+
+0.007_08 2013-06-17
+
+ - (Bugfix) Fix problem with interaction between constraints, coercions,
+ and Moose classes that inherit from Moo classes.
+ Fixes RT#86172
+ ++$PJFL
+
+0.007_07 2013-06-16
+
+ - (Bugfix) Partly roll back prototype changes. Now we use `;$` for Perl
+ since 5.14, but `;@`, for older Perls that don't support `;$` so well.
+
+0.007_06 2013-06-16
+
+ - (Addition) Type::Exception is now capable of supplying stack traces
+ (requires Devel::StackTrace).
+ - (Documentation) Document the evaluation environment used by
+ Eval::TypeTiny.
+ - (Documentation) Rearranged documentation for Type::Utils, avoiding
+ previous split into Moose-like and non-Moose-like functions.
+ - Better prototypes (was `;@`, now `;$`) for parameterizable type
+ 'constants' exported by type libraries.
+ ++$MSTROUT
+ - Exceptions thrown for Moo isa/coerce now indicate which attribute was
+ involved.
+ - Type::Utils no longer exports 'extends' by default!!
+
+0.007_05 2013-06-12
+
+ - (Addition) Add match_on_type and compile_match_on_type to Type::Utils.
+ - (Addition) Test cases for InstanceOf, ConsumerOf, HasMethods and Enum
+ types defined by Types::Standard.
+ - (Documentation) Mention Scalar::Does and Type::Tie in manual.
+ - (Documentation) Vastly improved documentation for Type::Utils.
+ - (Documentation) Vastly improved documentation for Types::Standard.
+ - Support '0' and '1' as shortcuts for Optional[Any] and Any in
+ Type::Params. (Not documented yet.)
+
+0.007_04 2013-06-09
+
+ - (Bugfix) Overloading of `$type eq $type` now works in Perl 5.8.
+ Fixes RT#85895
+ ++$MMCLERIC
+ - (Bugfix) The combination of Dict, Optional and coercions seems to have
+ been broken in certain circumstances.
+ Fixes RT#86001
+ ++$DJERIUS
+
+0.007_03 2013-06-08
+
+ - (Bugfix) Inlining of certain deep Dict, Tuple and Map coercions was
+ broken, but Type::Params attempted to inline them anyway, leading to
+ death.
+ Fixes RT#85911
+ ++$DJERIUS
+ - (Documentation) Better document Type::Tiny's 'parents' method which
+ differs from the Moose method of the same name.
+
+0.007_02 2013-06-04
+
+ - (Addition) New constraints added to Types::Standard: InstanceOf,
+ ConsumerOf, HasMethods and Enum.
+ ++$HAARG
+ - (Documentation) Improvements to Type::Tiny::Manual.
+ - (Documentation) Improvements to Type::Tiny::Manual::Params, including
+ rewritten manual processing section, and processing type constraints in
+ function signatures via Function::Parameters/Attribute::Constract.
+ - (Packaging) Test cases for usage with Function::Parameters.
+ - Allow constraint_generators (for parameterizable type constraints) to
+ return full Type::Tiny objects instead of plain coderefs.
+ - Drop use of Carp in Type::Parser.
+ - Type::Tiny::Class types now have an automatically calculated parent type
+ constraint based on @ISA.
+ - Type::Tiny::Duck types now have a parent type constraint of
+ Types::Standard::Object.
+ - Type::Tiny::Enum types now have a parent type constraint of
+ Types::Standard::Str.
+ - Type::Tiny::Intersection types now have an arbitrary parent type
+ constraint.
+ - Type::Tiny::Role types now have a parent type constraint of
+ Types::Standard::Object.
+ - Type::Tiny::Union types now have an automatically calculated parent type
+ constraint based on the most specific common parent type constraint.
+
+0.007_01 2013-06-01 # Happy birthday to me...
+
+ - (Addition) Type::Parser.
+ - (Addition) Types::Standard now has LaxNum/StrictNum type constraints,
+ and Num selects between them.
+ - (Bugfix) Fix $VERSION defined in Type::Library.
+ - (Packaging) Generate README from Type::Tiny::Manual instead of
+ Type::Tiny.
+ - Implemented Types::TypeTiny->meta->get_type.
+ - Re-introduce Type::Registry, with improved parsing thanks to
+ Type::Parser.
+
0.006 2013-05-28
- (Packaging) Exporter::TypeTiny::mkopt_hash now works.