From 822905977a79cb49bb76f12e147098251cd3dfcc Mon Sep 17 00:00:00 2001 From: rustagir Date: Tue, 19 Nov 2024 15:27:44 -0500 Subject: [PATCH 1/3] DOCSP-39159: v5.2 removal of support for 3.6 --- .github/workflows/vale-tdbx.yml | 13 ++++++++----- .../includes/mongodb-compatibility-table-kotlin.rst | 2 +- source/index.txt | 2 +- source/whats-new.txt | 6 ++++++ 4 files changed, 16 insertions(+), 7 deletions(-) diff --git a/.github/workflows/vale-tdbx.yml b/.github/workflows/vale-tdbx.yml index 284033ab..d748e941 100644 --- a/.github/workflows/vale-tdbx.yml +++ b/.github/workflows/vale-tdbx.yml @@ -12,23 +12,26 @@ jobs: - name: checkout uses: actions/checkout@master + - name: Install docutils + run: sudo apt-get install -y docutils + - id: files uses: masesgroup/retrieve-changed-files@v2 with: - format: 'csv' + format: "csv" - name: checkout-latest-rules uses: actions/checkout@master with: repository: mongodb/mongodb-vale-action - path: './tdbx-vale-rules' + path: "./tdbx-vale-rules" token: ${{secrets.GITHUB_TOKEN}} - name: move-files-for-vale-action run: | - cp tdbx-vale-rules/.vale.ini .vale.ini - mkdir -p .github/styles/ - cp -rf tdbx-vale-rules/.github/styles/ .github/ + cp tdbx-vale-rules/.vale.ini .vale.ini + mkdir -p .github/styles/ + cp -rf tdbx-vale-rules/.github/styles/ .github/ - name: run-vale uses: errata-ai/vale-action@reviewdog diff --git a/source/includes/mongodb-compatibility-table-kotlin.rst b/source/includes/mongodb-compatibility-table-kotlin.rst index 0d78a22e..dbd5fd4e 100644 --- a/source/includes/mongodb-compatibility-table-kotlin.rst +++ b/source/includes/mongodb-compatibility-table-kotlin.rst @@ -21,7 +21,7 @@ - ✓ - ✓ - ✓ - - ✓ + - * - 4.10 to 5.1 - ⊛ diff --git a/source/index.txt b/source/index.txt index 81f86e41..ffe00b1b 100644 --- a/source/index.txt +++ b/source/index.txt @@ -17,7 +17,7 @@ MongoDB Kotlin Driver /issues-and-help /compatibility /migrate-kmongo - /validate-signatures + Validate Driver Artifact Signatures View the Source Introduction diff --git a/source/whats-new.txt b/source/whats-new.txt index cc7f33b3..7dc7c43d 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -26,6 +26,12 @@ Learn what's new in: What's New in 5.2 ----------------- +.. important:: Removal of Support for {+mdb-server+} 3.6 + + {+driver-short+} v5.2 removes support for {+mdb-server+} 3.6. To + learn more about compatible versions of the server, see + :ref:`kotlin-compatibility-tables`. + The 5.2 driver release includes the following new features, improvements, and fixes: From 51ac5a94eb539a98adbdca04155e22ea21c303dc Mon Sep 17 00:00:00 2001 From: rustagir Date: Thu, 21 Nov 2024 14:14:40 -0500 Subject: [PATCH 2/3] v5.2.1 patch update --- snooty.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snooty.toml b/snooty.toml index ece6558d..0abbf389 100644 --- a/snooty.toml +++ b/snooty.toml @@ -20,7 +20,7 @@ driver = "kotlin" driver-short = "Kotlin driver" driver-long = "MongoDB Kotlin Driver" version = "5.2" -full-version = "{+version+}.0" +full-version = "{+version+}.1" language = "Kotlin" mdb-server = "MongoDB server" kotlin-docs = "https://kotlinlang.org" From d5c4a202df0be519306b992a63ea48c71a68c905 Mon Sep 17 00:00:00 2001 From: lindseymoore <71525840+lindseymoore@users.noreply.github.com> Date: Thu, 21 Nov 2024 17:03:22 -0500 Subject: [PATCH 3/3] Create backport.yml (#180) --- .github/workflows/backport.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/backport.yml diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml new file mode 100644 index 00000000..0ec179e2 --- /dev/null +++ b/.github/workflows/backport.yml @@ -0,0 +1,26 @@ +name: Backport +on: + pull_request_target: + types: + - closed + - labeled + +jobs: + backport: + name: Backport + runs-on: ubuntu-latest + # Only react to merged PRs for security reasons. + # See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target. + if: > + github.event.pull_request.merged + && ( + github.event.action == 'closed' + || ( + github.event.action == 'labeled' + && contains(github.event.label.name, 'backport') + ) + ) + steps: + - uses: tibdex/backport@v2 + with: + github_token: ${{ secrets.GITHUB_TOKEN }}