Release Notes
- Major Improvements:
- Fully automatic updating! (see the Documentation: this is beta and off by default)
- Added support for DSA signatures (see the Documentation).
- Added support for MD5 sum verification.
- Added Security.framework-based authentication for installing to privileged directories.
- Huge refactoring of the codebase: there’s now a Sparkle Xcode project, Sparkle is now a framework, and everything is modular / abstracted. And no more code-generated interface.
- Minor Improvements:
- A SUUpdaterWillRestartNotification is sent out before restarting now.
- Added key equivalents to alert panel buttons.
- Error handling is much prettier now: technical messages are not presented to the user anymore.
- There’s now a test app for developers to see what Sparkle’s like before using it.
- Wrote new, pretty, extremely thorough documentation.
- Bug Fixes:
- Relaunch behavior is much improved and shouldn’t fail in huge apps anymore.
- Fixed a bug wherein a failing tar command could crash the host app.
- Sparkle now looks at InfoPlist.strings in addition to Info.plist.
- Fixed some stupid typos.
Video!
(h.264; 341 kb; requires Quicktime 7)
Automatic Updates
This is definitely my new favorite feature of Sparkle. Check the box, and updates will be automatically downloaded and installed. Whenever one’s installed, a cheerful dialog will pop up informing the user that the program’s been updated. It’ll offer to restart so he can play with the new stuff, but the user can use the app at his leisure if he wants.
This feature seems to work just fine, but I’m still too wary to have it even visible by default, so if you want to see it and play with it, you’ve got to enable the checkbox first by setting SUAllowsAutomaticUpdates to <true/> in Info.plist. Please try it and let me know if you encounter any problems!
SVN
I totally forgot to mention this before, but Sparkle has a SVN repository. You can get the latest versions of the codebase by typing:
svn co http://code.andymatuschak.org/sparkle/trunk Sparkle
Closing Notes
Allan Odgaard has been extremely helpful on this release with authentication and signatures. Thanks!
John Fox has been contributing some excellent localizations, which… I’m afraid I’ve totally messed up by switching to .nibs and getting rid of a lot of the error strings. Sorry, John!
Joe Osborn (who needs a web site) gave me a lot of help in the tremendous amount of code-pimping that went on for this release. Just check it out: there are tons of classes now, not just one, and code is (for the most part) nicely encapsulated.









Got Thoughts?
By all means share them, and start the conversation.
Leave a Comment
You can follow any responses to this entry via its RSS comments feed.