diff --git a/BlogLiterately-diagrams.cabal b/BlogLiterately-diagrams.cabal
--- a/BlogLiterately-diagrams.cabal
+++ b/BlogLiterately-diagrams.cabal
@@ -1,5 +1,5 @@
 name:                BlogLiterately-diagrams
-version:             0.1.0.1
+version:             0.1.1
 synopsis:            Include images in blog posts with inline diagrams code
 description:         A plugin for @BlogLiterately@ (<http://hackage.haskell.org/package/BlogLiterately>) which turns inline diagrams
                      code into images.
@@ -56,6 +56,7 @@
 extra-source-files:  CHANGES
 author:              Brent Yorgey
 maintainer:          byorgey@cis.upenn.edu
+bug-reports:         http://hub.darcs.net/byorgey/BlogLiterately-diagrams/issues
 copyright:           Copyright 2012 Brent Yorgey
 category:            Web
 build-type:          Simple
@@ -63,7 +64,7 @@
 
 source-repository head
   type:     darcs
-  location: http://code.haskell.org/~byorgey/code/BlogLiterately-diagrams
+  location: http://hub.darcs.net/byorgey/BlogLiterately-diagrams
 
 library
   default-language:    Haskell2010
@@ -71,9 +72,10 @@
   build-depends:       base >= 4.3 && < 4.7,
                        containers,
                        filepath,
-                       diagrams-cairo >= 0.5 && < 0.6,
+                       directory,
+                       diagrams-cairo >= 0.6 && < 0.7,
                        diagrams-builder ==0.2.*,
-                       diagrams-lib ==0.5.*,
+                       diagrams-lib >= 0.6 && < 0.7,
                        BlogLiterately ==0.5.*,
                        pandoc ==1.9.*,
                        safe ==0.3.*
diff --git a/CHANGES b/CHANGES
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,8 @@
+* 0.1.1: 16 December 2012
+
+  - create output directory for diagrams if missing (#1)
+  - update to work with diagrams-cairo-0.6
+
 * 0.1.0.1: 27 August 2012
 
   - bump base upper bound to < 4.7
diff --git a/src/Text/BlogLiterately/Diagrams.hs b/src/Text/BlogLiterately/Diagrams.hs
--- a/src/Text/BlogLiterately/Diagrams.hs
+++ b/src/Text/BlogLiterately/Diagrams.hs
@@ -25,6 +25,7 @@
 import           Data.List        (isPrefixOf)
 import qualified Data.Map as M
 import           Safe             (readMay, headDef)
+import           System.Directory (createDirectoryIfMissing)
 import           System.FilePath
 import           System.IO        (stderr, hPutStrLn)
 
@@ -100,10 +101,11 @@
               -> Attr         -- ^ Code attributes
               -> IO (Either String FilePath)
 renderDiagram decls expr attr@(ident, cls, fields) = do
+    createDirectoryIfMissing True diaDir
     res <- buildDiagram
            Cairo
            (zeroV :: R2)
-           (CairoOptions "default.png" size PNG)
+           (CairoOptions "default.png" size PNG False)
            decls
            (expr ++ " {- " ++ show attr ++ " -}")
              -- the above hack is to make sure that changing
