From 889440f6597caf14da824d162dc4dc3b66abc342 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sat, 27 Jun 2009 19:27:42 -0700 Subject: [PATCH] Updates to the CHANGELOG. --- CHANGELOG.markdown | 42 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.markdown b/CHANGELOG.markdown index 0084ef45..e283f8d6 100644 --- a/CHANGELOG.markdown +++ b/CHANGELOG.markdown @@ -70,13 +70,13 @@ COMPASS CHANGELOG ### Compass Core -* A basic sprite mixin is now available. Import compass/utilities/sprites.sass and use the +sprite-img +* **Sprites**. A basic sprite mixin is now available. Import compass/utilities/sprites.sass and use the +sprite-img mixin to set the background image from a sprite image file. Assumes every sprite in the sprite image file has the same dimensions. [Commit](http://github.com/chriseppstein/compass/commit/1f21d6309140c009188d350ed911eed5d34bf02e) by [Thomas Reynolds][tdreyno]. -* The compass reset is now based on [Eric Meyer's reset](http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/). +* **Reset**. The compass reset is now based on [Eric Meyer's reset](http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/). which makes no attempt to apply base styles like the blueprint reset does. Existing compass projects will want to change their reset import to point to blueprint/reset.sass -- which is where the old default reset for compass projects now lives -- see the blueprint notes above for more information. @@ -87,6 +87,44 @@ COMPASS CHANGELOG [Commit](http://github.com/chriseppstein/compass/commit/be5c0ff6731ec5e0cdac73bc47f5603c3db899b5) by [Bjørn Arild Mæland][Chrononaut]. +### Configuration + +* **Asset Hosts**. You can now configure the asset host(s) used for images via the image_url() function. + In your compass configuration file, you must define an asset_host algorithm to be used like so: +

+	# Return the same host for all images:
+	asset_host {|path| "http://assets.example.com" }
+	# Return a different host based on the image path.
+	asset_host do |path|
+	  "http://assets%d.example.com" % (path.hash % 4)
+	end
+  
+ Asset hosts are off unless configured and also off when relative urls are enabled. + +* **Configurable Cache Buster**. You can now configure the cache buster that gets placed at the end of + images via the image_url function. This might be useful if you need to coordinate the query string + or use something other than a timestamp. Example: +

+	asset_cache_buster do |path, file|
+	  "busted=true"
+	end
+  
+ +* You can now set/override arbitrary sass options by setting the sass_options configuration property + to a hash. + +* You can now specify additional import paths to look for sass code outside the project. This can be done + in two ways: + 1. By setting additional_import_paths to an array of paths. + 2. By (repeatedly) calling add_import_path(path) + + +### Command Line + +* **Watch Improvements** The watch command was rewritten for robustness and reliability. The most + important change is that css files will be deleted if the originating sass file is removed while + watching the project. + ### Compass Internals * Some internal code was reorganized to make managing sass extensions and functions more manageble.