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.
1.0.0 - 2023-03-07
- Support for RBS 3.
- The
visit_alias_declaration
method has been renamed tovisit_type_alias
to better reflect RBS 3. - The
visit_alias_member
method has been renamed tovisit_alias
to better reflect RBS 3.
0.5.1 - 2022-09-03
- Ruby 2.7.0 is now supported, not just 2.7.3 and above. This allows usage on Ubuntu 20.04 by default.
0.5.0 - 2022-07-07
- A new
SyntaxTree::RBS::Visitor
class that can be used to walk the tree. AllRBS
nodes now respond toaccept(visitor)
which will delegate to the appropriate methods.
- Ensure optional proc types have parentheses around them.
0.4.0 - 2022-05-13
- Add an optional
maxwidth
second argument toSyntaxTree::RBS.format
.
0.3.0 - 2022-05-13
- Use the
prettier_print
gem for formatting instead ofprettyprint
.
0.2.0 - 2022-04-22
- Support for RBS 1.0 in addition to RBS 2.0.
- Adding support back for Ruby 2.7.
- Support for inline visibility modifiers in RBS 2.0.
0.1.0 - 2022-04-05
- 🎉 Initial release! 🎉