Merb-0.5.0 is out.
Posted by ezmobius Thu, 10 Jan 2008 08:45:00 GMT
We’ve just cut the 0.5.0 release of merb. This release has numerous improvements and features, such as:
- Improved Haml support including pre-compiling and fast inlining of haml partials.
- built in Sass support, just add a sass directory in public/stylesheets, it will automatically regenerate the CSS in dev mode as well if you change the .sass files.
- Refactor server.rb into config.rb and boot_loader.rb
- Got rid of MERB_ROOT and other ugly constants and replaced them with Merb.root and friends.
- Asset Bundling
- New param protection plugin
- Built in support for ruby-debug
- New releases of the merb_datamapper, merb_sequel, merb_activerecord and merb_helpers plugins.
- better support for namespaced routes
- More generators, including Part generators
- Removed FormControlMixin, use merb_helpers instead.
- Improved spec and test helpers.
This release cleans up the merb boot and configuration process and got rid of a bunch of constants and replaced them with the Merb object. See this pastie for the mapping from the old constants used to the new way of accessing the same info. If you are updating your 0.4.x merb app to 0.5 you will need to update your merb_init.rb, boot.rb and dependencies.rb to reflect the new style of accessing config values. Generate a fresh app and make your app match the changes in these 3 files.
This release has a lot of contributions from the growing merb community. Merb is still a young one though at 0.5 and we have some big(and little) plans for the next release. We will be splitting the framework into merb-core and merb-more. Merb-core will be all the HTTP tooling code as well as the dispatcher, router, controller, views and glue to hold them together. Everything else will be moved to merb-more or a plugin. There will still be a merb gem, but it will just install merb-core and merb-more as dependencies.
The whole idea of merb-core is to keep a very small tight core framework that deals with the infrastructure needed to write highly scalable, fast web services and back-ends. merb-core plus merb-more will be a more full featured framework. This way Merb can scale your apps from tiny to as large as you need instead of assuming you need the whole kitchen sink, allowing you to start with merb-core and cherry pick the features you need from merb-more.
So gem install merb should get you the 0.5.0 release now. If you want to follow or help with merb development the trac is here merb.devjavu.com/
This is the “Thanks Zed” release. Thanks for mongrel Zed, it has truly been a great dog. You will be missed.