LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File perl-Moose.changes of Package perl-Moose (Project openSUSE:12.1)

-------------------------------------------------------------------
Tue Jul  5 11:39:45 UTC 2011 - coolo@novell.com

- update to 2.0010, see Changes:
  * Fix regression in 2.0009 and 2.0103 when applying roles during init_meta in
    an exporter that also re-exports Moose or Moose::Role. (t0m, ilmari)
  * duck_type type constraints now report reasonable errors when given
    something which isn't an instance of an object. (t0m)
  * Moose::Util::apply_all_roles now works even if the applicant is a non-Moose
    class. (perigrin)
  * When an object is reblessed, triggers are called on attributes that are
    set during the reblessing. (Karen Etheridge).
  * Better error message if Moose->init_meta is called with a 'metaclass'
    option when that metaclass hasn't been loaded. (jasonmay)
  * The 'accessor' native delegation for hashrefs now allows setting the value
    to undef. (sugoik, doy)
  * Various generated methods have more useful context information. (doy)

-------------------------------------------------------------------
Wed Jun  8 15:20:10 UTC 2011 - lars@linux-schulserver.de

- skip one subtest in apply_role.t that breaks build on some dists 

-------------------------------------------------------------------
Sat Jun  4 18:59:33 UTC 2011 - lars@linux-schulserver.de

- update to 2.0007, see Changes:
  * Make sure weak attributes remain weak when cloning. (doy, rafl)
  * Only sort the alias keys when determining caching.
  * Sort the list of roles and the alias and excludes parameters when
    determining caching, since their order doesn't matter.
  * Applying multiple role objects (rather than role names) at once no longer
    skips every other role. (rjbs)
  * Caching of anon classes now works more sanely in the presence of role
    application parameters - alias and excludes options are taken into account,
    and caching is disabled entirely if other parameters exist. Asking for
    caching (instead of just not weakening) when parameters are given will
    begin warning in Moose 2.0200. (doy, autarch)
- try to fix build on distributions with old Test::More module
  ( perl-Moose-old_Test-More.patch ) and remove the tests that fail 
  as result

-------------------------------------------------------------------
Fri Apr 29 23:37:20 UTC 2011 - pascal.bleser@opensuse.org

- update to 2.0002:
  * provide definition context information for constructors and destructors, so
    that they will show up as something other than "generated method (unknown
    origin)". Also, add the package that accessors are defined in to their
    definition context.
  * use Devel::PartialDump in type constraint error messages, if it is
    installed
  * stop hiding warnings produced by throwing errors in DEMOLISH methods
  * the 'reset' native delegation for Counter attributes will now also respect
    builders (previously, it only respected defaults)

-------------------------------------------------------------------
Sat Apr 23 06:16:43 UTC 2011 - pascal.bleser@opensuse.org

- update to 2.0001:
  * Anonymous classes and roles now have a unified implementation in
    Class::MOP::Package. This means that anonymous packages are now also
    possible
  * No longer call XSLoader from multiple places, as this causes issues on
    older perls
  * Moose::Meta::Role->create now accepts the 'roles' parameter, as it was
    documented too
  * Depend on Eval::Closure 0.04, which fixes some issues in mod_perl
    environments

-------------------------------------------------------------------
Fri Apr 22 15:17:33 UTC 2011 - coolo@opensuse.org

- fix build and unsplit Class::MOP - too tough to handle

-------------------------------------------------------------------
Tue Apr 12 19:41:58 UTC 2011 - pascal.bleser@opensuse.org

- update to 2.0000: use original sources

-------------------------------------------------------------------
Thu Feb 24 15:33:05 UTC 2011 - pascal.bleser@opensuse.org

- update to 1.24:
  * reverse the order that Moose::Exporter 'also' exports are dispatched; when
    trying to re-export from a package that itself exported a modified set of
    Moose sugar, you'd get the original Moose sugar instead of the overrides

-------------------------------------------------------------------
Mon Feb 14 06:25:01 UTC 2011 - pascal.bleser@opensuse.org

- update to 1.23:
  * when reinitializing meta objects for classes and roles, we failed to
    preserve roles and role applications; this led to weird bugs: many MooseX
    modules end up reinitializing your class or role

- changes from 1.20:
  * the role attribute metaclass did not inherit from Class::MOP::Object,
    which could cause errors when trying to resolve metaclass compatibility
    issues
  * the lazy_build feature was accidentally removed all the docs; now it's
    listed in Moose.pm again

- changes from 1.18:
  * type constraint objects now have an assert_coerce method which will either
    return a valid value or throw an error
  * we now warn when an accessor for one attribute overwrites an accessor for
    another attribute; RT #57510
  * the native Array and Hash delegation methods now coerce individual new
    members if the _member type_ has a coercion; in other words, if the array
    reference is defined as an ArrayRef[DateTime], and you've defined a
    coercion from Int to DateTime, then pushing an integer via a delegation
    method will coerce the integer to a DateTime object; RT #62351
  * an attribute using native delegations did not always properly coerce and
    type check a lazily set default value
  * using a regexp to define delegations for a class which was not yet loaded
    did not actually work, but did not explicitly fail; however, it caused an
    error when the class was loaded later; RT#60596
  * attempting to delegate to a class or role which is not yet loaded will now
    throw an explicit error
  * attempting to set lazy_build in an inherited attribute was ignored;
    RT#62057

