Release Name: 0.10.0
Notes:
There are several deprecations and one backwards incompatible change in this
release. Turn on $VERBOSE mode (-w command line switch) to see warnings
regarding these deprecations.
See the NEWS file for more details.
== IMPORTANT
* The #to_s method for getting the binary string representation of a data
object has been renamed to #to_binary_s. If you use this method you must
manually change your code or you will get strange results.
Changes:
* Arbitrary byte sized integers are now supported (e.g. 24bit, 808bit).
* Renamed String :trim_value parameter to :trim_padding.
* BinData::Array now behaves more like Ruby's Array.
* Added debug_name
* Added ability to trace reading
* Primitives now behave as their value. Calling #value is no longer needed.
* Renamed #to_s -> #to_binary_s to avoid confusion with ruby's #to_s.
* Added #assign as the generic way to assign values to objects.
* Added :copy_on_change parameter to Choice.
* Implement #offset for all objects.
* Renamed Single -> BasePrimitive.
* Renamed SingleValue -> Primitive.
* Renamed MultiValue -> Record.
* The :onlyif parameter now only applies to fields inside Structs.
* LazyEvaluator can now supply arguments when invoking methods
|