# \[ANN\] rasn1 0.9.0 released

**URL:** <https://rubytalk.org/t/ann-rasn1-0-9-0-released/75721>\
**Category:** ruby-talk\
**Created:** [27 December 2021 12:40 UTC](https://rubytalk.org/t/ann-rasn1-0-9-0-released/75721 "2021-12-27T12:40:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sylvain\_Daubert](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@Sylvain\_Daubert](https://rubytalk.org/u/Sylvain_Daubert)\
**Post date:** [27 December 2021 12:40 UTC](https://rubytalk.org/t/ann-rasn1-0-9-0-released/75721/1 "2021-12-27T12:40:18Z")

</div>

rasn1 0.9.0 has been released.

\* home: \<[GitHub - sdaubert/rasn1: Ruby ASN.1 library](https://github.com/sdaubert/rasn1)\>  
\* bugs: \<[Issues · sdaubert/rasn1 · GitHub](https://github.com/sdaubert/rasn1/issues)\>  
\* doc: \<[Home · sdaubert/rasn1 Wiki · GitHub](https://github.com/sdaubert/rasn1/wiki)\>

RASN1 is a pure ruby ASN.1 library. RASN1 helps to create ASN.1 parsers  
and encoders.

Changes:

### 0.9.0 / 2021-12-27

\* API break: Types::Base#initialize needs `:value` option to set a value. Setting a value as first argument is no more supported.  
\* Types::Base#inspect: add information about ASN.1 class and about tagged value.  
\* Types::Base: change how type without set value is handled internaly. Add #void\_value to define 'value' when no value is set (to always have a well-defined type).  
\* Model: use a private class Elem instead of an array to define model's root.  
\* Model: simplify code.  
\* Types::Integer#enum is always a Hash.  
\* Fix Types::Utf8String#der\_to\_value by setting @value.  
\* Fix some minor issues due to type handling (Types::Base, Types::BitString, Types::GeneralizedTime, Types::ObjectIf, Types::Sequence and Types::SequenceOf)  
\* Types::Constructed#inspect: always show optional fields
