Padrino

Padrino 0.10.2 - ActiveSupport 3.1, TravisCI Support, Routing and Misc Bug

Just about 1 month ago, we released 0.10.1 which had several important bug fixes after our major 0.10.0 release. Today we are releasing 0.10.2 which continues in this tradition and provides a bunch more fixes that were reported since the last release. We sincerely appreciate everyone opening issues and sending us pull requests on Github. Our framework wouldn’t be half as solid without your contributions.

This release of 0.10.2 marks the beginning of our usage of TravisCI, major route reloading fixes, and a slew of bug fixes for the mailer, renderer, helpers, generators and more. We have also upgraded and locked to ActiveSupport 3.1. If you are using 0.10.1 and having trouble with the reloader, please upgrade to 0.10.2! Details for this release are below.

Upgrade to ActiveSupport 3.1

ActiveSupport 3.1 has been officially released and we have upgraded Padrino accordingly! Padrino 0.10.2 and on will require the latest and greatest ActiveSupport. Upgrading should be painless because there are not many backwards incompatibilities.

TravisCI

This release marks the beginning of our use of Travis CI for Padrino. TravisCI is a great tool for the open source community and improves our continuous integration testing for all versions of Ruby. commit

Routing

This release is largely pushed out to fix a major route reloading bug recently introduced. Reloading has continuously been the most error-prone and hardest to test aspect of our system. This has become frustrating for us as well as for our users. However, thanks to Hollin Wilkins & Dave Willett @ TrueCar in San Francisco, this route issue has been resolved for now. Please let us know if you are still experiencing issues when on 0.10.2! Check out the commit which fixed the issue.

We also fixed an issue with routes that contain the word ‘index’. Check out the commit.

Components

  • Adds support for mysql2 when using sequel as adapter (Thanks rafaelss): commit
  • Fixes potential issue with libxml-ruby (Thanks farcaller): commit

Miscellaneous and Bug Fixes

  • Default content type for mailer has been corrected: commit
  • Rendering a hash i.e render :json => obj is now properly set as json: commit
  • Protect admin login from XSS attacks: commit
  • Escape certain html entities when writing html tags: commit
  • Fixes error block handling for ::Exception: commit
  • Fix model test_config require when not using default top level: commit
  • Outputs the partials that are rendered in development mode (Thanks minikomi): commit
  • Preserve the original options when resolving a template (Thanks Xylakant): commit
  • Moved from rdoc documentation to yard: commit
  • Fix issue with not respecting RACK_ENV in the CLI: commit
  • Fixes issue when rendering partials with a forward slash (Thanks philly-mac): commit, commit

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 “#padrinorb” on freenode or open an issue on GitHub.

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