diff --git a/docs/manual/admin/sites/rb-site.rst b/docs/manual/admin/sites/rb-site.rst
index f277a4aa514b077a570fca45b28d38c280e12591..a3a68db221a8cdf82fc467552a5688847fea525c 100644
--- a/docs/manual/admin/sites/rb-site.rst
+++ b/docs/manual/admin/sites/rb-site.rst
@@ -1,5 +1,7 @@
 .. program:: rb-site
 
+.. _rb-site:
+
 ================
 The rb-site Tool
 ================
diff --git a/docs/releasenotes/4.0.11.rst b/docs/releasenotes/4.0.11.rst
new file mode 100644
index 0000000000000000000000000000000000000000..1954367784bb8ec706f603a3b9f6ebfc25d4079e
--- /dev/null
+++ b/docs/releasenotes/4.0.11.rst
@@ -0,0 +1,94 @@
+.. default-intersphinx:: djblets2.x rb4.0
+
+
+=================================
+Review Board 4.0.11 Release Notes
+=================================
+
+**Release date**: TBD
+
+
+Packaging
+=========
+
+* Capped the :pypi:`bleach` dependency at 3.3.x.
+
+* Capped the :pypi:`django-evolution` dependency at 2.1.x.
+
+* Capped the :pypi:`mimeparse` dependency at 0.1.x.
+
+
+New Features
+============
+
+* Added debug logs for failed database upgrades.
+
+  If there's an issue upgrading the database, complete details will be
+  logged to a file that can be used when contacting `Beanbag Support`_ to
+  help diagnose and repair the issue.
+
+* Added new internal capabilities for repository configuration.
+
+  This is mostly behind-the-scenes, but will enable support for new
+  remote SSH access for :rbintegration:`Cliosoft SOS <cliosoft-sos>`
+  repositories.
+
+
+.. _Beanbag Support: https://www.reviewboard.org/support/
+
+
+Performance Improvements
+========================
+
+* Improved performance when communicating with repositories over SSH.
+
+
+Web API
+=======
+
+* Added APIs for controlling repository access lists.
+
+  Administrators can now control the users and groups that are allowed to
+  access review requests on a repository.
+
+  This is done through the :ref:`webapi2.0-repository-group-list-resource`
+  and :ref:`webapi2.0-repository-user-list-resource` APIs.
+
+
+Bug Fixes
+=========
+
+* Fixed rare data truncation issues in SSH communication.
+
+  Depending on the operations being performed over SSH, it's possible for
+  a session to end before all data has been received. This would normally
+  manifest as a visible error talking to a repository, rather than any kind
+  of data loss.
+
+  We haven't had any reports of this, but have managed to trigger this
+  behavior with some work we've been exploring.
+
+* Fixed issues with multiple commits in Mercurial.
+
+  Posting multiple commits to a review request could cause issues with looking
+  up modified files in the diff, due to some state being ignored during
+  processing.
+
+  Patch by Valentin Bartenev.
+
+* Fixed a crash in :ref:`rb-site <rb-site>` when running in a pseudo-terminal
+  that claims a width of 0.
+
+  Patch by Werner Damman.
+
+* Fixed a precision error that could occur in API rate limiting.
+
+
+Contributors
+============
+
+* Christian Hammond
+* David Trowbridge
+* Michelle Aubin
+* Valentin Bartenev
+* Werner Damman
diff --git a/docs/releasenotes/index.rst b/docs/releasenotes/index.rst
index 6e1502331293c1d53c60e82f6b4f65d98a85ff69..4bdb844c21fc9eda198b333e5aa1baa1ee56ba2d 100644
--- a/docs/releasenotes/index.rst
+++ b/docs/releasenotes/index.rst
@@ -10,6 +10,7 @@ Review Board Release Notes
 .. toctree::
    :maxdepth: 1
 
+   4.0.11
    4.0.10
    4.0.9
    4.0.8
