Padrino

Padrino 0.9.26 - Hotfix Release

We recently released 0.9.25 which was a milestone release with many significant improvements. Unfortunately, we let a few serious bugs slip into the release as well, so a hotfix release is required.

Before going into the fixes, just want to also preface with the fact that we are taking steps to make sure future releases are better tesed. First, we used to have a CI server but the server was no longer available so we have setup a new Hudson CI server to guarantee that a release works on a variety of ruby versions and platforms. Second, we are going to do a better job of testing edge releases on our applications before released. It is important to us that each release is rock-solid before we push that out to rubygems.

A breakdown of the details of this hotfix release is in the details.

There are several fixes that went into this release to patch issues users were experiencing after an upgrade:

HTTPRouter

There were a couple issues with http_router that were causing installation and usage issues on certain platforms. This has been fixed here by using the upgraded version. Thanks Josh!

Mongoid Rake Tasks

We had accidentally forked the mongoid rake tasks that come as part of Padrino, with a ‘gsub gone wrong’. bernerdschaefer:“https://github.com/bernerdschaefer” quickly identified and corrected the issue here. Thanks!

Shared Sessions

We have made several session security improvements in the last release but also inadvertently broke shared sessions between applications in a project. This was quickly identified and fixed here.

Development Reloader

Patches to enhance the development reloading capabilities also inadvertently broke reloading in some cases. This was fixed here and should be working as usual.

Compliance with Rack::CommonLogger

Small update, we have made our logging functions compliant with rack commonlogger, by adding a ‘write’ method here which was identified by Alex Sharp. Thanks!

Cache Installation

On Windows, users were reporting that installing the cache gem didn’t work. This was an easy issue to resolve “here”: and now installation should work as expected.

Test Generation

We have improved test generation to allow the various sub-apps in a project to have isolated testing environments. If you have three apps app1, app2, and app3 in a project, you can now do:

# Run all tests
$ padrino rake test
# Run tests for app 1
$ padrino rake test:app1
# Run tests for app 2
$ padrino rake test:app2

When tests are generated for an application, they are now separated into application-specific folders such as:

test/app1 test/app2 test/app3

Allowing more granular and isolated testing of each application.

Be sure to upgrade from 0.9.25 to 0.9.26 as soon as possible. If you are experiencing issues please let us know on the issue tracker.

Contribute

Please report any issues you encounter with this release! We are working very actively on Padrino and want to make the framework as stable and reliable as possible. That concludes the changelog for this release. As always if you want to keep up with Padrino updates, be sure to follow us on twitter: @padrinorb, join us on IRC at “#padrino” on freenode, open an issue, or discuss on gitter.


comments powered by Disqus