diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index e3da2ba..2908ef0 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -3,8 +3,13 @@
 Changelog
 =========
 
-Next Release
-------------
+1.8.1 (2021-10-14)
+------------------
+
+Fix a bug where MockupDB did not recognize the OP_MSG exhaustAllowed flag.
+
+1.8.0 (2020-09-26)
+------------------
 
 MockupDB supports Python 3.4 through 3.8; it no longer supports Python 2.6 or
 Python 3.3.
diff --git a/PKG-INFO b/PKG-INFO
index f41fc5d..eba507a 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: mockupdb
-Version: 1.8.0
+Version: 1.8.1
 Summary: MongoDB Wire Protocol server library
 Home-page: https://github.com/ajdavis/mongo-mockup-db
 Author: A. Jesse Jiryu Davis
@@ -21,8 +21,13 @@ Description: ========
         Changelog
         =========
         
-        Next Release
-        ------------
+        1.8.1 (2021-10-14)
+        ------------------
+        
+        Fix a bug where MockupDB did not recognize the OP_MSG exhaustAllowed flag.
+        
+        1.8.0 (2020-09-26)
+        ------------------
         
         MockupDB supports Python 3.4 through 3.8; it no longer supports Python 2.6 or
         Python 3.3.
diff --git a/debian/changelog b/debian/changelog
index ef1a9f0..6be1717 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,10 @@
-python-mockupdb (1.8.0-2) UNRELEASED; urgency=medium
+python-mockupdb (1.8.1-1) UNRELEASED; urgency=medium
 
   * Remove obsolete field Name from debian/upstream/metadata (already present in
     machine-readable debian/copyright).
+  * New upstream release.
 
- -- Debian Janitor <janitor@jelmer.uk>  Sun, 15 Nov 2020 22:25:22 -0000
+ -- Debian Janitor <janitor@jelmer.uk>  Mon, 16 May 2022 12:20:02 -0000
 
 python-mockupdb (1.8.0-1) unstable; urgency=medium
 
diff --git a/mockupdb.egg-info/PKG-INFO b/mockupdb.egg-info/PKG-INFO
index f41fc5d..eba507a 100644
--- a/mockupdb.egg-info/PKG-INFO
+++ b/mockupdb.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: mockupdb
-Version: 1.8.0
+Version: 1.8.1
 Summary: MongoDB Wire Protocol server library
 Home-page: https://github.com/ajdavis/mongo-mockup-db
 Author: A. Jesse Jiryu Davis
@@ -21,8 +21,13 @@ Description: ========
         Changelog
         =========
         
-        Next Release
-        ------------
+        1.8.1 (2021-10-14)
+        ------------------
+        
+        Fix a bug where MockupDB did not recognize the OP_MSG exhaustAllowed flag.
+        
+        1.8.0 (2020-09-26)
+        ------------------
         
         MockupDB supports Python 3.4 through 3.8; it no longer supports Python 2.6 or
         Python 3.3.
diff --git a/mockupdb/__init__.py b/mockupdb/__init__.py
index 7340e70..802aa6e 100755
--- a/mockupdb/__init__.py
+++ b/mockupdb/__init__.py
@@ -19,7 +19,7 @@ from __future__ import print_function
 
 __author__ = 'A. Jesse Jiryu Davis'
 __email__ = 'jesse@mongodb.com'
-__version__ = '1.8.0'
+__version__ = '1.8.1'
 
 import atexit
 import contextlib
@@ -269,9 +269,9 @@ REPLY_FLAGS = OrderedDict([
     ('QueryFailure', 2)])
 
 OP_MSG_FLAGS = OrderedDict([
-    ('checksumPresent', 1),
-    ('moreToCome', 2),
-    ('exhaustAllowed', 16)])
+    ('checksumPresent', 1 << 0),
+    ('moreToCome', 1 << 1),
+    ('exhaustAllowed', 1 << 16)])
 
 _ALL_OP_MSG_FLAGS = functools.reduce(operator.or_, OP_MSG_FLAGS.values())
 
diff --git a/setup.py b/setup.py
index e125844..7a70dba 100755
--- a/setup.py
+++ b/setup.py
@@ -19,7 +19,7 @@ with open('CHANGELOG.rst') as changelog_file:
 
 setup(
     name='mockupdb',
-    version='1.8.0',
+    version='1.8.1',
     description="MongoDB Wire Protocol server library",
     long_description=readme + '\n\n' + changelog,
     author="A. Jesse Jiryu Davis",