diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,11 @@
 # Changelog
 
+## [0.2.0.0] - 2024-10-30
+
+### Added
+
+* Compatibility with `sydtest >= 0.18`
+
 ## [0.1.0.0] - 2024-08-04
 
 ### Changed
diff --git a/src/Test/Syd/MongoDB.hs b/src/Test/Syd/MongoDB.hs
--- a/src/Test/Syd/MongoDB.hs
+++ b/src/Test/Syd/MongoDB.hs
@@ -59,10 +59,11 @@
         ensureDir (parent ap)
         SB.writeFile (fromAbsFile ap) $ LB.toStrict $ runPut $ putDocument d,
       goldenTestCompare = \actual expected ->
-        pure $
-          if actual == expected
-            then Nothing
-            else Just (Context (stringsNotEqualButShouldHaveBeenEqual (ppShow actual) (ppShow expected)) (goldenContext fp))
+        if actual == expected
+          then pure Nothing
+          else do
+            assertion <- stringsNotEqualButShouldHaveBeenEqual (ppShow actual) (ppShow expected)
+            pure $ Just (Context assertion (goldenContext fp))
     }
 
 -- | Test that the given 'Bson.Document' is the same as what we find in the given golden file.
diff --git a/sydtest-mongo.cabal b/sydtest-mongo.cabal
--- a/sydtest-mongo.cabal
+++ b/sydtest-mongo.cabal
@@ -5,7 +5,7 @@
 -- see: https://github.com/sol/hpack
 
 name:           sydtest-mongo
-version:        0.1.0.0
+version:        0.2.0.0
 synopsis:       An mongoDB companion library for sydtest
 category:       Testing
 homepage:       https://github.com/NorfairKing/sydtest#readme
