Skip to content

Commit 447dd87

Browse files
sarahdayanclaude
andauthored
fix: pass preset parserOpts and writerOpts to conventional-changelog (#1045)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 1a98fd7 commit 447dd87

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## <small>0.28.1 (2026-02-05)</small>
1+
## [0.28.1](https://github.com/algolia/shipjs/compare/v0.28.0...v0.28.1) (2026-02-05)
22

33
### Bug fixes
44

packages/shipjs/src/step/prepare/updateChangelog.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,13 @@ function runConventionalChangelog({
164164
fs.writeFileSync(args.outfile, '');
165165
}
166166

167+
const { parserOpts, writerOpts } = args.config || {};
167168
const changelogStream = conventionalChangelogCore(
168169
args,
169170
templateContext,
170171
{ ...gitRawCommitsOpts, path: dir },
171-
undefined,
172-
undefined,
172+
parserOpts,
173+
writerOpts,
173174
{ path: dir, cwd: dir }
174175
).on('error', reject);
175176

0 commit comments

Comments
 (0)