Commit | Line | Data |
c3398f5b |
1 | Revision history for Mouse |
927982b4 |
2 | |
7e0e6837 |
3 | 0.63 Tue Jul 20 19:26:30 2010 |
01f38ab1 |
4 | [CHANGES] |
5 | * Resolve RT#59460: Test::Requires is not a required prerequisite unless |
6 | release-testing... (Curtis Jewell) |
7 | See also https://rt.cpan.org/Public/Bug/Display.html?id=59460 |
8 | |
7e0e6837 |
9 | [FEATURES] |
10 | * Add Mouse::Util::TypeConstraints::register_type_constraint() |
11 | (Vincent Pit) |
12 | See also https://rt.cpan.org/Public/Bug/Display.html?id=59539 |
13 | |
0a3d3fdb |
14 | 0.62 Tue Jul 6 20:18:58 2010 |
15 | [FEATURES] |
16 | * Support MouseX::StrictConstructor (gfx) |
17 | |
913b5964 |
18 | 0.61 Sat Jun 19 15:35:48 2010 |
19 | [BUG FIXES] |
20 | * Workaround the Perl_call_sv() problem again (gfx) |
21 | * Update Module::Install to 0.99 for older versions of perls (gfx) |
22 | |
17ae5974 |
23 | 0.60 Wed Jun 9 19:43:55 2010 |
24 | [CHANGES] |
25 | * BUILDALL is now called by Mouse::Meta::Class::new_object, rather than |
26 | by Mouse::Object::new. (Moose 1.05) |
27 | |
28 | [BUG FIXES] |
29 | * Fix type constraint validation messages to not include the string |
30 | 'failed' twice in the same sentence. (Moose 1.05) |
31 | * Resolve RT #57975: The prefix "Exception caught" is no longer added |
32 | to exceptions Mouse catches. (gfx) |
33 | |
34 | [OTHERS] |
35 | * A difficult test (t/900_mouse_bugs/006_RT69939.t) will be skipped on |
36 | some platforms. (gfx) |
37 | |
8f0a0704 |
38 | 0.59 Tue May 18 16:29:57 2010 |
39 | [CHANGES] |
40 | * Improve error messages on $class->accessor() (gfx) |
41 | |
af4995e2 |
42 | 0.58 Sat May 8 11:18:17 2010 |
43 | [BUG FIX] |
44 | * Compliant with 5.12.0+ |
45 | |
1d7d294f |
46 | 0.57 Fri May 7 14:27:00 2010 |
47 | [BUG FIX] |
48 | * Resolve RT #57144: Fix problems in Perl_call_sv() again (gfx) |
49 | |
f15e8041 |
50 | 0.56 Thu Apr 29 11:15:45 2010 |
51 | [BUG FIX] |
52 | * Resolve RT#56837: Role application to instance with init_arg'd |
53 | attributes caused problems (Sanko Robinson) |
54 | |
ca980dc4 |
55 | 0.55 Wed Apr 21 13:27:13 2010 |
f15e8041 |
56 | [BUG FIX] |
ca980dc4 |
57 | * Fix a bug that traits could cause panic/SEGV on threads (gfx) |
58 | |
1759509c |
59 | 0.54 Sat Apr 17 17:15:54 2010 |
60 | [BUG FIX] |
61 | * Resolve RT#56523: has with reader, writer, lazy and builder |
62 | could not create a write-only accessor (Michael G Schwern) |
63 | |
6cd9dfb6 |
64 | 0.53 Sun Apr 11 11:39:03 2010 |
65 | [BUG FIX] |
66 | * Mouse::Meta::Class could not clone objects with "required" attrs (gfx) |
67 | |
fdef448e |
68 | 0.52 Sat Mar 27 15:38:52 2010 |
69 | * Workaround Perl-RT#69939 (eval "use $module" in Perl_call_sv() |
70 | may cause segmentation faults, |
71 | http://rt.perl.org/rt3/Public/Bug/Display.html?id=69939) |
72 | |
1f6046f0 |
73 | 0.51 Mon Mar 15 15:25:58 2010 |
74 | SUMMARY |
75 | |
76 | [BUG FIXES] |
77 | * Mouse::Object::DESTROY could cause SEGVs |
78 | * Attribute triggers could cause panics |
0a3d3fdb |
79 | * Integers > 2**32 were not groked as Int |
1f6046f0 |
80 | * Incorrect types, e.g. "Array[Int", was accepted |
81 | * Metaclass compatibility was sometimes ignored |
82 | |
83 | [MOOSE COMPATIBILITY] |
84 | * before/around/after accept regular expressions |
85 | * has() becomes strict |
86 | * the global destruction flag is passed to DEMOLISH methods |
87 | * Delegations can be curried |
88 | * Built-in type constraints have the same hierarchy as Moose's |
89 | |
90 | |
91 | 0.50_09 Mon Mar 15 12:02:28 2010 |
123fd4f8 |
92 | * (re)fix RT #55048 to grok 2**46+0.5 as Int, but |
93 | accept 2**46 as Int even on 32 bit environments; |
94 | note that an Int is exactly what is matched to /^[+-]?[0-9]+$/, |
95 | so 10e100 will not be groked as Int (gfx) |
96 | |
78a4b129 |
97 | 0.50_08 Thu Mar 11 19:28:58 2010 |
98 | * Makefile.PL |
99 | - Resolved #55419: Add Devel::PPPort to build_requires (gfx) |
8a3fa349 |
100 | * Mouse::Exporter |
101 | - Turns on warnings FATAL => 'recursion' by default (gfx) |
d18ffd12 |
102 | * Mouse::Util::TypeConstraints |
103 | - Change the type parser to check syntax (gfx) |
104 | (Now it throws erros to "ArrayRef[]", "ArrayRef[Int", etc.) |
105 | |
80680661 |
106 | 0.50_07 Sun Mar 7 19:59:37 2010 |
107 | * Mouse::Meta::Attribute |
108 | - Fix a possible panic, caused by triggers, reported by |
109 | Nobuo Danjou (gfx) |
110 | |
6e1e5b31 |
111 | 0.50_06 Tue Mar 2 18:35:12 2010 |
112 | * Mouse::PurePerl |
113 | - Fix an issue on metaclass compatibility again (gfx) |
114 | - Fix more-than-32-bit-int progrem again (gfx) |
115 | |
98a8fd12 |
116 | 0.50_05 Mon Mar 1 11:18:26 2010 |
117 | * Mouse::Util::TypeConstraints |
118 | - Mouse used an incorrect cast at the C-level which meant that |
1f1ccccd |
119 | its idea of numbers was different from that of Perl's (and |
98a8fd12 |
120 | Mouse's). Notably > 2**32 Integers on 32 bit systems didn't |
123fd4f8 |
121 | work, RT #55048 (AEvar). |
98a8fd12 |
122 | * Mouse::Meta::Classs |
123 | - Fix an issue on metaclass compatibility (gfx) |
1f1ccccd |
124 | |
c2168931 |
125 | 0.50_04 Fri Feb 26 18:57:24 2010 |
126 | * All |
127 | - Warnings are less noisy, as shown by example/warns.pl (gfx) |
128 | - Various optimization and refactoring (gfx) |
129 | |
4bc73e47 |
130 | 0.50_03 Mon Feb 22 17:56:47 2010 |
d503a4f3 |
131 | * Mouse::Meta::Attribute |
132 | - Catch up about Moose 0.84 about warnings (gfx) |
133 | - If an attribute generates no accessors, it will be warned |
134 | - If both 'isa' and 'does' are specified and 'isa' does not do |
135 | 'does', then it will be warned |
70425827 |
136 | * Mouse::Object |
137 | - Fix a possible segv which is caused by destructors (gfx) |
df448257 |
138 | * Mouse::Util::TypeConstraints |
139 | - Implement the built-in type hierarchy (gfx) |
140 | |
d990f791 |
141 | 0.50_02 Sat Feb 20 14:37:16 2010 |
c28783ef |
142 | * Mouse::Meta::Attribute |
143 | - Implement argument currying for delegation (gfx) |
06c067b9 |
144 | * Mouse::Meta::Method::Constructor |
d990f791 |
145 | - Implement strict constructors experimentally, which will warn |
146 | unkown constructor arguments (gfx) |
c28783ef |
147 | |
05a12aa4 |
148 | 0.50_01 Sat Feb 13 16:39:48 2010 |
3bf1e61f |
149 | * Mouse |
c28783ef |
150 | - before/around/after now accept regexps (gfx) |
1fc94910 |
151 | * Mouse::Object |
152 | - Support the global destruction flag in DEMOLISH (gfx) |
0d5a1d74 |
153 | * Mouse::Meta::Attribute |
154 | - Attribute constructors now warn very noisily about unknown (or |
155 | misspelled) arguments (gfx) |
156 | |
1fc94910 |
157 | |
e9148d13 |
158 | 0.50 Mon Feb 8 13:43:19 2010 |
159 | * Mouse::Tiny |
160 | - Allow "use Mouse::Tiny VERSION" with a patch contributed by |
161 | chocolateboy, RT #54383 (gfx) |
6e96640e |
162 | * Mouse::Util::MetaRole |
163 | - Add Mouse::Util::MetaRole::apply_metaroles |
164 | to catch up the latest Moose API for metaroles (gfx) |
165 | |
01e830f7 |
166 | 0.49 Tue Feb 2 12:58:45 2010 |
167 | * MouseAccessor.xs |
168 | - Fix RT #54203 that writers might return undef in setting values |
169 | reported by chocolateboy (gfx) |
170 | |
ede063cc |
171 | 0.48 Sun Jan 31 17:53:31 2010 |
01e830f7 |
172 | * MouseTypeConstraints.xs |
173 | - Fix magic handling in type constraints reported by sunnavy (gfx) |
ede063cc |
174 | |
bd76a699 |
175 | 0.47 Fri Jan 15 15:07:21 2010 |
176 | * Makefile.PL |
177 | - Shipped with M::I::XSUtil 0.21 (gfx) |
ede063cc |
178 | - Fix an issue that gcc 4.0 don't support -Wc++-compat (gfx) |
bd76a699 |
179 | * Mouse |
180 | - Add a caveat on XS callbacks to the pod (gfx) |
181 | |
8c235ea7 |
182 | 0.46 Sat Jan 9 17:54:30 2010 |
939c3d87 |
183 | * Mouse::Meta::Attribute |
184 | - Add support for code references for handles |
185 | patched by Frank Cuny (gfx) |
186 | * Mouse::Util::TypeConstraints |
187 | - Fix Str and ScalarRef for typeglobs, lvalues, and etc. (gfx) |
188 | * oose.pm |
189 | - Add Moose::Util::TypeConstraints exports to allow easier testing |
190 | of TypeConsraints from the command line (gfx) |
191 | |
267711f7 |
192 | 0.4501 Tue Dec 22 16:02:15 2009 |
193 | * Fix an issue on circular dependencies (RT #52939, thanks to t0m) |
194 | - (see also http://rt.cpan.org/Public/Bug/Display.html?id=52939 ) |
195 | |
81fd550d |
196 | 0.45 Sat Dec 19 17:22:46 2009 |
e6996029 |
197 | * Fix filename portability issue (RT #52828, thanks to Peter Edwards) |
198 | |
f178e757 |
199 | * Fix an issue that definitions of anonymous types could fail (gfx) |
200 | |
63d3339b |
201 | * Mouse::Meta::Attributes |
202 | - Add set_value/get_value/has_value/clear_value (gfx) |
81fd550d |
203 | (Note that thsese methods are depend on the accessors) |
63d3339b |
204 | |
205 | * Test::Mouse |
206 | - Add with_immutable (gfx) |
207 | |
58e41d63 |
208 | 0.44 Wed Dec 9 21:43:21 2009 |
276dbb23 |
209 | * Shipped with Module::Install::XSUtil 0.19 (gfx) |
210 | |
58e41d63 |
211 | * Test::Mouse |
276dbb23 |
212 | - Added (gfx) |
58e41d63 |
213 | |
214 | * Mouse::Util::TypeConstraints |
276dbb23 |
215 | - Add duck_type (gfx) |
ec0ef258 |
216 | |
c565ffb3 |
217 | 0.43 Mon Dec 7 14:21:59 2009 |
218 | * Improve documents |
219 | |
220 | * Mouse::Meta::Module |
221 | - Remove undocumented has_package_symbol and get_package_symbol (gfx) |
e83a2ae7 |
222 | (They are introduced in 0.41, but seem useless in Mouse) |
c565ffb3 |
223 | |
5176a3e4 |
224 | 0.42 Sat Dec 5 16:05:06 2009 |
225 | * Fix a PAUSE indexing issue (gfx) |
226 | |
4c0fe06f |
227 | 0.41 Sat Dec 5 15:00:33 2009 |
21276ee2 |
228 | * This is the first stable version of Mouse::XS |
4c0fe06f |
229 | - Mouse::XS is about 2 times faster than Mouse::PurePerl |
21276ee2 |
230 | |
4c0fe06f |
231 | * SUMMARY |
21276ee2 |
232 | - Many stuff are now in XS |
4c0fe06f |
233 | - Support "use Mouse -traits => ..." subdirective |
234 | |
235 | * INCOMPATIBILITY CHANGES (but compatible with Moose) |
236 | - The type of default value is constrained correctly |
237 | - The default values is weakend correctly |
238 | - BUILDALL/DEMOLISHALL are no longer called |
21276ee2 |
239 | |
506fb74d |
240 | 0.40_09 Thu Dec 3 13:42:17 2009 |
00822cc3 |
241 | * Mouse |
242 | - Remove @Mouse::EXPORT, which was no longer used (gfx) |
243 | |
244 | * Mouse::Role |
245 | - Remove @Mouse::Role::EXPORT, which was no longer used (gfx) |
246 | |
247 | * Mouse::Util |
248 | - Fix a bug which caused segv on 5.6.2 (gfx) |
249 | |
250 | * Mouse::Meta::Module |
251 | - Add has_package_symbol and get_package_symbol (gfx) |
252 | |
253 | |
254 | 0.40_08 Thu Nov 26 21:36:49 2009 |
e0b77af5 |
255 | * Mouse::Exporter |
256 | - Add the "-traits => ..." subdirective (gfx) |
257 | |
258 | * Mouse::Meta::Class |
259 | - Add metaclass incompatibility resolution (gfx) |
260 | |
8aba926d |
261 | 0.40_07 Tue Nov 17 18:28:57 2009 |
262 | * Mouse::Util::MetaRole |
263 | - Implemented, but there are many to be done (gfx) |
264 | |
265 | * Mouse::Meta::Method::Accessor |
266 | * Mouse::Meta::Method::Constructor |
267 | - Fix a bug that default values are not weaken()ed (gfx) |
268 | |
269 | 0.40_06 Mon Nov 16 17:21:10 2009 |
1e582397 |
270 | * Shipped with Module::Install::XSUtil 0.17 (gfx) |
22e52758 |
271 | * Mouse::Object |
0d615023 |
272 | - BUILDALL and DMELISHALL are no longer called by the default ctr/dtr, |
1e582397 |
273 | because generated ctrs/dtrs have never call them anyway (gfx) |
274 | - new and DESTROY are now in XS (gfx) |
275 | |
aee75235 |
276 | 0.40_05 Mon Nov 2 11:59:01 2009 |
75c9081b |
277 | * Shipped with Module::Install::XSUtil 0.16 (gfx) |
aee75235 |
278 | |
279 | 0.40_04 Tue Nov 1 11:58:27 2009 |
75c9081b |
280 | * Implement type constraint generators in XS (gfx) |
6a97bbda |
281 | |
766af1c2 |
282 | 0.40_03 Fri Oct 30 12:03:58 2009 |
75c9081b |
283 | * Update Module::Install::XSUtil to 0.15 (gfx) |
766af1c2 |
284 | |
3feac481 |
285 | 0.40_02 Tue Oct 27 15:04:10 2009 |
75c9081b |
286 | * Add the Mouse::XS documentation (gfx) |
9a5d1ed3 |
287 | |
288 | * Mouse::Meta::Method::Accessor |
75c9081b |
289 | - Apply type constraints to default values as Moose does (gfx) |
4ab8bb8f |
290 | |
56ccf870 |
291 | 0.40_01 Mon Oct 26 17:31:23 2009 |
75c9081b |
292 | * Add an optional XS implementation (gfx) |
b06ce1f5 |
293 | |
1f817abe |
294 | 0.40 Mon Oct 19 18:30:32 2009 |
295 | * Mouse::Meta::TypeConstraint |
75c9081b |
296 | - Fix a subtyping issue (Thanks miyagawa san) (gfx) |
1f817abe |
297 | * Mouse/Mouse::Role |
75c9081b |
298 | - Now export their sugars to the "main" package (gfx) |
1f817abe |
299 | |
4353bfe1 |
300 | 0.39 Tue Oct 13 16:42:31 2009 |
301 | * Fix RT #50421 (Thanks Michael G Schwern) |
302 | * Fix RT #50422 (Thanks Michael G Schwern) |
303 | |
304 | 0.38 Tue Oct 13 15:40:39 2009 |
6106ed03 |
305 | * No code changes from 0.37_06 |
518b3489 |
306 | |
6106ed03 |
307 | * SUMMARY from 0.37 to 0.38 |
308 | - Add documents about compatiblity and incompatibility to Mouse::Spec |
6106ed03 |
309 | - Refactor type constraints and type coercions |
310 | - Now ArrayRef[Foo | Bar] is parsed correctly |
311 | - Type coercions are stored in type constraint objects |
6106ed03 |
312 | - Add Mouse::Exporter for import/unimport methods |
6106ed03 |
313 | - Make roles applicable to instances |
6106ed03 |
314 | - Implement inner/augment keywords |
6106ed03 |
315 | - Port a lot of Moose's tests |
6106ed03 |
316 | - Fix a lot of bugs |
83fd4df5 |
317 | |
318 | |
455994cf |
319 | 0.37_06 Mon Oct 12 16:34:18 2009 |
b3ae10c7 |
320 | * Mouse::Meta::Attribute |
321 | - Support handles => qr/pattern/ in has() (gfx) |
322 | |
323 | * Mouse::Meta::Method::Destructor |
324 | - Locallize $@ and $? in DESTROY as Moose does (gfx) |
325 | |
455994cf |
326 | * Mouse::Meta::Role |
327 | - Fix role application to instances (gfx) |
328 | |
b3ae10c7 |
329 | * Tests |
330 | - Move t/*.t to t/001_moose/ |
7cfe5d54 |
331 | |
6f16d3ce |
332 | 0.37_05 Fri Oct 9 15:21:43 2009 |
9c72aa8c |
333 | * Mouse::Exporter |
334 | - Add build_import_methods() (gfx) |
335 | |
336 | * Mouse::Spec |
b644ef5d |
337 | - Add notes about Moose::Cookbook (gfx) |
1639e480 |
338 | |
339 | * Fix some minor bugs (gfx) |
340 | |
1dc1f3f1 |
341 | 0.37_04 Thu Oct 8 20:49:11 2009 |
c38b841a |
342 | * Mouse::Meta::Role::Composite |
343 | - Fix and improve role composition mechanism (gfx) |
344 | |
1dc1f3f1 |
345 | * Import a number of tests from Moose, and fix various bugs (gfx) |
c38b841a |
346 | |
b1a89a06 |
347 | * Mouse::Tiny is always generated in Makefile.PL (gfx) |
348 | |
edd20f48 |
349 | 0.37_03 Wed Oct 7 21:10:05 2009 |
af8f95f4 |
350 | * Mouse::Exporter |
351 | - Add Mouse::Exporter (gfx) |
352 | * Mouse::Meta::Method::Constructor |
353 | - Optimize generated constructors (gfx) |
1f0c967a |
354 | * Mouse::Meta::Role |
355 | - Implement role application to instances (gfx) |
62cb9505 |
356 | |
f5511684 |
357 | 0.37_02 Sun Oct 4 17:29:15 2009 |
53a7a312 |
358 | * Mouse |
359 | - Implement the argument/inner keywords |
4f90d9ae |
360 | * Mouse::Meta::Attribute |
2e202fdb |
361 | - Add get_read_method_ref() and get_write_method_ref() (gfx) |
53a7a312 |
362 | - Add find_attribute_by_name() (gfx) |
2e202fdb |
363 | - Fix clone_and_inherit_options() to deal with 'traits' (gfx) |
364 | * Mouse::Util |
365 | - Fix meta() method, which was not tested (gfx) |
53a7a312 |
366 | * Tests |
367 | - Port t/010_basics/*.t from Moose |
4f90d9ae |
368 | |
327475b7 |
369 | 0.37_01 Thu Oct 1 15:32:58 2009 |
2e202fdb |
370 | * Type coercions are stored to type constraints (gfx) |
2929db0a |
371 | |
2e202fdb |
372 | * Refactor the type parser to parse 'ArrayRef[Object|Int]' (gfx) |
2929db0a |
373 | |
2e202fdb |
374 | * Remove Class::MOP specific subroutines from Mouse::Meta::Module (gfx) |
327475b7 |
375 | (this change might be reverted in the release version) |
b61e0c46 |
376 | - version, authority, identifier, |
377 | get_all_metaclasses, store_metaclass_by_name, |
378 | weaken_metaclass, does_metaclass_exist, remove_metaclass_by_name |
379 | |
2e202fdb |
380 | * Add new public utilities to Mouse::Util (gfx) |
b61e0c46 |
381 | - class_of, the counterpart for Class::MOP::class_of |
382 | - get_metaclass_by_name for Class::MOP::get_metaclass_by_name |
383 | |
384 | |
31920032 |
385 | 0.37 Mon Sep 28 10:48:27 2009 |
0a46aaa0 |
386 | * Ensure backward compatibility by author/test-externa.pl (gfx) |
387 | |
388 | * Change the algorithm of has_method() for backward compatibility (gfx) |
389 | |
31920032 |
390 | * $ENV{MOUSE_VERBOSE}=1 for Moose-compatible warnings (gfx) |
0a46aaa0 |
391 | |
04493075 |
392 | 0.36 Sun Sep 27 16:53:06 2009 |
393 | * Fix an issue that breaks backward compatibility (gfx) |
394 | - MouseX::Attribute does work, although make tests doesn't pass |
395 | |
81625179 |
396 | 0.35 Sat Sep 26 12:38:27 2009 |
397 | * Work around Test::Exception 0.27_0x by including authorized ver. (gfx) |
398 | |
a573851d |
399 | 0.34 Fri Sep 25 21:55:48 2009 |
32a0f864 |
400 | * Make sure to work on 5.6.2 (gfx) |
eb88905f |
401 | |
32a0f864 |
402 | * Remove Class::Method::Modifiers dependency (gfx) |
7ca5c5fb |
403 | |
32a0f864 |
404 | * Remove testing modules from inc/ (gfx) |
405 | |
406 | * Put t/019-handles.t on ice (gfx) |
7a1781ae |
407 | |
639f39ef |
408 | 0.33_01 Thu Sep 24 16:16:57 2009 |
121acb8a |
409 | * Implement traits => [...] in has() (gfx) |
410 | |
411 | 0.33 Wed Sep 23 15:06:40 2009 |
39f9498f |
412 | * Fix RT #49902: 0.32 fails tests reported by GRUBER (gfx) |
413 | |
47a8794f |
414 | * Add some tests |
415 | |
b2a583f8 |
416 | 0.32 Tue Sep 22 16:44:57 2009 |
417 | * Add many tests copied from Moose (gfx) |
7a50b450 |
418 | |
b2a583f8 |
419 | * Fix Mouse::Util::find_meta() and Mouse::Util::does_role() (gfx) |
7a50b450 |
420 | |
53c495ce |
421 | * Fix the timing triggers are invoked (gfx) |
422 | |
b2a583f8 |
423 | * Implement confliction checks in roles |
424 | |
425 | * work around create() and create_anon() in Mouse::Meta::Role |
3c429663 |
426 | |
b2a583f8 |
427 | 0.31 Tue Sep 22 11:08:12 2009 |
7b133c92 |
428 | * Add find_meta() and does_role() to Mouse::Util (gfx) |
429 | |
809fc2c7 |
430 | * Fix tests using Class::Method::Modifiers to be skipped correctly (gfx) |
431 | |
432 | * Remove Test::Mouse, which was accidentally included (gfx) |
433 | |
9c6ff002 |
434 | 0.30 Mon Sep 21 16:43:05 2009 |
7b133c92 |
435 | * Implement RT #46930 (accessor/reader/writer in has()) (gfx) |
3c429663 |
436 | |
9c6ff002 |
437 | * Work around anonymous classes as mortal classes (gfx) |
ad022aac |
438 | |
439 | * Implement with $role => -exlucdes => [...] (gfx) |
440 | |
441 | * Implement get_method() in M::Meta::Class and M::Meta::Role (gfx) |
442 | |
eb05b8be |
443 | * Make get_method_list() compatible with Moose's (gfx) |
5f6a73cb |
444 | |
eb05b8be |
445 | * Make unimport() not to remove non-Mouse functions (blessed and confess) (gfx) |
5f6a73cb |
446 | |
eb05b8be |
447 | * Remove a lot of duplication code (gfx) |
5f6a73cb |
448 | |
324d3602 |
449 | * Support is => 'bare', and you must pass and 'is' option to has() (gfx) |
9c85e9dc |
450 | |
15b4faa9 |
451 | 0.29 Thu Sep 17 11:49:49 2009 |
93ac97dd |
452 | |
15b4faa9 |
453 | * role class has ->meta in method_list, because it does in Moose since 0.9 |
93ac97dd |
454 | 0.28 Wed Sep 8 20:00:06 2009 |
e650ba5b |
455 | * Alter Makefile.PL so in author mode we generate lib/Mouse/Tiny.pm on |
456 | every run so that 'make dist' actually does what it's meant to (mst) |
2bcb073f |
457 | |
e0541d44 |
458 | * Only unlink Mouse::Tiny if it exists, otherwise autodie pitches |
459 | a fit (miyagawa) |
26b84079 |
460 | |
461 | * Make auto_deref also handles isa not only ArrayRef and HashRef, but also |
462 | ArrayRef[Foo::Bar] and HashRef[Foo::Bar] |
e0541d44 |
463 | |
9f917442 |
464 | 0.27 Thu Jul 2 15:17:37 2009 |
465 | * Doc updates (Sartak) |
466 | |
467 | * Include missing Mouse::Tiny |
fc352e2d |
468 | |
f81e2ecb |
469 | 0.26 Wed Jul 1 13:39:30 2009 |
9cc87fff |
470 | * Fix failing tests by requiring a newer Moose in that test (t0m) |
48bf3a6a |
471 | |
b79fc28f |
472 | 0.25 Fri Jun 19 12:05:42 2009 |
473 | * Fix SIGNATURE (reported by daxim) ... by removing it :) |
efeb6d0c |
474 | |
34a90485 |
475 | 0.24 Mon Jun 15 14:47:18 2009 |
476 | * Moose's construct_instance is deprecated, use new_object (tokuhirom) |
477 | |
478 | * Improve Mouse::Tiny generation (tokuhirom) |
479 | |
480 | * Inlining destructor fixes (tokuhirom) |
481 | |
482 | * Add Mouse->init_meta (tokuhirom) |
483 | |
484 | * Fix failing tests by requiring a newer Moose in that test (Sartak) |
eb6f4444 |
485 | |
b03fda9f |
486 | * Don't warn in tests about Squirrel deprecations (Sartak) |
487 | |
25db76ef |
488 | 0.23 Wed May 27 16:52:28 2009 |
dad3c1af |
489 | * Take the mro::linearized_isa DEMOLISHALL fix from Moose |
490 | (originally by doy) |
491 | |
492 | * Mouse::class_of to mirror Class::MOP::class_of |
d5b41c02 |
493 | |
6d86b341 |
494 | 0.22 Tue Apr 21 03:26:43 2009 |
495 | * Regenerate broken signature (Sartak) |
dad3c1af |
496 | reported by Michael Gray [rt.cpan.org #45167] |
6d86b341 |
497 | |
498 | * does_role now checks parent classes (tokuhirom) |
499 | |
500 | * Fix for $_ not being available type constraint messages (Sartak) |
124fa027 |
501 | |
240454c2 |
502 | 0.21 Sat Apr 11 13:52:11 2009 |
7a96b336 |
503 | * clone_instance has been made private, like in Moose (tokuhirom) |
6b646f93 |
504 | |
7a96b336 |
505 | * Fix method modifiers applying to the wrong class (gfuji) |
506 | reported by Heikki Lehvaslaiho in [rt.cpan.org #42992] |
d9b661d3 |
507 | |
7a96b336 |
508 | * Fix test failures when user does not have C::Method::Modifiers(::Fast) |
509 | installed (Joel Bernstein) |
510 | |
511 | * use get_all_attributes instead of |
512 | compute_all_applicable_attributes (tokuhirom) |
513 | |
514 | * fixed pod bug (tokuhirom) |
515 | reported by Ryan52 in [rt.cpan.org #44928] |
516 | |
517 | * Parameterized type constraints can now have messages (tokuhirom) |
6b646f93 |
518 | |
5893ee36 |
519 | * Added documentation about type constraints (Mark Stosberg) |
6b646f93 |
520 | |
521 | 0.20 Thu Apr 9 20:22:33 2009 |
2df74b3a |
522 | * Squirrel is now deprecated. Use Any::Moose instead (Sartak) |
523 | |
cf33c3d9 |
524 | * To improve Moose compat, the third argument to trigger |
525 | (the attribute metaobject) has been removed (Sartak) |
526 | |
527 | * To improve Moose compat, a single undef passed to new |
528 | is now disallowed (Sartak) |
c3398f5b |
529 | |
31a5ba2c |
530 | * Implemented Mouse::Object->does (wu-lee) |
531 | |
532 | * Implemented override and super functions for Mouse::Role. |
533 | (wu-lee) |
927982b4 |
534 | |
31a5ba2c |
535 | * Implemented stub augment and inner functions for Mouse::Role, |
536 | which merely throw an exception as in Moose::Role. (wu-lee) |
927982b4 |
537 | |
31a5ba2c |
538 | * Stole more tests from Moose (020_roles/*). Not all these pass |
539 | yet; the rest have been moved to 020_roles/failing for later |
540 | examination. (wu-lee) |
927982b4 |
541 | |
31a5ba2c |
542 | * Implemented Mouse::Role->does_role. This does not yet quite |
543 | seem to pass all the tests it should. (wu-lee) |
927982b4 |
544 | |
31a5ba2c |
545 | * Fixed bug in Mouse::Meta::Role->apply and ->combine_apply, so that |
546 | 030_roles/002_role.t tests pass. (wu-lee) |
927982b4 |
547 | |
31a5ba2c |
548 | * Implemented ->version, ->authority and ->identifier methods in |
549 | Mouse::Meta::Role and Mouse::Meta::Class (mainly to make more |
550 | Moose tests pass). (wu-lee) |
551 | |
bf1b613a |
552 | * Implemented emulations of Class::MOP's metaclass accessors |
553 | (get_metaclass_by_name etc.) in Mouse::Meta::Class. |
554 | |
31a5ba2c |
555 | * Mouse attribute property 'isa' now accepts Role names. (wu-lee) |
556 | |
557 | * Fixed bug: typecoercion application order was reversed. (wu-lee) |
558 | |
559 | * Fixed bug: inlined constructor was invoking BUILD methods in |
560 | wrong order. (wu-lee) |
65715de3 |
561 | |
562 | * Fixed bug: immutable constructor now redispatches correctly to |
563 | Mouse::Object::new when used in derived classes (wu-lee). |
c9aefe26 |
564 | |
927982b4 |
565 | * Maybe parameterized type constraint (lestrrat) |
566 | |
567 | * Performance improvements! (tokuhirom) |
568 | |
569 | * Improve Moose compat of class_type (lestrrat) |
570 | |
571 | * Many type-constraint fixes (tokuhirom and lestrrat) |
572 | |
573 | * Mouse::Meta::Class->has_method and ->get_attribute_list (tokuhirom) |
574 | |
575 | * Add get_all_attributes, use it internally instead of |
576 | compute_all_applicable_attributes (nothingmuch) |
577 | |
df9e57e8 |
578 | 0.19 Sun Mar 8 04:38:01 2009 |
f96bd2aa |
579 | * Parameterized type constraints for ArrayRef and HashRef (lestrrat) |
580 | |
581 | * Allow extensible attribute metaclass in traits too(tokuhirom) |
582 | |
583 | * Don't use method modifiers in a test since they may not be |
584 | available (Sartak) |
c4ec7642 |
585 | |
423b9699 |
586 | 0.18 Fri Mar 6 19:09:33 2009 |
587 | * Fix the issue preventing Mouse usage on Perl 5.6 - a bug in older |
588 | Scalar::Util! (tokuhirom) |
589 | |
590 | * Allow extensible attribute metaclass (tokuhirom) |
591 | |
592 | * Optimization for method modifiers (tokuhirom) |
593 | |
594 | * Implement Mouse->import({into_level => 1}) (tokuhirom) |
595 | |
596 | * Support for Class->meta->add_attribute($name => %options) (tokuhirom) |
597 | |
598 | * Throw a more useful error message when trying to use a parameterized |
599 | type (Sartak) |
c3a83939 |
600 | |
949738a8 |
601 | 0.17 Tue Feb 17 20:10:29 2009 |
388b8ebd |
602 | * Load mro directly if Perl is recent enough (Nicholas Clark) |
603 | |
df963a63 |
604 | * Add dump method from Moose::Object into Mouse::Object (perigrin) |
605 | |
949738a8 |
606 | * Add role-role composition (tokuhirom) |
607 | |
d8edb5a0 |
608 | 0.16 Mon Feb 9 20:56:27 2009 |
60cfc6ad |
609 | * Implement get_all_method_names |
67fb42e0 |
610 | |
01904723 |
611 | * Support for anonymous enums: enum [elements] |
612 | |
d8edb5a0 |
613 | * Moose's make_immutable returns true allowing calling code to skip |
614 | setting an explicit true value at the end of a source file. (obra) |
615 | |
4d33522c |
616 | 0.15 Thu Feb 5 11:44:05 2009 |
7daedfff |
617 | * Don't export Mouse's sugar into the package 'main' |
8aeec00e |
618 | |
3b46bd49 |
619 | * Rename Mouse::TypeRegistry to Mouse::Util::TypeConstraints |
620 | |
0d9fea22 |
621 | * "type" sugar for when you're not subtyping anything |
622 | |
7dbebb1b |
623 | * Keep track of the source package of each type |
624 | |
96dbfdb7 |
625 | * Moose lets you redefine a type within the same package, so we now do too |
626 | |
627 | * Borrow more of Moose's meta API |
a5fc1e9a |
628 | |
96dbfdb7 |
629 | * Mouse::Util::TypeConstraints now uses Exporter so you can select which |
630 | sugar you want |
631 | |
632 | * class_type shouldn't load the class (Moose compat; no easy fix :/) |
4859d490 |
633 | |
96dbfdb7 |
634 | * suppress warnings when we use "around" and "has '+...'" (dann) |
4859d490 |
635 | |
96dbfdb7 |
636 | * use Data::Util to make method modifiers fast if it's available (dann) |
47b5feb9 |
637 | |
a22b1fed |
638 | * Implement "enum" type constraints |
639 | |
640 | * Implement "override" and "super" |
641 | |
4786262b |
642 | * MouseX::Types is now in its own dist |
643 | |
1595b996 |
644 | 0.14 Sat Dec 20 16:53:05 2008 |
645 | * POD fix |
646 | |
647 | * Document what changes tokuhirom and Yappo made (see below) |
4216fc14 |
648 | |
25b08198 |
649 | 0.13 Tue Dec 16 02:01:40 2008 |
a9d1cb9d |
650 | * Pass in the instance to the default sub in the constructor (reported with |
651 | failing tests by rjbs) |
fccd2261 |
652 | |
1595b996 |
653 | * Tons of new features implemented by tokuhirom++ and Yappo++: |
654 | - method API in classes and roles! |
655 | - "requires" and "with" for Mouse::Role |
656 | - Type coercion |
657 | - Inject a constructor after make_immutable. Huge speedup! |
658 | - class_type and role_type |
659 | - Inject a destructor for more speedup |
660 | - MouseX::Types (may move into its own dist) |
661 | - create_anon_class |
662 | - union type constraints (eg 'Str | Undef') |
663 | - subtypes and sugar for them |
de51e718 |
664 | |
44231509 |
665 | 0.12 Thu Dec 4 19:23:10 2008 |
826828bf |
666 | * Provide Test::Exception function unless it's version 0.27 - RT #41254 |
667 | |
826828bf |
668 | * Mouse::Util now provides dies_ok |
669 | |
44231509 |
670 | * Make class-like types behave more like Moose; subclasses OK! (rjbs) |
671 | |
672 | * Steal more tests from Moose |
826828bf |
673 | |
e4b38f45 |
674 | 0.11 Sun Nov 2 11:35:04 2008 |
675 | * Throw an error if accessor/predicate/clearer/handles code eval fails |
676 | |
677 | * Optimizations for generated methods, they should now be on par with Moose |
6430d968 |
678 | |
2498d94c |
679 | 0.10 Tue Oct 28 19:23:07 2008 |
680 | * Require a recent Moose (which has the bugfix) for |
681 | t/500_moose_extends_mouse.t |
682 | |
683 | * ouse.pm for perl -Mouse one-liners (thanks rjbs) |
684 | |
685 | * Doc for init_arg => undef (thanks rjbs) |
7a024324 |
686 | |
274aea60 |
687 | 0.09 Sun Sep 28 22:37:13 2008 |
688 | * Initial version of Mouse::Tiny, a one-file concatenation of the Mouse |
689 | classes for easy embedding |
690 | |
691 | * Fixes caused by test failures (Carp not being loaded, Moose being |
692 | required in a test) |
693 | |
5dbc65ee |
694 | 0.08 Sun Sep 28 12:46:07 2008 |
695 | * ALL dependencies have been removed! |
696 | |
697 | * Fixes for Class::Method::Modifiers being required for testing |
eab013b2 |
698 | |
f38ce2d0 |
699 | 0.07 Sun Sep 28 00:19:07 2008 |
465af41f |
700 | * All runtime dependencies have been removed! The only change in |
701 | functionality (hopefully) is that the Sub::Exporter features can no |
702 | longer be used (we've backed down to regular Exporter). Scalar::Util is |
703 | required for "weaken" support, and Class::Method::Modifiers is required |
704 | for method modifier support, but only if you use these features! |
705 | Having Scalar::Util and MRO::Compat installed will provide only |
706 | performance increases. |
707 | |
708 | * Tests and fixes for extending a Mouse class with Moose (nothingmuch) |
709 | |
710 | * Support for adding method modifiers to a role, and composing them into |
711 | classes (we'll get true methods some day) |
712 | |
713 | * Method modifiers now go through the metaclass instead of invoking |
714 | Class::Method::Modifiers directly |
715 | |
716 | * Remove the deprecated before/after/around triggers |
717 | |
718 | * Roles keywords 'requires' and 'excludes' now throw errors instead of |
719 | silently doing nothing (they aren't implemented yet) |
5c557f4f |
720 | |
844fa049 |
721 | 0.06 Thu Jul 23 02:10:07 2008 |
722 | * Deprecating before/after/around triggers! Switch back to coderef + |
723 | whatever you used to do. Moose is have it implemented it as an extension |
724 | trait. |
725 | |
e2a1372d |
726 | * Mouse |
727 | - updated trigger doc (thanks perigrin) |
844fa049 |
728 | - which will not see CPAN :( sorry perigrin! |
ed00ef38 |
729 | |
60e2164a |
730 | * Mouse::Meta::Class |
731 | - add a make_immutable method which does nothing(!), for even more |
732 | Moose compat (nothingmuch's idea) |
733 | |
ed00ef38 |
734 | 0.05 Thu Jul 17 01:53:20 2008 |
6681e09c |
735 | * Mouse::Role |
736 | Mouse::Meta::Role |
737 | Mouse |
80be11ca |
738 | Squirrel::Role |
739 | - Begin adding roles! Attributes are mostly there. Still experimental. |
740 | |
741 | * Mouse::Meta::Class |
742 | Mouse::Object |
743 | - Add clone_object and clone_instance (nothingmuch) |
744 | |
745 | * Mouse::Object |
746 | - Add BUILDARGS (nothingmuch) |
747 | |
748 | * Mouse::Meta::Attribute |
749 | Mouse::Object |
750 | - Add "before" and "around" triggers. Moose doesn't even have them yet! :) |
6681e09c |
751 | |
c5cbafa4 |
752 | * Everywhere |
753 | - Improvements to the MOP (e.g. Class->add_method) |
754 | |
a7f212f1 |
755 | * (build) |
756 | - Excise dependency on Test::Warn, we only used it in one simple test |
757 | |
a3525e9f |
758 | 0.04 Tue Jun 17 04:56:36 2008 |
1bfebf5f |
759 | * Mouse |
760 | Mouse::Meta::Attribute |
761 | - Add support for has '+name' |
80be11ca |
762 | - Add lazy_build (nothingmuch) |
66efb1c8 |
763 | |
74be9978 |
764 | 0.03 Thu Jun 12 21:54:07 2008 |
1bfebf5f |
765 | * Mouse |
766 | - Add before/after/around, courtesy of Class::Method::Modifiers |
b7a74822 |
767 | |
1bfebf5f |
768 | * Mouse::Object |
769 | - Add support for ->new({...}) |
770 | - Use compute_all_applicable_attributes in the constructor to get the |
771 | attributes of superclasses |
772 | - Add better support for undef init_arg |
ad67865f |
773 | |
1bfebf5f |
774 | * Mouse::Meta::Class |
775 | - More methods: compute_all_applicable_attributes, has_attribute |
66eea168 |
776 | |
777 | 0.02 Wed Jun 11 01:56:44 2008 |
1bfebf5f |
778 | * Squirrel |
779 | - Add Squirrel which acts as Moose if it's already loaded, otherwise |
780 | Mouse (thanks nothingmuch) |
66eea168 |
781 | |
1bfebf5f |
782 | * Mouse::Meta::Object |
783 | - Fix the order in which BUILD methods are called (thanks Robert |
784 | Boone) |
66eea168 |
785 | |
786 | 0.01 Tue Jun 10 02:13:21 2008 |
1bfebf5f |
787 | * Initial release. |
c3398f5b |
788 | |