Sha256: 4dee4a41a36246dbbc0db619ec812b1a0e341b9c803d72747a51e3c7ad9e0287

Contents?: true

Size: 1015 Bytes

Versions: 77

Compression:

Stored size: 1015 Bytes

Contents

= New Features

* The convert_each! method in the typecast_params plugin now
  accepts a Proc or Method value for the :keys option. The proc
  or method is called with the current array or hash that
  typecast params is operating on, and should return an
  array of keys to use for the conversion.

* The convert_each! method in the typecast_params plugin will
  now automatically handle hashes with keys from '0'..'N',
  without a :keys option being provided.
  
  This makes it possible to handle parameter names such as
  foo[0][bar], foo[0][baz], foo[1][bar], and foo[1][baz], if you
  want to avoid the issues related to rack's issues when parsing
  array parameters.

= Other Improvements

* The Roda::RodaVersionNumber constant has been added for easier
  version comparisons.  It is 30080 for version 3.8.0.

= Backwards Compatibility

* When an unsupported type is given as value of the :keys option
  to the convert_each! method in the typecast_params plugin, a
  ProgrammerError exception is now raised.

Version data entries

77 entries across 77 versions & 1 rubygems

Version Path
roda-3.62.0 doc/release_notes/3.8.0.txt
roda-3.61.0 doc/release_notes/3.8.0.txt
roda-3.60.0 doc/release_notes/3.8.0.txt
roda-3.59.0 doc/release_notes/3.8.0.txt
roda-3.58.0 doc/release_notes/3.8.0.txt
roda-3.57.0 doc/release_notes/3.8.0.txt
roda-3.56.0 doc/release_notes/3.8.0.txt
roda-3.55.0 doc/release_notes/3.8.0.txt
roda-3.54.0 doc/release_notes/3.8.0.txt
roda-3.53.0 doc/release_notes/3.8.0.txt
roda-3.52.0 doc/release_notes/3.8.0.txt
roda-3.51.0 doc/release_notes/3.8.0.txt
roda-3.50.0 doc/release_notes/3.8.0.txt
roda-3.49.0 doc/release_notes/3.8.0.txt
roda-3.48.0 doc/release_notes/3.8.0.txt
roda-3.47.0 doc/release_notes/3.8.0.txt
roda-3.46.0 doc/release_notes/3.8.0.txt
roda-3.45.0 doc/release_notes/3.8.0.txt
roda-3.44.0 doc/release_notes/3.8.0.txt
roda-3.43.1 doc/release_notes/3.8.0.txt