Padrino Weekly will be a weekly summary of the activities in the Padrino ecosystem. The intention is to give all interested users a quick and easy way to follow the efforts of the core developers as well as the community as whole. We’ll try and provide pointers to important events, interesting discussions as well as contributions in the last or upcoming week. We’ll also point to long term developments that might be of interest.
Padrino was featured in last weeks The Changelog, a podcast about new and exciting projects in Open Source. Arthur Chiu and Nathan Esquenazi had a 30 minute talk with Adam Stacoviak and Wynn Netherland. Topics were among other things a short rundown of the current core committers and how sinatra_more became Padrino. Arthur and Nathan also elaborate on Sinatra and how it relates to Padrino, being the core of the framework.
This week saw three releases, 0.9.11 was released on friday making further steps towards stabilizing the API on the path to 1.0. The releases was quickly followed by 0.9.12 and 0.9.13 on saturday to fix two annoying bugs in the original release. 0.9.11 as the feature release features a refactored mailer, upgrades to the core router and improvements to the development reloading. It also adds a tiny project generation and support for choosing a specific database adapter on project creation. For a detailed list of changes see the release announcement.
Padrino recipes are an ongoing long-term effort to simplify the usage of rack middleware in Padrino. It integrates a wealth of plugins ranging from payment over css to authentication via a number of authentication mechanisms. While not production ready yet we hope to roll the changes in one of the upcoming releases. We’ll keep you updated, in the meantime you’ll find further details here.
Following the release of 0.9.11 yesterday there were a few unresolved issues that were quickly discovered. In order to create the smoothest experience possible for Padrino users, we decided that these bugs warranted a new release ahead of schedule. So, today we have released 0.9.13 (and 0.9.12) with a few bug fixes and a deprecation of the mount_core method. Read on to get the full rundown.
This latest release is a quick bug fix patch release for a few outstanding issues in 0.9.11. First, there was an issue with the admin panel intermittently displaying in Czech rather than the english locale. This was due to a faulty key in the localization file for Czech in admin.
The second bug had to do with routing failures in which certain routes wouldn't behave as expected if the same path was defined twice with two different verbs (GET ‘/index’ and POST ‘/index’) as well as errors with the handling of provides and explicit formats. An updated http_router and changes to routing in Padrino has addressed these issues in 0.9.13.
Finally, we have deprecated the mounting syntax related to ‘core’ applications. Prior to 0.9.13, the following code was generated in a new project:
This is actually somewhat confusing and hides what the mounter is actually doing. In the latest release,
mount_core is deprecated and the following is used instead:
This is a minor change but important as this command is much more consistent and adheres to our philosophy of minimizing ‘magical’ behavior in our framework.
The quick version of these fixes is recapped below:
- Deprecated mount_core and remove references
- Fixed problem with czech translation file
- Fixed a problem with routes with same path but different verbs and provides
Please update your applications to 0.9.13 and continue enjoy using Padrino!