DragonFly v0.7.0 Release Notes
Release Date: 2010-08-25 // over 13 years ago-
๐ Features
- Ability to chain processing, encoding
- โ Added Generators for arbitrary content generation
- 'fetch_file' method for easily getting local files
- ๐ ActiveModel support
- ๐ Mongoid support
- ๐ Better Sinatra, etc. support (using 'to_response')
- Data stores now store meta, name and format information too
- โ Added Mongo Data Store
- temp_objects maintain name, meta, etc. across processing, encoding, etc.
- โ added portrait? and landscape? to RMagick analyser
- Ability to add single custom processor/encoder/analyser/generator
- โ added flip and flop to RMagick processor
- ๐ง ability to configure whether it trusts the file extension
- nice text response for root path
- ๐ง ability to configure url host
- ability to override path_prefix/host when calling url
- routed endpoints
- simple endpoints
- more intelligent working out of Content-Type to send back
๐ Fixes
- proper use of ETags
- โ remove whitespace from file/s3 datastore uids
- ๐ dragonfly/rails/images url-encodes rack-cache config for windows users
- ๐ Ruby 1.9.2 support
- ๐ Better RMagick memory management using image.destroy!
๐ Changes
- Dragonfly::App[:images] -> Dragonfly[:images]
- ๐ Moved text/plasma generation into Generator
- ๐ท Use of lazy 'Job' objects
- simplified shortcuts interface
- ๐ changed interface for attaching to ActiveRecord
- ๐ง simplified saved configurations and allow referring to them as symbols
- โ Removed need for Base class for datastores, processors, analysers and encoders
- ๐ FileCommandAnalyser included in Rails config, not RMagick
- ๐ better use of logging module for sharing logs between classes
- mounting the app is down the middleware/elsewhere, not the app itself
- 0๏ธโฃ DOS protection off by default
- encoded urls
- ๐ง got rid of unnecessary configurable sha_length