Blame Changes

Packit Service 817997
0.27     2018-02-11
Packit Service 817997
Packit Service 817997
- Fixed a bug with inlining Moose types. If a type's parent needed environment
Packit Service 817997
  variables those would not get closed over. Reported by Mark Fowler. GH #22.
Packit Service 817997
Packit Service 817997
- Added a debug option to dump the source of the subroutine before it is
Packit Service 817997
  eval'd.
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.26     2017-11-28
Packit Service 817997
Packit Service 817997
- The exceptions.t test would fail if Sub::Util was not installed. Reported by
Packit Service 817997
  Paul Howarth. GH #19.
Packit Service 817997
Packit Service 817997
- Fix test failures on Windows. GH #20.
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.25     2017-11-23
Packit Service 817997
Packit Service 817997
- All exceptions now include a stack trace by default when treated as a
Packit Service 817997
  string. This makes finding where validation failed a lot easier. Fixes GH
Packit Service 817997
  #18.
Packit Service 817997
Packit Service 817997
- The name for a subroutine is now used in some exception messages, even if
Packit Service 817997
  Sub::Util cannot be installed.
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.24     2017-04-08
Packit Service 817997
Packit Service 817997
- The source_for() exported by Params::ValidationCompiler did not work at
Packit Service 817997
  all. Reported by Diab Jerius. GH #16.
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.23     2017-01-23
Packit Service 817997
Packit Service 817997
- Trying to create a validator for positional parameters where a required
Packit Service 817997
  param came after one with a default did not throw an exception.
Packit Service 817997
Packit Service 817997
- A positional params validator with a slurpy type which had coercions did not
Packit Service 817997
  return the coerced values. It returned the original values instead.
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.22     2016-12-31
Packit Service 817997
Packit Service 817997
- Explicitly load the B module. Previously the code relied on this already
Packit Service 817997
  being loaded by something else. Fixed by Tomasz Konojacki. PR #11.
Packit Service 817997
Packit Service 817997
- Removed the alpha warning from the docs.
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.21     2016-12-06
Packit Service 817997
Packit Service 817997
- Switched to using GitHub issues.
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.20     2016-12-05
Packit Service 817997
Packit Service 817997
- The keys for parameter specifications are now validated. If an unknown key
Packit Service 817997
  is seen then an exception will be thrown. This will help you catch typos in
Packit Service 817997
  your parameter specification. Implemented by Greg Oschwald. PR #8.
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.19     2016-11-21
Packit Service 817997
Packit Service 817997
- Non-inlinable Specio types caused a syntax error when used with positional
Packit Service 817997
  params.
Packit Service 817997
Packit Service 817997
- Positional params with coercions and defaults did not work properly. The
Packit Service 817997
  coerced value and the default would simply not be returned in any case.
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.18     2016-11-13
Packit Service 817997
Packit Service 817997
- Using coercions with positional parameters could cause a "Modification of a
Packit Service 817997
  read-only value attempted" exception when the generated code tried to assign
Packit Service 817997
  to elements of @_. This is now fixed by making a copy if any of the types
Packit Service 817997
  have a coercion.
Packit Service 817997
Packit Service 817997
- Using Moose types with coercions in a positional params check would cause
Packit Service 817997
  invalid code to be generated. This could also happen with Type::Tiny if
Packit Service 817997
  either the type or a coercion could not be inlined.
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.17     2016-11-04
Packit Service 817997
Packit Service 817997
- When using positional parameters, parameters with a default are now
Packit Service 817997
  optional. For named parameters, this was already the case.
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.16     2016-11-03
Packit Service 817997
Packit Service 817997
- Moose and Specio types (and coercions) which provide variables to close over
Packit Service 817997
  when being inlined did not always compile properly. Most notable, this was
Packit Service 817997
  not being handled at all for Moose types, and not completely handled for
Packit Service 817997
  Specio coercions.
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.15     2016-11-03
Packit Service 817997
Packit Service 817997
- Previously, using a default with a positional parameter would result in an
Packit Service 817997
  error when compiling the validator subroutine. Defaults now work with
Packit Service 817997
  positional parameters. Implemented by Greg Oschwald. Based on PR #5.
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.14     2016-11-02
Packit Service 817997
Packit Service 817997
- Added a "named_to_list" option to support returning only the parameter
Packit Service 817997
  values from a named parameter validator rather than the key-value
