diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,8 +5,14 @@
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
-## Unreleased
+## [0.10.3] - 2024-05-19
 
+### Fixed
+
+ - Updates in the Nix bindings, improving stability.
+
+## [0.10.2] - 2024-05-03
+
 ### Added
 
  - Add `nixSettings` configuration item, to more easily configure Nix settings such as `substituters`, overriding the system Nix settings.
@@ -770,6 +776,9 @@
 
 - Initial release
 
+[0.10.3]: https://github.com/hercules-ci/hercules-ci-agent/compare/hercules-ci-agent-0.10.2...hercules-ci-agent-0.10.3
+[0.10.2]: https://github.com/hercules-ci/hercules-ci-agent/compare/hercules-ci-agent-0.10.1...hercules-ci-agent-0.10.2
+[0.10.1]: https://github.com/hercules-ci/hercules-ci-agent/compare/hercules-ci-agent-0.9.12...hercules-ci-agent-0.10.1
 [0.9.12]: https://github.com/hercules-ci/hercules-ci-agent/compare/hercules-ci-agent-0.9.11...hercules-ci-agent-0.9.12
 [0.9.11]: https://github.com/hercules-ci/hercules-ci-agent/compare/hercules-ci-agent-0.9.10...hercules-ci-agent-0.9.11
 [0.9.10]: https://github.com/hercules-ci/hercules-ci-agent/compare/hercules-ci-agent-0.9.9...hercules-ci-agent-0.9.10
diff --git a/hercules-ci-agent-worker/Hercules/Agent/Worker/Build/Logger.hs b/hercules-ci-agent-worker/Hercules/Agent/Worker/Build/Logger.hs
--- a/hercules-ci-agent-worker/Hercules/Agent/Worker/Build/Logger.hs
+++ b/hercules-ci-agent-worker/Hercules/Agent/Worker/Build/Logger.hs
@@ -22,7 +22,6 @@
 import Hercules.API.Logs.LogEntry (LogEntry)
 import Hercules.API.Logs.LogEntry qualified as LogEntry
 import Hercules.Agent.Worker.Build.Logger.Context (Fields, HerculesLoggerEntry, context)
-import Hercules.CNix.Store.Context (unsafeMallocBS)
 import Language.C.Inline.Cpp qualified as C
 import Language.C.Inline.Cpp.Exception qualified as C
 import Protolude hiding (bracket, finally, mask_, onException, tryJust, wait, withAsync, yield)
@@ -241,7 +240,9 @@
       }|]
                 >>= \case
                   0 -> LogEntry.Int <$> peek uintPtr
-                  1 -> LogEntry.String . decode <$> unsafeMallocBS (peek stringPtr)
+                  1 ->
+                    LogEntry.String . decode
+                      <$> (unsafePackMallocCString =<< peek stringPtr)
                   _ -> panic "convertAndDeleteFields invalid internal type"
 
 decode :: ByteString -> Text
diff --git a/hercules-ci-agent-worker/Hercules/Agent/Worker/Error.hs b/hercules-ci-agent-worker/Hercules/Agent/Worker/Error.hs
--- a/hercules-ci-agent-worker/Hercules/Agent/Worker/Error.hs
+++ b/hercules-ci-agent-worker/Hercules/Agent/Worker/Error.hs
@@ -7,7 +7,8 @@
 import Data.ByteString.Unsafe (unsafePackMallocCString)
 import Foreign (alloca, peek)
 import Hercules.CNix.Encapsulation (HasEncapsulation (moveToForeignPtrWrapper))
-import Hercules.CNix.Store (StorePath (StorePath), traverseNonNull)
+import Hercules.CNix.Memory (traverseNonNull)
+import Hercules.CNix.Store (StorePath (StorePath))
 import Hercules.CNix.Store.Context qualified
 import Language.C.Inline.Cpp qualified as C
 import Language.C.Inline.Cpp.Exception qualified as C
diff --git a/hercules-ci-agent.cabal b/hercules-ci-agent.cabal
--- a/hercules-ci-agent.cabal
+++ b/hercules-ci-agent.cabal
@@ -1,7 +1,7 @@
 cabal-version: 2.4
 
 name:           hercules-ci-agent
-version:        0.10.2
+version:        0.10.3
 synopsis:       Runs Continuous Integration tasks on your machines
 category:       Nix, CI, Testing, DevOps
 homepage:       https://docs.hercules-ci.com
