bump version to 2.13
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5027428..7b960ea 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,14 +5,14 @@
 
 # Based on configure.ac
 
-project(gperftools VERSION 2.12 LANGUAGES C CXX
+project(gperftools VERSION 2.13 LANGUAGES C CXX
         DESCRIPTION "Performance tools for C++"
         HOMEPAGE_URL https://github.com/gperftools/gperftools)
 
 # Update this value for every release!
-set(TCMALLOC_SO_VERSION 9.13.5)
-set(PROFILER_SO_VERSION 5.8.5)
-set(TCMALLOC_AND_PROFILER_SO_VERSION 10.8.6)
+set(TCMALLOC_SO_VERSION 9.14.5)
+set(PROFILER_SO_VERSION 5.9.5)
+set(TCMALLOC_AND_PROFILER_SO_VERSION 10.9.6)
 
 # The user can choose not to compile in the heap-profiler, the
 # heap-checker, or the cpu-profiler.  There's also the possibility
diff --git a/NEWS b/NEWS
index 3c56db4..cea8b3c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,21 @@
+== 11 Sep 2023
+gperftools 2.13 is out!
+
+This release includes a few minor fixes:
+
+* Ivan Dlugos has fixed some issues with cmake and config.h defines.
+
+* 32-bit builds no longer require 64-bit atomics (which we wrongly
+  introduced in 2.11 and which broke builds on some 32-bit
+  architectures).
+
+* generic_fp backtracing method now uses robust address probing
+  method. The previous approach had occasional false positives, which
+  caused occasional rare crashes.
+
+* In some cases, MSVC generated TrivialOnce machine code that
+  deadlocked programs on startup. The issue is now fixed.
+
 == 24 Aug 2023
 gperftools 2.12 is out!
 
diff --git a/configure.ac b/configure.ac
index b2f218a..1dfb882 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,12 +4,12 @@
 # make sure we're interpreted by some minimal autoconf
 AC_PREREQ([2.69])
 
-AC_INIT([gperftools],[2.12],[gperftools@googlegroups.com])
+AC_INIT([gperftools],[2.13],[gperftools@googlegroups.com])
 # Update this value for every release!  (A:B:C will map to foo.so.(A-C).C.B)
 # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
-TCMALLOC_SO_VERSION=9:13:5
-PROFILER_SO_VERSION=5:8:5
-TCMALLOC_AND_PROFILER_SO_VERSION=10:8:6
+TCMALLOC_SO_VERSION=9:14:5
+PROFILER_SO_VERSION=5:9:5
+TCMALLOC_AND_PROFILER_SO_VERSION=10:9:6
 
 AC_SUBST(TCMALLOC_SO_VERSION)
 AC_SUBST(PROFILER_SO_VERSION)
diff --git a/src/windows/config.h b/src/windows/config.h
index f933802..db28c1f 100644
--- a/src/windows/config.h
+++ b/src/windows/config.h
@@ -212,7 +212,7 @@
 #define PACKAGE_NAME "gperftools"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "gperftools 2.12"
+#define PACKAGE_STRING "gperftools 2.13"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "gperftools"
@@ -221,7 +221,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.12"
+#define PACKAGE_VERSION "2.13"
 
 /* How to access the PC from a struct ucontext */
 /* #undef PC_FROM_UCONTEXT */
diff --git a/src/windows/gperftools/tcmalloc.h b/src/windows/gperftools/tcmalloc.h
index 26f1f68..8d37f83 100644
--- a/src/windows/gperftools/tcmalloc.h
+++ b/src/windows/gperftools/tcmalloc.h
@@ -43,9 +43,9 @@
 
 /* Define the version number so folks can check against it */
 #define TC_VERSION_MAJOR  2
-#define TC_VERSION_MINOR  12
+#define TC_VERSION_MINOR  13
 #define TC_VERSION_PATCH  ""
-#define TC_VERSION_STRING "gperftools 2.12"
+#define TC_VERSION_STRING "gperftools 2.13"
 
 #ifndef PERFTOOLS_NOTHROW