Channels

Services

Ruby framework Sinatra 1.2 arrives

Version 1.2 of Sinatra, the Ruby based web framework, has been released, adding a number of new features. Sinatra is a domain-specific language (DSL) for writing web applications in Ruby.

According to the developers, the latest Sinatra release adds "wall to wall features", including support for slim rendering via the Slim Template Engine and a layout engine option that allows users to combine two different template engines. Additionally, Markaby can now be used inline. Other changes include support for conditional filters, a URL helper, named captures support and error handling improvements.

Documentation has also been updated and Sinatra now ships with a Gemfile for development dependencies. The developers note that all bug fixes have been backported to version 1.1, noting that "there is no hurry upgrading" for users already running 1.1.3 from 20 February.