From ebbbc0bc424db36a47436d491766dcd328117fed Mon Sep 17 00:00:00 2001
From: catch <catch@35733.no-reply.drupal.org>
Date: Tue, 6 Dec 2022 09:47:10 +0000
Subject: [PATCH] Drupal 10.0.0-rc2

---
 composer.lock                                        | 12 ++++--------
 composer/Metapackage/CoreRecommended/composer.json   |  2 +-
 .../Metapackage/PinnedDevDependencies/composer.json  |  2 +-
 core/lib/Drupal.php                                  |  2 +-
 core/lib/Drupal/Component/Annotation/composer.json   |  8 ++++----
 core/lib/Drupal/Component/Datetime/composer.json     |  4 ++--
 core/lib/Drupal/Component/Discovery/composer.json    |  6 +++---
 core/lib/Drupal/Component/FrontMatter/composer.json  |  4 ++--
 core/lib/Drupal/Component/Gettext/composer.json      |  4 ++--
 core/lib/Drupal/Component/PhpStorage/composer.json   |  4 ++--
 core/lib/Drupal/Component/Render/composer.json       |  4 ++--
 11 files changed, 24 insertions(+), 28 deletions(-)

diff --git a/composer.lock b/composer.lock
index e5bde9d9dafd..5a0957efc147 100644
--- a/composer.lock
+++ b/composer.lock
@@ -439,7 +439,7 @@
         },
         {
             "name": "drupal/core",
-            "version": "10.0.x-dev",
+            "version": "10.0.0-rc2",
             "dist": {
                 "type": "path",
                 "url": "core",
@@ -594,7 +594,7 @@
         },
         {
             "name": "drupal/core-project-message",
-            "version": "10.0.x-dev",
+            "version": "10.0.0-rc2",
             "dist": {
                 "type": "path",
                 "url": "composer/Plugin/ProjectMessage",
@@ -627,7 +627,7 @@
         },
         {
             "name": "drupal/core-vendor-hardening",
-            "version": "10.0.x-dev",
+            "version": "10.0.0-rc2",
             "dist": {
                 "type": "path",
                 "url": "composer/Plugin/VendorHardening",
@@ -8379,11 +8379,7 @@
     ],
     "aliases": [],
     "minimum-stability": "dev",
-    "stability-flags": {
-        "drupal/core": 20,
-        "drupal/core-project-message": 20,
-        "drupal/core-vendor-hardening": 20
-    },
+    "stability-flags": [],
     "prefer-stable": true,
     "prefer-lowest": false,
     "platform": [],
diff --git a/composer/Metapackage/CoreRecommended/composer.json b/composer/Metapackage/CoreRecommended/composer.json
index 2c2e4e087b33..db4c85e55319 100644
--- a/composer/Metapackage/CoreRecommended/composer.json
+++ b/composer/Metapackage/CoreRecommended/composer.json
@@ -7,7 +7,7 @@
         "webflo/drupal-core-strict": "*"
     },
     "require": {
-        "drupal/core": "10.0.x-dev",
+        "drupal/core": "10.0.0-rc2",
         "asm89/stack-cors": "~v2.1.1",
         "composer/semver": "~3.3.2",
         "doctrine/annotations": "~1.13.3",
diff --git a/composer/Metapackage/PinnedDevDependencies/composer.json b/composer/Metapackage/PinnedDevDependencies/composer.json
index bd41c20bffb7..10033363c4b2 100644
--- a/composer/Metapackage/PinnedDevDependencies/composer.json
+++ b/composer/Metapackage/PinnedDevDependencies/composer.json
@@ -7,7 +7,7 @@
         "webflo/drupal-core-require-dev": "*"
     },
     "require": {
-        "drupal/core": "10.0.x-dev",
+        "drupal/core": "10.0.0-rc2",
         "behat/mink": "v1.10.0",
         "behat/mink-browserkit-driver": "v2.1.0",
         "behat/mink-selenium2-driver": "v1.6.0",
diff --git a/core/lib/Drupal.php b/core/lib/Drupal.php
index 4fc2485bfe0a..41342dd22efb 100644
--- a/core/lib/Drupal.php
+++ b/core/lib/Drupal.php
@@ -75,7 +75,7 @@ class Drupal {
   /**
    * The current system version.
    */
-  const VERSION = '10.0.0-dev';
+  const VERSION = '10.0.0-rc2';
 
   /**
    * Core API compatibility.
diff --git a/core/lib/Drupal/Component/Annotation/composer.json b/core/lib/Drupal/Component/Annotation/composer.json
index 8aa65ec8d871..59dc318e6d00 100644
--- a/core/lib/Drupal/Component/Annotation/composer.json
+++ b/core/lib/Drupal/Component/Annotation/composer.json
@@ -9,9 +9,9 @@
     "require": {
         "php": ">=8.1.0",
         "doctrine/annotations": "^1.13",
-        "drupal/core-file-cache": "10.0.x-dev",
-        "drupal/core-plugin": "10.0.x-dev",
-        "drupal/core-utility": "10.0.x-dev"
+        "drupal/core-file-cache": "10.0.0-rc2",
+        "drupal/core-plugin": "10.0.0-rc2",
+        "drupal/core-utility": "10.0.0-rc2"
     },
     "autoload": {
         "psr-4": {
@@ -23,5 +23,5 @@
             "This file was partially generated automatically. See: https://www.drupal.org/node/3293830"
         ]
     },
-    "minimum-stability": "dev"
+    "minimum-stability": "RC"
 }
diff --git a/core/lib/Drupal/Component/Datetime/composer.json b/core/lib/Drupal/Component/Datetime/composer.json
index 9a254e30f02e..ffac8749c346 100644
--- a/core/lib/Drupal/Component/Datetime/composer.json
+++ b/core/lib/Drupal/Component/Datetime/composer.json
@@ -8,7 +8,7 @@
     "license": "GPL-2.0-or-later",
     "require": {
         "php": ">=8.1.0",
-        "drupal/core-utility": "10.0.x-dev"
+        "drupal/core-utility": "10.0.0-rc2"
     },
     "autoload": {
         "psr-4": {
@@ -20,5 +20,5 @@
             "This file was partially generated automatically. See: https://www.drupal.org/node/3293830"
         ]
     },
-    "minimum-stability": "dev"
+    "minimum-stability": "RC"
 }
diff --git a/core/lib/Drupal/Component/Discovery/composer.json b/core/lib/Drupal/Component/Discovery/composer.json
index 887db29b2807..bdf1b952f4fe 100644
--- a/core/lib/Drupal/Component/Discovery/composer.json
+++ b/core/lib/Drupal/Component/Discovery/composer.json
@@ -8,8 +8,8 @@
     "license": "GPL-2.0-or-later",
     "require": {
         "php": ">=8.1.0",
-        "drupal/core-file-cache": "10.0.x-dev",
-        "drupal/core-serialization": "10.0.x-dev"
+        "drupal/core-file-cache": "10.0.0-rc2",
+        "drupal/core-serialization": "10.0.0-rc2"
     },
     "autoload": {
         "psr-4": {
@@ -21,5 +21,5 @@
             "This file was partially generated automatically. See: https://www.drupal.org/node/3293830"
         ]
     },
-    "minimum-stability": "dev"
+    "minimum-stability": "RC"
 }
diff --git a/core/lib/Drupal/Component/FrontMatter/composer.json b/core/lib/Drupal/Component/FrontMatter/composer.json
index cca1234c73cc..057c2486378f 100644
--- a/core/lib/Drupal/Component/FrontMatter/composer.json
+++ b/core/lib/Drupal/Component/FrontMatter/composer.json
@@ -8,7 +8,7 @@
     "license": "GPL-2.0-or-later",
     "require": {
         "php": ">=8.1.0",
-        "drupal/core-serialization": "10.0.x-dev"
+        "drupal/core-serialization": "10.0.0-rc2"
     },
     "autoload": {
         "psr-4": {
@@ -20,5 +20,5 @@
             "This file was partially generated automatically. See: https://www.drupal.org/node/3293830"
         ]
     },
-    "minimum-stability": "dev"
+    "minimum-stability": "RC"
 }
diff --git a/core/lib/Drupal/Component/Gettext/composer.json b/core/lib/Drupal/Component/Gettext/composer.json
index 0651e10c63d7..831323ca47ed 100644
--- a/core/lib/Drupal/Component/Gettext/composer.json
+++ b/core/lib/Drupal/Component/Gettext/composer.json
@@ -9,7 +9,7 @@
     },
     "require": {
         "php": ">=8.1.0",
-        "drupal/core-render": "10.0.x-dev"
+        "drupal/core-render": "10.0.0-rc2"
     },
     "autoload": {
         "psr-4": {
@@ -21,5 +21,5 @@
             "This file was partially generated automatically. See: https://www.drupal.org/node/3293830"
         ]
     },
-    "minimum-stability": "dev"
+    "minimum-stability": "RC"
 }
diff --git a/core/lib/Drupal/Component/PhpStorage/composer.json b/core/lib/Drupal/Component/PhpStorage/composer.json
index 2085d3cfbfaf..c3116ec48ad7 100644
--- a/core/lib/Drupal/Component/PhpStorage/composer.json
+++ b/core/lib/Drupal/Component/PhpStorage/composer.json
@@ -8,7 +8,7 @@
     "license": "GPL-2.0-or-later",
     "require": {
         "php": ">=8.1.0",
-        "drupal/core-file-security": "10.0.x-dev"
+        "drupal/core-file-security": "10.0.0-rc2"
     },
     "autoload": {
         "psr-4": {
@@ -20,5 +20,5 @@
             "This file was partially generated automatically. See: https://www.drupal.org/node/3293830"
         ]
     },
-    "minimum-stability": "dev"
+    "minimum-stability": "RC"
 }
diff --git a/core/lib/Drupal/Component/Render/composer.json b/core/lib/Drupal/Component/Render/composer.json
index 1875b9367ab7..0c1b542eba81 100644
--- a/core/lib/Drupal/Component/Render/composer.json
+++ b/core/lib/Drupal/Component/Render/composer.json
@@ -8,7 +8,7 @@
     "license": "GPL-2.0-or-later",
     "require": {
         "php": ">=8.1.0",
-        "drupal/core-utility": "10.0.x-dev"
+        "drupal/core-utility": "10.0.0-rc2"
     },
     "autoload": {
         "psr-4": {
@@ -20,5 +20,5 @@
             "This file was partially generated automatically. See: https://www.drupal.org/node/3293830"
         ]
     },
-    "minimum-stability": "dev"
+    "minimum-stability": "RC"
 }
-- 
GitLab