Data-Verifier

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

      * Add valid_values to Results class

0.30  March 30, 2010
      * Fix accidental warning about the wrong field.  We DO serialize original_value!

0.29  March 10, 2010
      * Add post_filter_value to Field and populate it with the value after
        applying filters.
      * Populate original_value with the value that was submitted, unchanged.
        This is a slightly invasive change but if the field was valid then it will
        re-filter back to the same value so it is considered safe to do.
      * Change type of original_value to ArrayRef|Str to handle multiple
        values of a param.

0.28  February 2, 2010
      * Document that type will allow a TypeConstraint instance and add a test
        so if we break it, we know.
      * Rename all the tests to not include a number, since the order is not
        relevant.

0.27  December 30th, 2009
      * Add flatten filter that removes all whitespace.

0.26
      * Convert to use native Moose traits
      * Pod fixes for RT#52592

0.25
      * Don't run filters on undefined values, lest your logs be spammed
        (thanks to the most awesomest person ever, jshirley.) (ed: ChangeLog
        entry written by jshirley)

0.24
      * Fix typo in unknown type constraint error message.

0.23
      * Use MooseX::Storage::Deferred so that user can choose serialization style.
        (thanks Stevan Little)

0.22
      * Throw an exception when an unknown filter is provided to the filter
        attribute.
      * Allow coderefs to be supplied in the list of filters.
      * Add JSON::Any dependency.
      * Clarify documentation of filters.

0.21
      * Fix type of Field's value attribute (Should've been an Any now that
        it is not serialized.

0.20
      * Improve Field POD
      * Add clear_value to Field and use it rather than value(undef) (which
        validates the type constraint and is just bad form.)
      * Add original_value attribute that holds the value that was submitted for
        the field.
      * Result's value is no longer serialized.

0.10
      * Change post_check's calling convention after reading some wisdom from
        nuffin: http://blog.woobling.org/2009/09/method-style-callbacks.html
      * Change internal API to use a field class rather than a bunch of hashes.

0.09
      * Document check order
      * Clean up post-check test a bit

0.08
      * Remove warning

0.07
      * Add coercion method and attribute for site-specific coercions (stevan and jshirley)

0.06
      * Add post_check key

0.05
      * Add dependent key for creating dependent fields
      * Result
      * Add merge method that adds the supplied result to this one
      * Add is_valid, valid_count and valids
      * Rejigger most is_* methods to return more appropriate values

0.04
      - Properly set coerced values

0.03
      - Set invalid values as undef in Results
      - Add MooseX::Storage to Results can be serialized
      - Add values attribute to Results
      - Only validate defined values against types
      - Enable coercion
      - Add max_length and min_length

0.02
      - Honor global filters

0.01
      - First version, released on an unsuspecting world.



( run in 0.538 second using v1.01-cache-2.11-cpan-39bf76dae61 )