diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,10 @@
 
 ## HEAD
 
+## 0.5.1
+
+- Fix bug (#59, #54) in DFS traversal order.
+
 ## 0.5.0
 
 - Split `scalpel` into two packages: `scalpel` and `scalpel-core`. The latter
diff --git a/scalpel.cabal b/scalpel.cabal
--- a/scalpel.cabal
+++ b/scalpel.cabal
@@ -1,5 +1,5 @@
 name:                scalpel
-version:             0.5.0
+version:             0.5.1
 synopsis:            A high level web scraping library for Haskell.
 description:
     Scalpel is a web scraping library inspired by libraries like Parsec and
@@ -24,7 +24,7 @@
 source-repository this
   type:     git
   location: https://github.com/fimad/scalpel.git
-  tag:      v0.5.0
+  tag:      v0.5.1
 
 library
   other-extensions:
@@ -38,7 +38,7 @@
   default-language: Haskell2010
   build-depends:
           base          >= 4.6 && < 5
-      ,   scalpel-core  == 0.5.0
+      ,   scalpel-core  == 0.5.1
       ,   bytestring
       ,   curl          >= 1.3.4
       ,   data-default