diff --git a/reviewboard/dependencies.py b/reviewboard/dependencies.py
index a57206b5ab7c888e14c94a38973afda7c0112bb5..bb2aa2d41b0e28ecd89dab80caf875888528f0b4 100644
--- a/reviewboard/dependencies.py
+++ b/reviewboard/dependencies.py
@@ -52,7 +52,7 @@ djblets_version = '>=2.3.3,<=2.999'
 
 #: All dependencies required to install Review Board.
 package_dependencies = {
-    'bleach': '>=3.3',
+    'bleach': '>=3.3,<3.3.999',
     'cryptography': [
         {
             'python': PYTHON_2_RANGE,
@@ -86,7 +86,7 @@ package_dependencies = {
         },
     ],
 
-    'mimeparse': '>=0.1.3',
+    'mimeparse': '>=0.1.3,<0.1.999',
     'paramiko': '>=1.12',
     'Pygments': [
         {
diff --git a/reviewboard/deprecation.py b/reviewboard/deprecation.py
index abc1a2055f182d1655eba1890a924aacf547312c..93244ae904b1aab1324df351b7d81cb6d511b3e6 100644
--- a/reviewboard/deprecation.py
+++ b/reviewboard/deprecation.py
@@ -56,5 +56,14 @@ class RemovedInReviewBoard50Warning(BaseRemovedInReviewBoardVersionWarning):
     """
 
 
+class RemovedInReviewBoard60Warning(BaseRemovedInReviewBoardVersionWarning):
+    """Deprecations for features removed in Review Board 6.0.
+
+    Note that this class will itself be removed in Review Board 6.0. If you
+    need to check against Review Board deprecation warnings, please see
+    :py:class:`BaseRemovedInReviewBoardVersionWarning`.
+    """
+
+
 #: An alias for the next release of Djblets where features would be removed.
 RemovedInNextReviewBoardVersionWarning = RemovedInReviewBoard50Warning
diff --git a/reviewboard/scmtools/forms.py b/reviewboard/scmtools/forms.py
index a445babe0b7f9c603090491b93af0debde45bce9..fa49634edacfa76c562365abbec744505be50654 100644
--- a/reviewboard/scmtools/forms.py
+++ b/reviewboard/scmtools/forms.py
@@ -22,7 +22,7 @@ from reviewboard.admin.form_widgets import (RelatedGroupWidget,
                                             RelatedUserWidget)
 from reviewboard.admin.import_utils import has_module
 from reviewboard.admin.validation import validate_bug_tracker
-from reviewboard.deprecation import RemovedInReviewBoard50Warning
+from reviewboard.deprecation import RemovedInReviewBoard60Warning
 from reviewboard.hostingsvcs.errors import (AuthorizationError,
                                             HostingServiceError,
                                             SSHKeyAssociationError,
@@ -2307,7 +2307,7 @@ class RepositoryForm(LocalSiteAwareModelFormMixin, forms.ModelForm):
                             local_site_name=local_site_name,
                             **repository_extra_data)
                     else:
-                        RemovedInReviewBoard50Warning.warn(
+                        RemovedInReviewBoard60Warning.warn(
                             '%s.check_repository must accept **kwargs. '
                             'It should also make sure it accepts "path", '
                             '"username", "password", and "local_site_name" '
diff --git a/reviewboard/scmtools/tests/test_repository_form.py b/reviewboard/scmtools/tests/test_repository_form.py
index 1f327d4d99bba05aab49a696b4d69c3d313b2ae9..c810aeee13c7cce61bff5811a8884182010a5865 100644
--- a/reviewboard/scmtools/tests/test_repository_form.py
+++ b/reviewboard/scmtools/tests/test_repository_form.py
@@ -8,7 +8,7 @@ from django.http import QueryDict
 from django.utils import six
 from kgb import SpyAgency
 
-from reviewboard.deprecation import RemovedInReviewBoard50Warning
+from reviewboard.deprecation import RemovedInReviewBoard60Warning
 from reviewboard.hostingsvcs.models import HostingServiceAccount
 from reviewboard.hostingsvcs.github import GitHub
 from reviewboard.hostingsvcs.service import (get_hosting_service,
@@ -986,7 +986,7 @@ class RepositoryFormTests(SpyAgency, TestCase):
                 'This will be required in Review Board 5.0.'
             )
 
-            with self.assertWarns(RemovedInReviewBoard50Warning, message):
+            with self.assertWarns(RemovedInReviewBoard60Warning, message):
                 self.assertTrue(form.is_valid())
                 repository = form.save()
 
