diff --git a/ChangeLog b/ChangeLog
index d40933cb6a3b0bcccac45f58ac5cb7daaf805b85..db3ed0e2c56973874097fe6be5e5979247335353 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2013-04-25  Niels Möller  <nisse@lysator.liu.se>
 
+	* configure.ac: Changed version number, to 2.8.
+	(LIBNETTLE_MAJOR): Bumped major number, following
+	nettle_memxor ABI break.
+	(LIBNETTLE_MINOR): Reset to zero.
+
 	* examples/hogweed-benchmark.c: Add benchmarking of OpenSSL's RSA
 	functions.
 	(all functions): Deleted unneeded casts.
diff --git a/configure.ac b/configure.ac
index 7509ee622a17a0c5dc15e3e5af1003d3d5d011eb..a4109276ac93fd8fb67b961dde83fd90b6379009 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@ dnl -*- mode: shell-script; sh-indentation: 2; -*-
 
 dnl Process this file with autoconf to produce a configure script.
 
-AC_INIT([nettle], [2.7], [nettle-bugs@lists.lysator.liu.se])
+AC_INIT([nettle], [2.8], [nettle-bugs@lists.lysator.liu.se])
 AC_PREREQ(2.61)
 AC_CONFIG_SRCDIR([arcfour.c])
 # Needed to stop autoconf from looking for files in parent directories.
@@ -10,8 +10,8 @@ AC_CONFIG_AUX_DIR([.])
 
 AC_CONFIG_HEADER([config.h])
 
-LIBNETTLE_MAJOR=4
-LIBNETTLE_MINOR=6
+LIBNETTLE_MAJOR=5
+LIBNETTLE_MINOR=0
 
 LIBHOGWEED_MAJOR=2
 LIBHOGWEED_MINOR=4