All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
3.0.3 (2022-02-18)
- make
XDR::Option
write empty strings as values (#15)
3.0.2 - 2020-10-20
- Relax lower bound for ActiveSupport dependency to support usage in Rails 4.2 (#12)
- Fix non-bang arm accessors for XDR::Union (#13)
- Fix .from_xdr encoding param to accept symbols (#14)
3.0.1 - 2020-06-10
- Add encoding parameter to Union#to_xdr (#7).
- Padding bytes are now properly validated when reading xdr values. According to the XDR spec, padding must be zeros.
1.0.0 - 2015-10-02
- the
to_xdr
helpers can take a second parameter that will encode the resulting output to hex or base64 when requested. - the
from_xdr
helpers can take a second parameter that will trigger a decode from hex or base64 of the provided string before decoding from xdr.
from_xdr
raises an ArgumentError when the input data is not fully consumed