diff --git a/elm-bridge.cabal b/elm-bridge.cabal
--- a/elm-bridge.cabal
+++ b/elm-bridge.cabal
@@ -1,5 +1,5 @@
 name:                elm-bridge
-version:             0.2.1.0
+version:             0.2.1.1
 synopsis:            Derive Elm types from Haskell types
 description:         Building the bridge from Haskell to Elm and back. Define types once,
                      use on both sides and enjoy easy (de)serialisation. Cheers!
@@ -31,9 +31,7 @@
   other-modules:       Elm.Utils
   build-depends:       base >= 4.7 && < 5,
                        template-haskell,
--- There is a known bug in aeson 0.10.0.0 that is triggered by the derivation
--- function in some cases: https://github.com/bos/aeson/issues/293
-                       aeson  == 0.9.*
+                       aeson  >= 0.9
   default-language:    Haskell2010
 
 test-suite end-to-end-tests
diff --git a/src/Elm/Derive.hs b/src/Elm/Derive.hs
--- a/src/Elm/Derive.hs
+++ b/src/Elm/Derive.hs
@@ -45,6 +45,9 @@
                            , A.constructorTagModifier  = id
                            , A.allNullaryToStringTag   = True
                            , A.omitNothingFields       = False
+#if MIN_VERSION_aeson(0,10,0)
+                           , A.unwrapUnaryRecords      = False
+#endif
                            }
 
 {-| This generates a default set of options. The parameter represents the
