From f4174927308fa6f9c400c3ee0887fc110b1dbaff Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Mon, 22 Jul 2019 21:17:55 +0200
Subject: [PATCH] fix: deprecate unstablePattern

Closes #3929
---
 lib/config/definitions.js             | 9 ---------
 lib/config/presets.js                 | 1 -
 renovate-schema.json                  | 5 -----
 website/docs/configuration-options.md | 6 ------
 4 files changed, 21 deletions(-)

diff --git a/lib/config/definitions.js b/lib/config/definitions.js
index 92e9422c9c..7910f595fc 100644
--- a/lib/config/definitions.js
+++ b/lib/config/definitions.js
@@ -715,15 +715,6 @@ const options = [
     type: 'boolean',
     default: true,
   },
-  {
-    name: 'unstablePattern',
-    description: 'Regex for identifying unstable versions (docker only)',
-    stage: 'package',
-    type: 'string',
-    format: 'regex',
-    cli: false,
-    env: false,
-  },
   {
     name: 'followTag',
     description: 'If defined, packages will follow this release tag exactly.',
diff --git a/lib/config/presets.js b/lib/config/presets.js
index 9e7ad8bf80..809c43a2a7 100644
--- a/lib/config/presets.js
+++ b/lib/config/presets.js
@@ -230,7 +230,6 @@ async function getPreset(preset) {
     'excludePackageNames',
     'packagePatterns',
     'excludePackagePatterns',
-    'unstablePattern',
   ];
   if (presetKeys.every(key => packageListKeys.includes(key))) {
     delete presetConfig.description;
diff --git a/renovate-schema.json b/renovate-schema.json
index cd33efaf81..015cc3a4e5 100644
--- a/renovate-schema.json
+++ b/renovate-schema.json
@@ -462,11 +462,6 @@
       "type": "boolean",
       "default": true
     },
-    "unstablePattern": {
-      "description": "Regex for identifying unstable versions (docker only)",
-      "type": "string",
-      "format": "regex"
-    },
     "followTag": {
       "description": "If defined, packages will follow this release tag exactly.",
       "type": "string"
diff --git a/website/docs/configuration-options.md b/website/docs/configuration-options.md
index 1118460650..ed8362451d 100644
--- a/website/docs/configuration-options.md
+++ b/website/docs/configuration-options.md
@@ -1143,12 +1143,6 @@ It is not known by many that npm package authors and collaborators can _delete_
 
 Enabling `unpublishSafe` will add a `renovate/unpublish-safe` status check with value pending to every branch to warn you about this possibility. It can be handy when used with the `prCreation` = `not-pending` configuration option - that way you won't get the PR raised until after a patch is 24 hours old or more.
 
-## unstablePattern
-
-Because Docker uses tags instead of semver, there is no fixed convention for how to identify unstable releases. e.g. some images may use semver convention like `v2.0.0-beta1` but others may use their own convention, like Node.js or Ubuntu even/odd.
-
-This field is currently used by some config prefixes.
-
 ## updateLockFiles
 
 ## updateNotScheduled
-- 
GitLab