Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: renovatebot/renovate
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 37.421.5
Choose a base ref
...
head repository: renovatebot/renovate
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 37.421.6
Choose a head ref
  • 7 commits
  • 9 files changed
  • 4 contributors

Commits on Jul 1, 2024

  1. ci: use node v20 for most jobs (#29959)

    viceice authored Jul 1, 2024
    Copy the full SHA
    6d01a1d View commit details
  2. ci: fix cache keys (#29962)

    viceice authored Jul 1, 2024
    Copy the full SHA
    174b1bf View commit details
  3. ci(setup-node): fix steps order (#29965)

    viceice authored Jul 1, 2024
    Copy the full SHA
    a0c447a View commit details
  4. chore(deps): update ghcr.io/containerbase/devcontainer docker tag to …

    …v10.13.0 (#29966)
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 1, 2024
    Copy the full SHA
    f05bf76 View commit details
  5. docs(versioning/semver): rewrite readme (#29868)

    Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
    HonkingGoose and secustor authored Jul 1, 2024
    Copy the full SHA
    1fcec7c View commit details
  6. build(deps): update dependency jsonc-parser to v3.3.0 (#29969)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 1, 2024
    Copy the full SHA
    cf988e5 View commit details
  7. build(deps): update dependency jsonc-parser to v3.3.1 (#29970)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 1, 2024
    Copy the full SHA
    f19afb4 View commit details
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM ghcr.io/containerbase/devcontainer:10.12.1
FROM ghcr.io/containerbase/devcontainer:10.13.0
21 changes: 20 additions & 1 deletion .github/actions/setup-node/action.yml
Original file line number Diff line number Diff line change
@@ -56,7 +56,26 @@ runs:
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: ${{ inputs.node-version }}
cache: ${{ env.CACHE_HIT != 'true' && 'pnpm' || '' }}

- name: Calculate `PNPM_STORE`
shell: bash
run: |
echo "PNPM_STORE=$(pnpm store path)" >> "$GITHUB_ENV"
- name: Cache and restore `pnpm store`
if: env.CACHE_HIT != 'true'
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: ${{ env.PNPM_STORE }}
key: |
pnpm_store-${{
inputs.os
}}-${{
inputs.node-version
}}-${{
hashFiles('pnpm-lock.yaml', 'package.json')
}}
enableCrossOsArchive: true

- name: Install dependencies
uses: nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3.0.0
77 changes: 53 additions & 24 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -30,7 +30,8 @@ concurrency:

env:
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
NODE_VERSION: 18
NODE_VERSION_TEST: 18
NODE_VERSION_BUILD: 20
DRY_RUN: true
TEST_LEGACY_DECRYPTION: true
SPARSE_CHECKOUT: |-
@@ -105,13 +106,13 @@ jobs:
with:
repo: ${{ github.event.repository.full_name }}
token: ${{ github.token }}
node-version: ${{ env.NODE_VERSION }}
node-version: ${{ env.NODE_VERSION_TEST }}

- name: Prefetch modules for `ubuntu-latest`
- name: Prefetch test modules for `ubuntu-latest`
id: setup-node
uses: ./.github/actions/setup-node
with:
node-version: ${{ env.NODE_VERSION }}
node-version: ${{ env.NODE_VERSION_TEST }}
os: ${{ runner.os }}
save-cache: true

@@ -124,6 +125,27 @@ jobs:
run: |
echo "$(pnpm -s schedule-test-shards)" >> "$GITHUB_OUTPUT"
setup-build:
runs-on: ubuntu-latest

outputs:
node-version: ${{ env.NODE_VERSION_BUILD }}

steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
filter: blob:none # we don't need all blobs
sparse-checkout: ${{ env.SPARSE_CHECKOUT }}
show-progress: false

- name: Prefetch build modules for `ubuntu-latest`
uses: ./.github/actions/setup-node
with:
node-version: ${{ env.NODE_VERSION_BUILD }}
os: ${{ runner.os }}
save-cache: true

prefetch:
needs: [setup]

@@ -142,7 +164,6 @@ jobs:
strategy:
matrix:
os: ${{ fromJSON(needs.setup.outputs.os-matrix-prefetch) }}
node-version: [18]

runs-on: ${{ matrix.os }}

@@ -161,12 +182,13 @@ jobs:
if: needs.setup.outputs.os-matrix-is-full && runner.os != 'Linux'
uses: ./.github/actions/setup-node
with:
node-version: ${{ env.NODE_VERSION }}
node-version: ${{ env.NODE_VERSION_TEST }}
os: ${{ runner.os }}
save-cache: true

lint-eslint:
needs: [setup]
needs:
- setup-build
runs-on: ubuntu-latest
timeout-minutes: 15

@@ -182,7 +204,7 @@ jobs:
- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
node-version: ${{ env.NODE_VERSION }}
node-version: ${{ needs.setup-build.outputs.node-version }}
os: ${{ runner.os }}

- name: Restore eslint cache
@@ -211,7 +233,8 @@ jobs:
key: eslint-main-cache

lint-prettier:
needs: [setup]
needs:
- setup-build
runs-on: ubuntu-latest
timeout-minutes: 7

@@ -227,7 +250,7 @@ jobs:
- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
node-version: ${{ env.NODE_VERSION }}
node-version: ${{ needs.setup-build.outputs.node-version }}
os: ${{ runner.os }}

- name: Restore prettier cache
@@ -256,7 +279,8 @@ jobs:
key: prettier-main-cache

lint-docs:
needs: [setup]
needs:
- setup-build
runs-on: ubuntu-latest
timeout-minutes: 7

@@ -269,7 +293,7 @@ jobs:
- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
node-version: ${{ env.NODE_VERSION }}
node-version: ${{ needs.setup-build.outputs.node-version }}
os: ${{ runner.os }}

- name: Lint markdown
@@ -285,7 +309,8 @@ jobs:
run: pnpm markdown-lint

lint-other:
needs: [setup]
needs:
- setup-build
runs-on: ubuntu-latest
timeout-minutes: 7

@@ -298,7 +323,7 @@ jobs:
- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
node-version: ${{ env.NODE_VERSION }}
node-version: ${{ needs.setup-build.outputs.node-version }}
os: ${{ runner.os }}

- name: Type check
@@ -337,7 +362,7 @@ jobs:
- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
node-version: ${{ env.NODE_VERSION }}
node-version: ${{ env.NODE_VERSION_TEST }}
os: ${{ runner.os }}

- name: Cache jest
@@ -348,7 +373,7 @@ jobs:
jest-cache-${{
runner.os
}}-${{
env.NODE_VERSION
env.NODE_VERSION_TEST
}}-${{
hashFiles('pnpm-lock.yaml')
}}-${{
@@ -416,6 +441,7 @@ jobs:
coverage-threshold:
needs:
- test
- setup-build
runs-on: ubuntu-latest
timeout-minutes: 3
if: (success() || failure()) && github.event.pull_request.draft != true
@@ -430,7 +456,7 @@ jobs:
- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
node-version: ${{ env.NODE_VERSION }}
node-version: ${{ needs.setup-build.outputs.node-version }}
os: ${{ runner.os }}

- name: Download coverage reports
@@ -505,7 +531,8 @@ jobs:
run: exit 1

build:
needs: setup
needs:
- setup-build
runs-on: ubuntu-latest
timeout-minutes: 15
if: github.event.pull_request.draft != true
@@ -518,7 +545,7 @@ jobs:
- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
node-version: ${{ env.NODE_VERSION }}
node-version: ${{ needs.setup-build.outputs.node-version }}
os: ${{ runner.os }}

- name: Build
@@ -539,7 +566,9 @@ jobs:
path: renovate-0.0.0-semantic-release.tgz

build-docs:
needs: [lint-docs]
needs:
- lint-docs
- setup-build
runs-on: ubuntu-latest
timeout-minutes: 5
if: github.event.pull_request.draft != true
@@ -552,7 +581,7 @@ jobs:
- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
node-version: ${{ env.NODE_VERSION }}
node-version: ${{ needs.setup-build.outputs.node-version }}
os: ${{ runner.os }}

- name: Build
@@ -588,7 +617,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: ${{ env.NODE_VERSION }}
node-version: ${{ env.NODE_VERSION_TEST }}

- name: Download package
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
@@ -603,7 +632,7 @@ jobs:

release:
needs:
- setup
- setup-build
- lint-eslint
- lint-prettier
- lint-docs
@@ -639,7 +668,7 @@ jobs:
- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
node-version: ${{ env.NODE_VERSION }}
node-version: ${{ needs.setup-build.outputs.node-version }}
os: ${{ runner.os }}

- uses: sigstore/cosign-installer@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 # v3.5.0
2 changes: 1 addition & 1 deletion .github/workflows/update-data.yml
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ on:
workflow_dispatch:

env:
NODE_VERSION: 18
NODE_VERSION: 20

permissions:
contents: read
6 changes: 4 additions & 2 deletions lib/modules/versioning/semver/readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Renovate's Semantic Versioning is a strict/independent implementation of [Semantic Versioning 2.0](https://semver.org). It has been developed to be used in situations where exact-only SemVer support is needed and not npm's extended semver implementation including ranges.
Renovate's `semver` versioning _strictly_ implements the [Semantic Versioning 2.0](https://semver.org) specification.
Because the SemVer 2.0 specification does _not_ allow ranges, Renovate's `semver` versioning also does _not_ support ranges.

Ranges are not supported, in line with the specification.
Only use the `semver` versioning when you mean to follow the full SemVer 2.0 specifications strictly.
If you need a more forgiving variant use `semver-coerced`.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@
"prepare": "run-s 'prepare:*'",
"prepare:husky": "husky",
"prepare:generate": "run-s 'generate:*'",
"prepare:re2": "node tools/check-re2.mjs",
"prepare:deps": "node tools/prepare-deps.mjs",
"prestart": "run-s 'generate:*'",
"pretest": "run-s 'generate:*'",
"prettier": "prettier --cache --check '**/*.{ts,js,mjs,json,md,yml}'",
@@ -211,7 +211,7 @@
"json-stringify-pretty-compact": "3.0.0",
"json5": "2.2.3",
"jsonata": "2.0.5",
"jsonc-parser": "3.2.1",
"jsonc-parser": "3.3.1",
"klona": "2.0.6",
"lru-cache": "10.2.2",
"luxon": "3.4.4",
9 changes: 7 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 0 additions & 11 deletions tools/check-re2.mjs

This file was deleted.

Loading