Mouse 0.35 released
Mouse 0.35をリリースしました。
時間がないので詳細はあとで書きます。書きました。
Mooseとの互換性が高まった一方,いくつかのAPIがMooseよりに変更されたため,いくつかのモジュールでは修正が必要になってしまいました。
何か問題がありましたら連絡してくだされば出来る限り対応します。
I have released Mouse 0.35, which has many internal changes. Please tell me if there are any problems.
Changes and improvement:
- The Meta Object Protocols are (and will be) more compatible with these of Moose.
- In Mouse::Meta::Attribute,
create()
andcanonicalize_args()
have been deprecated, but_process_options()
,install_accessors()
are provided as the same way to Moose. - There are extention modules which have things to fix up, including MousX::AttributeHelpers and MouseX::Getopt*1.
- Imcompatible APIs will be deprecated and removed in a future.
- 'traits' attribute is supported in has()
- Role confliction is supported, although there are things to be done.
- Multi-coercion (
coerce as ... from ... as ... from
) works correctly.
TODO:
- Type constraints should be improved.
- Reuseful exporters are needed for extentions.
- Some codes might be worthwhile to port to Moose.
Never supported:
- Mouse::Meta::Instance will not be supported.
- Metaclasses will have no attributes.
Added at 9/27:
- has_method() looks at methods defined in its package, or added by add_method(). Please use add_method(), esp. to roles.
*1:see t/044_attribute-metaclass.t for details