Its been almost a month in progress, but the next branch has finally
been brought into master. (yay!)
Theres a blog post here:
http://www.quirkey.com/blog/2009/09/30/sammy-0-3-0-released-i-gotta-right-to-swing/
Regarding this list and the community there are two big announcements:
1 - Plugins
I've started an official plugin repository. If you have an awesome
piece of code or a template engine, now theres a way to create a
plugin, so that any Sammy user can easily include it in their app. I'd
love contributions from the community or any suggestions for cool
plugins.
2 - Resources/Links page
I've added a "Resources" page to the github pages:
http://code.quirkey.com/sammy/resources.html
If theres a link/blog post/project that I didn't put up, or something
you create that you think should be up there - let me know!
Thanks to everyone who helped with this release!
Heres a full CHANGELOG (pretty big):
== 0.3.0 [09/28/09]
New:
- Sammy.Application#use() takes an app function and applies it to
the current app. This is the entry point for Sammy Plugins. See docs
at: http://code.quirkey.com/sammy/docs/plugins.html
- New system for repository structure, minified files are placed in
lib/min/ version numbers are appended to minified files
- Sammy.EventContext#partial() is template engine agnostic and calls
the template engine method based on the extension of the file you're
trying to render.
- New official Sammy.Cache plugin provides simple client side caching
- Sammy.EventContext#redirect() can take any number of arguments
that are all joined by '/'
- Sammy.Application#refresh() will re-run the current route
Changes:
- Removed John Resig's Class() inheritance code/style in favor of
doing prototypical inheritance and using $.extend()
- Sammy.Application bind() and trigger() now use jQuery's built in
namespacing. This means that a Sammy application can now catch events
like clicks and other events that bubble up or are triggered on the
Sammy.Application#element()
- Sammy.log and Sammy.addLogger are top level access to logging and
adding additional logging paths. Sammy.Application#bindToAllEvents()
replaces the functionality for the former addLogger() method
- the app functions and route callbacks both take _this_ as the first argument
- $.srender and template() are no longer part of the sammy.js and
are instead included in the Sammy.Template plugin
lib/plugins/sammy.template.js
- Routes are saved and looked up in order of definition instead of
shortest first (May break existing applications that use RegExp based
routing)
- Made the parse query more uniform with the rest of the code base
- Sammy.Object#toString() wont include functions unless you
explicitly want them
Fixes:
- Fixed redirect() handling in post routes
- Fixed param parsing for form submission where there were multiple
params with the same name
--AQ
Aaron Quint
http://www.quirkey.com
Thanks, I'm super-excited about this! More comments/questions inline.
On Wed, Sep 30, 2009 at 11:18 AM, Aaron Quint <aa...@quirkey.com> wrote:
>
> Hey All
>
> Its been almost a month in progress, but the next branch has finally
> been brought into master. (yay!)
>
> Theres a blog post here:
>in July