Packit Service 817997
  pairs. Implemented by Greg Oschwald. Based on PR #4.
Packit Service 817997
Packit Service 817997
- Errors from calls to validation_for() now use croak so as to show up at the
Packit Service 817997
  call site, rather than in the internals
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.13     2016-09-16
Packit Service 817997
Packit Service 817997
- Small fixes to make sure that you can pass both readonly and locked hashes
Packit Service 817997
  to both validation_for and the subroutine it creates for you. Locked hashes
Packit Service 817997
  work and readonly hashes sort of work on some Perls.
Packit Service 817997
Packit Service 817997
- Added a new parameter, "name_is_optional". When this is true, the "name"
Packit Service 817997
  parameter is simply ignored when Sub::Util is not available, rather than
Packit Service 817997
  causing an exception.
Packit Service 817997
Packit Service 817997
- Removed List::SomeUtils as a prereq.
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.12     2016-08-16
Packit Service 817997
Packit Service 817997
- Require Specio for tests instead of Type::Tiny. Type::Tiny does not work
Packit Service 817997
  with blead and the maintainer has not responded to bug reports for a while.
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.11     2016-08-14
Packit Service 817997
Packit Service 817997
- Use Sub::Util instead of Sub::Name as our optional sub-naming module, since
Packit Service 817997
  Sub::Util is part of core as of 5.22.
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.10     2016-08-10
Packit Service 817997
Packit Service 817997
- The parameters you pass when creating a validator are now validated.
Packit Service 817997
Packit Service 817997
- The $e->message returned when a Moose type fails now includes the parameter
Packit Service 817997
  name or position. Adding these for other type systems will come in a future
Packit Service 817997
  release.
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.09     2016-07-04
Packit Service 817997
Packit Service 817997
- Really make Sub::Name optional.
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.08     2016-07-03
Packit Service 817997
Packit Service 817997
- Renamed from Params-CheckCompiler to Params-ValidationCompiler.
Packit Service 817997
Packit Service 817997
- Made Sub::Name optional. If you try to set the name of a generation
Packit Service 817997
  validation sub without Sub::Name installed, you will get a fatal error.
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.07     2016-06-18
Packit Service 817997
Packit Service 817997
- Make the compiled sub for checking named params die if given a single object
Packit Service 817997
  as an argument, even if the object is implemented using a hashref. However,
Packit Service 817997
  if the object overloads hash dereferencing then the overloading is
Packit Service 817997
  used. Reported by Mark Fowler. GitHub #3.
Packit Service 817997
Packit Service 817997
- Renamed compile() to validation_for(). The latter is not a very specific
Packit Service 817997
  name. Requested by Mark Fowler. GitHub #1.
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.06     2016-06-18
Packit Service 817997
Packit Service 817997
- Require Type::Tiny for tests. Reported by Slave Rezic. RT #115413.
Packit Service 817997
Packit Service 817997
- Fix tests when Moose is installed but Devel::PartialDump is not. Reported by
Packit Service 817997
  Slave Rezic. RT #115413.
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.05     2016-06-18
Packit Service 817997
Packit Service 817997
- Removed all remaining uses of Moo.
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.04     2016-06-17
Packit Service 817997
Packit Service 817997
- Removed more modules from test prereqs that are only used in optional tests.
Packit Service 817997
Packit Service 817997
- Replace Throwable with Exception::Class.
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.03     2016-06-17
Packit Service 817997
Packit Service 817997
- Remove Moose from test prereqs. This is only used for an optional test.
Packit Service 817997
Packit Service 817997
- When generating the source for named params checking, sort the parameters so
Packit Service 817997
  that the order in which keys are checked is consistent.
Packit Service 817997
Packit Service 817997
- You can now pass a name parameter when creating a check subroutine. This
Packit Service 817997
  will be used to name the generated subroutine using Sub::Name.
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.02     2016-05-28
Packit Service 817997
Packit Service 817997
- Add support for positional parameters.
Packit Service 817997
Packit Service 817997
- Add support for type checking extra parameters.
Packit Service 817997
Packit Service 817997
- Renamed allow_extra to slurpy.
Packit Service 817997
Packit Service 817997
Packit Service 817997
0.01     2016-05-24
Packit Service 817997
Packit Service 817997
- First release upon an unsuspecting world.