1Type::Tiny::Manual::PolUisceiresC(o3n)tributed Perl DocuTmyepnet:a:tTiionny::Manual::Policies(3)
2
3
4
6 Type::Tiny::Manual::Policies - Type::Tiny policies
7
9 Type::Tiny Stability Policy
10 Type::Tiny 1.000000+ is considered stable. Any changes to the API that
11 are big enough to require changes to the test suite will be preceded by
12 a six month notice period, with the following exceptions:
13
14 • Any changes which are necessary to maintain compatibility with new
15 releases of Moose, Moo, and other software that Type::Tiny needs to
16 integrate with.
17
18 • Changes to maintain compatibility with future versions of Perl
19 itself.
20
21 • Where a change fixes a contradiction between the implementation and
22 documentation of Type::Tiny.
23
24 • Where a feature is explicitly documented as being "experimental" or
25 "unstable".
26
27 • Improvements to the text of error messages.
28
29 Experimental and Unstable Type::Tiny Features
30 The following list is currently non-exhaustive.
31
32 • The following type checks result may vary based on your version of
33 Perl and whether Type::Tiny::XS is installed. Their outcome is
34 currently considered undefined, and may change in future versions.
35
36 • Using Object and similar type checks on unblessed regular
37 expression references, the outcome is undefined.
38
39 • On all current versions of Perl, false ("!!0") stringifies to
40 the empty string (but using Devel::Peek you can tell the
41 difference between this value and a normal empty string), so
42 Int and subtypes of Int do not consider it to be an integer. If
43 Perl's behaviour ever changes, you might not be able to rely on
44 this outcome. True ("!!1") stringifies as "1", so is considered
45 an integer.
46
47 • A glob (not a globref but an actual glob) currently passes the
48 StringLike type constraint but not the Str type constraint.
49
50 • The BoolLike type is intended to extend Bool to cover
51 overloaded boolean objects, but the exact mechanism it uses may
52 change.
53
54 • Type::Tiny's "my_methods" attribute and the functionality it
55 provides is experimental.
56
57 • The parameterizable coercion API is subject to change.
58
59 • The interaction of deep coercions and mutable coercions currently
60 results in ill-defined behaviour. This could change at any time.
61
62 • Type::Registry's ability to import MooseX::Types and MouseX::Types
63 type libraries is experimental.
64
65 • These modules are considered part of Type::Tiny's internals, and
66 not covered by the stability policy: Devel::TypeTiny::Perl58Compat,
67 Type::Coercion::FromMoose, Type::Params::Alternatives,
68 Type::Params::Parameter, Type::Params::Signature,
69 Type::Tiny::_HalfOp, Types::Standard::ArrayRef,
70 Types::Standard::CycleTuple, Types::Standard::Dict,
71 Types::Standard::HashRef, Types::Standard::Map,
72 Types::Standard::ScalarRef, Types::Standard::StrMatch,
73 Types::Standard::Tied, and Types::Standard::Tuple.
74
75 • Reply::Plugin::TypeTiny is not covered by the stability policy.
76
77 Type::Tiny Versioning Policy
78 As of 1.000000, this distribution follows a versioning scheme similar
79 to Moo, which is based on a semver <http://semver.org/>-like three
80 component version number, but with the last two components each
81 represented by three decimal digits in the fractional part of the
82 version number. That is, version 1.003002 of the software represents
83 "1.3.2".
84
85 Additionally, releases where the second component is an odd number will
86 be considered unstable/trial releases. (These will also include an
87 underscore in the version number as per the usual CPAN convention.)
88
89 Perl Version Support
90 Type::Tiny 0.000_01 to Type::Tiny 0.015_04 required Perl 5.8.1.
91
92 Type::Tiny 0.015_05+ and Type::Tiny 1.000000+ requires Perl 5.6.1.
93
94 Type::Tiny 2.000000+ will require Perl 5.8.1.
95
97 Here's your next step:
98
99 • Type::Tiny::Manual::Contributing
100
101 Contributing to Type::Tiny development.
102
104 Toby Inkster <tobyink@cpan.org>.
105
107 This software is copyright (c) 2013-2014, 2017-2023 by Toby Inkster.
108
109 This is free software; you can redistribute it and/or modify it under
110 the same terms as the Perl 5 programming language system itself.
111
113 THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
114 WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
115 MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
116
117
118
119perl v5.38.0 2023-07-21 Type::Tiny::Manual::Policies(3)