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: semantic-release/release-notes-generator
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v11.0.7
Choose a base ref
...
head repository: semantic-release/release-notes-generator
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v12.0.0
Choose a head ref
  • 18 commits
  • 8 files changed
  • 2 contributors

Commits on Aug 29, 2023

  1. chore(deps): update dependency prettier to v3.0.3 (#525)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 29, 2023
    Copy the full SHA
    eb505f2 View commit details

Commits on Sep 1, 2023

  1. feat(conventional-changelog-presets): supported new preset format

    BREAKING CHANGE: the new preset format is a breaking change when compared to the previous preset format. updating to support the new format means that the old preset format is no longer supported. update your preset to the latest version to maintain compatibility
    travi committed Sep 1, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a681671 View commit details

Commits on Sep 4, 2023

  1. chore(deps): lock file maintenance (#527)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 4, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    0d0673d View commit details
  2. ci(action): update actions/checkout action to v4 (#528)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 4, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d46455f View commit details

Commits on Sep 6, 2023

  1. Copy the full SHA
    4fe3563 View commit details

Commits on Sep 8, 2023

  1. chore(deps): update dependency conventional-changelog-conventionalcom…

    …mits to v7.0.2 (#532)
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 8, 2023
    Copy the full SHA
    ba0d319 View commit details

Commits on Sep 10, 2023

  1. test(integration): reversed the list of commits to align with convent…

    …ional-changelog expectations
    
    based on conventional-changelog/conventional-changelog#1121 (comment). however, assuming the previous order actually aligned with how core provides the list, this will need to be coordinated with reversing that list somewhere
    travi committed Sep 10, 2023
    Copy the full SHA
    8a042da View commit details

Commits on Sep 11, 2023

  1. chore(deps): lock file maintenance (#533)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 11, 2023
    Copy the full SHA
    e7b9d41 View commit details

Commits on Sep 12, 2023

  1. Copy the full SHA
    8e79828 View commit details

Commits on Sep 16, 2023

  1. chore(deps): update dependency semantic-release to v21.1.2 (#534)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 16, 2023
    Copy the full SHA
    c08d9dc View commit details
  2. chore(deps): update dependency testdouble to v3.19.0 (#535)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 16, 2023
    Copy the full SHA
    9c79df8 View commit details
  3. chore(deps): update dependency semantic-release to v22 (#536)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 16, 2023
    Copy the full SHA
    f3d3aad View commit details

Commits on Sep 17, 2023

  1. Copy the full SHA
    c6075a5 View commit details
  2. Copy the full SHA
    73d5356 View commit details
  3. feat(node-versions): raised the minimum node version to v18.17 and dr…

    …opped v19 support
    
    BREAKING CHANGE: the minimum required node version is now v18.17, v19 support has been dropped, and the minimum required in the v20 range is v20.6.1
    travi committed Sep 17, 2023
    Copy the full SHA
    9c4e5f5 View commit details

Commits on Sep 18, 2023

  1. chore(deps): lock file maintenance (#537)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 18, 2023
    Copy the full SHA
    249a23f View commit details
  2. Copy the full SHA
    c87cc1e View commit details
  3. Copy the full SHA
    2a2756e View commit details
Showing with 769 additions and 960 deletions.
  1. +1 −1 .github/workflows/release.yml
  2. +5 −4 .github/workflows/test.yml
  3. +1 −0 .nvmrc
  4. +3 −9 lib/load-changelog-config.js
  5. +714 −918 package-lock.json
  6. +14 −14 package.json
  7. +4 −3 test/integration.test.js
  8. +27 −11 test/load-changelog-config.test.js
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ jobs:
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
with:
cache: npm
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -13,13 +13,14 @@ jobs:
strategy:
matrix:
node-version:
- 18.0.0
- 19
- 18.17.0
- 20.6.1
- 20
os:
- ubuntu-latest
runs-on: "${{ matrix.os }}"
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: "Use Node.js ${{ matrix.node-version }}"
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
with:
@@ -34,7 +35,7 @@ jobs:
needs: test_matrix
if: ${{ always() }}
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
with:
node-version: lts/*
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v18
12 changes: 3 additions & 9 deletions lib/load-changelog-config.js
Original file line number Diff line number Diff line change
@@ -25,19 +25,13 @@ export default async ({ preset, config, parserOpts, writerOpts, presetConfig },

if (preset) {
const presetPackage = `conventional-changelog-${preset.toLowerCase()}`;
loadedConfig = importFrom.silent(__dirname, presetPackage) || importFrom(cwd, presetPackage);
loadedConfig = await (importFrom.silent(__dirname, presetPackage) || importFrom(cwd, presetPackage))(presetConfig);
} else if (config) {
loadedConfig = importFrom.silent(__dirname, config) || importFrom(cwd, config);
loadedConfig = await (importFrom.silent(__dirname, config) || importFrom(cwd, config))();
} else {
loadedConfig = conventionalChangelogAngular;
loadedConfig = await conventionalChangelogAngular();
}

loadedConfig = await (typeof loadedConfig === "function"
? isPlainObject(presetConfig)
? loadedConfig(presetConfig)
: promisify(loadedConfig)()
: loadedConfig);

return {
parserOpts: { ...loadedConfig.parserOpts, ...parserOpts },
writerOpts: { ...loadedConfig.writerOpts, ...writerOpts },
Loading