Batman.js 0.16.0 Released!

152 views
Skip to first unread message

Robert Mosolgo

unread,
May 10, 2014, 7:21:47 PM5/10/14
to batm...@googlegroups.com
Hello, 

I'm happy to say that batman.js v0.16.0 has just been released! This includes:
As for upgrading, here is a list of known breaking changes (please reply to this thread if you find more!): 
  • Association option `saveInline` defaults to `false` -- Check your associations and make sure you're passing `saveInline`!
  • Batman.helpers.capitalize has been marked as deprecated and moved to Batman.helpers.titleize (to match Rails)
  • Getting a belongsTo association always returns a belongsToProxy, even if the association was loaded. Always use `child.get('parent.target')` to check for presence.
  • hasMany associations don't coerce strings like `"15"` into integers when loading from JSON
Again, if you run into any trouble while upgrading, please share it here! 

What next? The Shopify team has done an amazing job with batman.js, but in the end, it didn't fit their needs and they're moving away from it. So, if you enjoy using batman.js, this is a great time to get involved. There are plenty of ways to do that:
  • Ask questions and report issues. If you're wondering about something, you're probably not the only one! Github, #batmanjs on freenode, or this mailing list are great places for starting a conversation.
  • Upstream any improvements you've made locally. Several people have made really useful contributions that way. If it works for you, it might work for the rest of us! 
  • Share knowledge that you've gained. If you figured something out, why not share it? If you don't have a blog (or another outlet), please consider adding to the Batman.js MVC Cookbook!
Thanks, and happy hacking!

robert

Zachary Dixon

unread,
May 11, 2014, 1:12:35 AM5/11/14
to batm...@googlegroups.com
Awesome, thanks for the update Robert. Some great changes here. I'm really sad to hear Shopify is leaving Batman, as we just launched our app with it lol. Hopefully you and the rest of the community will keep contributing for a while. I'm learning more and more about it every day and hope to start diving into the source and possibly contributing some myself.

I also wanted to thank you very much for all the help you've provided us so far, you saved us many headaches.

If you're interested in looking at the app we've been working on, head over to http://socialcentiv.com and feel free to sign up for a free account and take a look around (no credit card needed). Unfortunately we had a tight deadline so there's still some things to be done, but I'm extremely happy with it.
Reply all
Reply to author
Forward
0 new messages