Release 2011.12.28

Written by Yorick Peterse on

This release is a relatively small release containing only a few changes:

  • Ramaze has been updated to work with the newest version(s) of Rack as 1.4 introduced a few changes related to dealing with static files.
  • A few variables that were shadowed by other variables have been renamed.
  • A few small changes to the documentation.
  • The CSRF helper now uses request.ip/request.host instead of directly using request.env. The latter would cause issues when proxying requests to Ramaze (e.g. when running it on Heroku).

Innate has also been updated (new version is 2011.12) to work with Rack 1.4. Because of the changes in Rack Ramaze 2011.12.28 requires Innate 2011.12 or greater.

Posted in: Release

Release 2011.10.23

Written by Yorick Peterse on

Ramaze users,

Today marks the day of a new Ramaze release. It took a while for a new release to show up (the last one was in July) but don't worry, it was worth the wait. Below is a list of the most important changes and additions.

  • BlueForm's input_checkbox method now takes a hash or array as it's checked value (on top of a normal string based value). This makes it possible to select multiple checkboxes. See commit b82571a1b5c933f465c3af0d4965348298a57664 for more information.
  • Lars Olsson contributed an upload helper (Ramaze::Helper::Upload) that makes it easy to handle uploaded files.
  • ramaze/rest has been removed as it didn't even work properly.
  • Ramaze::Helper::Layout has been re-written so that multiple calls to set_layout() don't remove previous layouts. See 05cc35a477c838633b6c176803a6e413af749eff for more details on this change.
  • Ramaze.setup has been updated so that it works with the most recent version of Rubygems as well as with older versions. This should prevent any deprecation warnings from popping up.
  • Mustache templates can now use the .mustache extension.
  • The blog example has been re-written from scratch (examples/app/blog).
  • A cache driver for Redis has been added (Ramaze::Cache::Redis).
  • Ramaze now runs on all available Ruby distributions such as REE, Rubinius and 1.9.3.

Another massive change is that starting with this release Ramaze will no longer use Sphinx for it's user guide but instead now uses a fully YARD based documentation. More information on this change can be read in the following Email: https://groups.google.com/forum/#!topic/ramaze/W4WFof2ePMg

Posted in: Release

Release 2011.07.25

Written by Yorick Peterse on

The Ramaze team is proud to announce the release of Ramaze version 2011.07.25. This new release contains quite a few changes so it's best to read through them carefully.

  • Ramaze::Log::RotatingInformer can now be used as a Rack middleware.
  • Ramaze::Helper::Layout#set_layout has been modified in such a way that it's easier to specify method specific layouts, see commit 0d15a29c960e22761456180a6be7b88c3809eba8 or lib/ramaze/helper/layout.rb for more information.
  • All remaining ETag issues have been solved.
  • Ramaze::Cache::Sequel has been re-written, massive thanks to Lars Olsson for the contribution. See commit c5587c0d3feda8ca2c89399418ac1132d0236fcb or lib/ramaze/cache/sequel.rb for more information.
  • Ramaze::Cache::MemCache has been re-written and now uses Dalli. See commit 016b2d225d601a71479698e40886b15aaeaa32ec or lib/ramaze/cache/memcache.rb for more information.
  • Pathname errors have been resolved.
  • The layout of the prototype has been updated to reflect the new design of the website.
  • Ramaze::Helper::BlueForm#input_checkbox and Ramaze::Helper::BlueForm#input_radio now accept the options :show_label and :show_value which can be used to show/hide the values/labels of these methods.
  • The Email contribution has been moved to Ramaze::Helper::Email and had several cleanups.
  • The HTTP Digest helper has been removed in favor of Rack::Auth.
  • User objects are no longer stored in the session when using Ramaze::Helper::User, it may not always be possible to Marshal these objects.
  • Several changes have been made for those developing Ramaze itself.
  • A new shiny Ramaze executable, see commit cd9fa64138324a5af061daafbd8e7307726843ed or the files in lib/ramaze/bin/ for more information.
  • Ramaze::View::Less, Ramaze::View::RedCloth and Ramaze::View::Maruku have been removed. Less is no longer supported without Node.js, RedCloth could not be compiled on systems running relatively new versions of Gcc. On top of that both RedCloth and Maruku weren't used as view drivers.
  • Ramaze::Helper::BlueForm#input_checkbox and Ramaze::Helper::BlueForm#input_radio no longer generate a hidden field as this would generate Rack errors (they also weren't that useful).
  • General code cleanups and more documentation.

The user guide will be updated in the coming days to reflect these changes. If you have anything to add yourself feel free to submit a pull request and we'll take a look at it.

Happy hacking!

Yorick

Posted in: Release