DecodeReleases

Releases

v0.24.4

v0.24.0

Introduce support for RBS signature generation

Decode now supports generating RBS type signatures from Ruby source code, making it easier to add type annotations to existing Ruby projects. The RBS generator analyzes your Ruby code and documentation to produce type signatures that can be used with tools like Steep, TypeProf, and other RBS-compatible type checkers.

To generate RBS signatures for your Ruby code, use the provided bake task:

-- Generate RBS signatures for the current directory
$ bundle exec bake decode:rbs:generate .

-- Generate RBS signatures for a specific directory
$ bundle exec bake decode:rbs:generate lib/

The generator will output RBS declarations to stdout, which you can redirect to a file:

-- Save RBS signatures to a file
$ bundle exec bake decode:rbs:generate lib/ > sig/generated.rbs

The RBS generator produces type signatures for:

v0.23.5

v0.23.4