- changes from 1.17:
  * make native delegation inlining work with instance metaclasses where slot
    access is an do {} block, like Kioku; this fixes the use of native
    delegations together with Kioku

- changes from 1.15:
  * almost every native delegation method which changes the attribute value
    now has an explicitly documented return value; in general, this return
    value matches what Perl would return for the same operation
  * passing an odd number of args to ->new() now gives a more useful warning
    than Perl's builtin warning
  * allow disabling stack traces by setting an environment variable; see
    Moose::Error::Default for details -- this feature is considered
    experimental, and may change in a future release
  * the deprecation warning for using alias and excludes without a leading
    dash now tells you the role being applied and what it was being applied
    to
  * a number of native trait methods which expected strings as arguments did
    not allow the empty string; this included Array->join, String->match,
    String->replace, and String->substr; RT#61962
  * 'no Moose' no longer inadvertently removes imports it didn't create
    itself; RT #60013
  * roles now support passing an array reference of method names to method
    modifier sugar functions
  * native traits no longer use optimized inlining routines if the instance
    requests it (in particular, if inline_get_slot_value doesn't return
    something that can be assigned to)
  * we now ignore all Class::MOP and Moose classes when determining what
    package called a deprecated feature; this should make the deprecation
    warnings saner, and make it possible to turn them off more easily
  * the deprecated "default is" warning no longer happens if the attribute has
    any accessor method defined (accessor, reader, writer); also, this warning
    only happens when a method that was generated because of the "default is"
    gets called, rather than when the attribute is defined
  * the "default default" code for some native delegations no longer issues a
    deprecation warning when the attribute is required or has a builder
  * setting a "default default" caused a fatal error if you used the builder
    or lazy_build options for the attribute; RT#59613

-------------------------------------------------------------------
Wed Dec  1 13:33:45 UTC 2010 - coolo@novell.com

- switch to perl_requires macro

-------------------------------------------------------------------
Mon Nov 29 18:30:35 UTC 2010 - coolo@novell.com

- remove /var/adm/perl-modules

-------------------------------------------------------------------
Tue Oct 12 09:54:11 CEST 2010 - dmueller@suse.de

- update to 1.15:
  * Major changes to Native Traits, most of which make them act more like
    "normal" attributes. This should be mostly compatible with existing code,
    but see Moose::Manual::Delta for details.
  * A few native traits (String, Counter, Bool) provide default values of "is"
    and "default" when you created an attribute. Allowing them to provide
    these values is now deprecated. Supply the value yourself when creating
    the attribute.
  * New option 'trait_aliases' for Moose::Exporter, which will allow you to
    generate non-global aliases for your traits (and allow your users to
    rename the aliases, etc). (doy)
  * 'use Moose' and 'use Moose::Role' now accept a '-meta_name' option, to
    determine which name to install the 'meta' name under. Passing 'undef'
    to this option will suppress generation of the meta method entirely. (doy)
  * Moose now warns if it overwrites an existing method named "meta" in your
    class when you "use Moose". (doy)

-------------------------------------------------------------------
Mon Aug 30 05:28:36 UTC 2010 - pascal.bleser@opensuse.org

- update to 1.12:
  * BUG FIXES:
    + fix the MANIFEST. Fixes RT #60831

-------------------------------------------------------------------
Sat Aug 28 09:12:24 UTC 2010 - pascal.bleser@opensuse.org

- update to 1.11: http://cpansearch.perl.org/src/DROLSKY/Moose-1.11/Changes
  * API CHANGES:
    + an attribute in a subclass can now override the value of "is"
    + the deprecation warnings for alias and excludes have been turned back off for this release, to give other module authors a chance to tweak their code
  * BUG FIXES:
    + mro::get_linear_isa was being called as a function rather than a method, which caused problems with Perl 5.8.x.
    + union types always created a type constraint, even if their constituent constraints did not have any coercions. This bogus coercion always returned undef, which meant that a union which included Undef as a member always coerced bad values to undef. RT #58411
    + union types with coercions would always fall back to coercing the value to undef (unintentionally). Now if all the coercions for a union type fail, the value returned by the coercion is the original value that we attempted to coerce

-------------------------------------------------------------------
Sun Aug 22 21:47:26 UTC 2010 - pascal.bleser@opensuse.org

- update to 1.10: http://cpansearch.perl.org/src/DROLSKY/Moose-1.10/Changes
  * the long-deprecated alias and excludes options for role applications now issue a deprecation warning: use -alias and -excludes instead
  * inlined code no longer stringifies numeric attribute defaults
  * default => undef now works properly
  * enum type constraints now throw errors if their values are nonsensical
  * optimizations that should help speed up compilation time 

-------------------------------------------------------------------
Mon Jul 26 07:26:01 UTC 2010 - pascal.bleser@opensuse.org

- update to 1.09: http://cpansearch.perl.org/src/DROLSKY/Moose-1.09/Changes

-------------------------------------------------------------------
Wed Jun 16 11:31:08 UTC 2010 - pascal.bleser@opensuse.org

- update to 1.08:
  * refactored a small amount of Moose::Meta::Method::Constructor to allow it to be overridden more easily

-------------------------------------------------------------------
Sat Dec 26 21:30:29 UTC 2009 - lars@linux-schulserver.de

- update to 0.93

-------------------------------------------------------------------
Thu Oct 29 00:00:00 CET 2009 - Pascal Bleser <pascal.bleser@opensuse.org> 0.92

- update to 0.92