Skip to content

Commit 74ffc7a

Browse files
committed
Add advanced notice of upcoming coercions to pod too
1 parent ef35a84 commit 74ffc7a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/Type/Tiny/Manual/Policies.pod

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@ Improvements to the text of error messages.
4242

4343
=back
4444

45+
=head2 Notice: Planned Changes in Type::Tiny 3
46+
47+
Type::Tiny 3 is expected to be released in the second half of 2026. It is likely
48+
to introduce coercions to some common type constraints such as B<HashRef>,
49+
B<ArrayRef>, and B<Str>. If your code specifically relies on these types
50+
not having coercions, you may need to change your code. (The C<no_coercions>
51+
method can give you a copy of any type minus all coercions.)
52+
4553
=head2 Experimental and Unstable Type::Tiny Features
4654

4755
The following list is currently non-exhaustive.

0 commit comments

Comments
 (0)