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 }} 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/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" 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/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: