Ardalan Amini and coderabbitai[bot]
f54a10a737
refactor: improve imports ( #217 )
...
* refactor: improve imports
Signed-off-by: Ardalan Amini <[email protected] >
* ci: fix release workflow
Signed-off-by: Ardalan Amini <[email protected] >
* 📝 Add docstrings to `refactor/improve-imports` (#218 )
* 📝 Add docstrings to `refactor/improve-imports`
Docstrings generation was requested by @ardalanamini.
* https://github.com/ardalanamini/auto-changelog/pull/217#issuecomment-2953761296
The following files were modified:
* `src/changelog.ts`
* `src/footer.ts`
* `src/generate.ts`
* `src/inputs/commit-types.ts`
* `src/inputs/default-commit-type.ts`
* `src/inputs/github-token.ts`
* `src/inputs/include-commit-links.ts`
* `src/inputs/include-compare-link.ts`
* `src/inputs/include-pr-links.ts`
* `src/inputs/mention-authors.ts`
* `src/inputs/mention-new-contributors.ts`
* `src/inputs/release-name-prefix.ts`
* `src/inputs/release-name.ts`
* `src/inputs/semver.ts`
* `src/inputs/use-github-autolink.ts`
* `src/outputs/set-changelog.ts`
* `src/outputs/set-prerelease.ts`
* `src/outputs/set-release-id.ts`
* `src/utils/octokit.ts`
* Update changelog.ts
Signed-off-by: Ardalan Amini <[email protected] >
* style: address linter errors
Signed-off-by: Ardalan Amini <[email protected] >
---------
Signed-off-by: Ardalan Amini <[email protected] >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Ardalan Amini <[email protected] >
---------
Signed-off-by: Ardalan Amini <[email protected] >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-06-08 12:29:09 +03:30
Ardalan Amini
c6140da009
build: integrate Rolldown ( #216 )
...
* build: integrate Rolldown
Signed-off-by: Ardalan Amini <[email protected] >
* ci: enhance test workflow and update metadata
- Added environment variables for Node & PNPM versions in the test workflow.
- Updated homepage URL in package metadata.
Signed-off-by: Ardalan Amini <[email protected] >
* build: define Node.js version requirement (>= 20) in package.json
Signed-off-by: Ardalan Amini <[email protected] >
---------
Signed-off-by: Ardalan Amini <[email protected] >
2025-06-07 21:51:25 +03:30
Ardalan Amini
3666d4965e
build(deps): address dependency vulnerabilities
...
Signed-off-by: Ardalan Amini <[email protected] >
2025-06-07 20:14:58 +03:30
Ardalan Amini
04e49adbba
refactor: enhance ESLint configuration and type safety
...
This commit replaces `.eslintrc.yml` with `eslint.config.mts`,
and updates the ESLint setup with Noir and Flat Gitignore configs.
Signed-off-by: Ardalan Amini <[email protected] >
2025-06-07 17:27:28 +03:30
Ardalan Amini
9bd6b8698c
refactor: improve changelog logic ( #197 )
...
* refactor: improve changelog logic
Signed-off-by: Ardalan Amini <[email protected] >
* chore: update license comment formatting across all files
Replaced `/*` with `/**` for correct JSDoc-style license comments in all files.
This ensures consistency and compatibility with documentation tools that rely on JSDoc conventions.
Signed-off-by: Ardalan Amini <[email protected] >
* test: add unit tests for inputs
Signed-off-by: Ardalan Amini <[email protected] >
* test: add unit tests for utils
Signed-off-by: Ardalan Amini <[email protected] >
* test: add unit tests for outputs
Signed-off-by: Ardalan Amini <[email protected] >
* test: add unit tests for nodes
Signed-off-by: Ardalan Amini <[email protected] >
* test: add missing unit tests
Signed-off-by: Ardalan Amini <[email protected] >
* chore: address PR comments
Signed-off-by: Ardalan Amini <[email protected] >
* chore: address PR comments
Signed-off-by: Ardalan Amini <[email protected] >
---------
Signed-off-by: Ardalan Amini <[email protected] >
2025-06-07 15:37:31 +03:30
Ardalan Amini
7a94b0db61
chore: update copyright year
...
Signed-off-by: Ardalan Amini <[email protected] >
2025-02-10 16:40:23 +03:30
Ardalan Amini
cce7f4fd60
test: add & configure Jest
...
Fixes #153
Signed-off-by: Ardalan Amini <[email protected] >
2024-10-30 14:34:45 +03:30
Ardalan Amini
5f05b761d3
build(deps): update dependencies
...
Signed-off-by: Ardalan Amini <[email protected] >
2024-10-23 18:54:49 +03:30
Ardalan Amini
8095081379
chore: update commitlint config
...
Signed-off-by: Ardalan Amini <[email protected] >
2024-02-14 22:10:48 +03:30
Ardalan Amini
2fd0629610
build(deps): bump @vercel/ncc from 0.36.1 to 0.38.1
...
Signed-off-by: Ardalan Amini <[email protected] >
2024-02-09 12:55:44 +03:30
Ardalan Amini
5e7513e81a
build(deps): bump @actions/core from 1.10.0 to 1.10.1
...
Signed-off-by: Ardalan Amini <[email protected] >
2024-02-09 12:48:41 +03:30
Ardalan Amini
24b662c8dd
build(deps): bump husky from 8.0.3 to 9.0.10
...
Signed-off-by: Ardalan Amini <[email protected] >
2024-02-08 19:31:46 +03:30
Ardalan Amini
3863883488
chore: update copyright year to 2024
...
Signed-off-by: Ardalan Amini <[email protected] >
2024-02-08 18:18:20 +03:30
Ardalan Amini
31f0c882d7
fix: input release-name-prefix default behaviour
...
Signed-off-by: Ardalan Amini <[email protected] >
2023-04-30 13:20:36 +03:30
Ardalan Amini
5df3903892
feat: add release-name-prefix input
...
Signed-off-by: Ardalan Amini <[email protected] >
2023-04-30 13:16:42 +03:30
Ardalan Amini
5c66757e75
refactor!: optimize changelog references
...
Signed-off-by: Ardalan Amini <[email protected] >
2023-04-30 02:33:42 +03:30
Ardalan Amini
158bae1587
feat: add ability to mark commit as breaking
...
Signed-off-by: Ardalan Amini <[email protected] >
2023-04-30 01:45:15 +03:30
Ardalan Amini
d3b6679b6f
feat: add ability to mark commit as breaking
...
Signed-off-by: Ardalan Amini <[email protected] >
2023-04-30 01:43:34 +03:30
Ardalan Amini
f676806e7f
feat: add ability to mark commit as breaking
...
Signed-off-by: Ardalan Amini <[email protected] >
2023-04-30 01:42:09 +03:30
Ardalan Amini
4b435e24d8
feat!: add use-github-autolink input
...
Signed-off-by: Ardalan Amini <[email protected] >
2023-04-30 01:30:07 +03:30
Ardalan Amini
d9c18ae1be
refactor!: don't include the commit sha when pull request reference is included
...
Signed-off-by: Ardalan Amini <[email protected] >
2023-04-30 01:18:31 +03:30
Ardalan Amini
45380686a1
refactor!: rename include-compare input to include-compare-link
...
Signed-off-by: Ardalan Amini <[email protected] >
2023-04-30 01:13:09 +03:30
Ardalan Amini
418818d74b
refactor: improve code quality ( #138 )
...
Signed-off-by: Ardalan Amini <[email protected] >
2023-04-29 22:47:35 +03:30
Ardalan Amini
94ac0796b7
build: replace npm with pnpm
...
Signed-off-by: Ardalan Amini <[email protected] >
2023-04-29 13:59:31 +03:30
Ardalan Amini
479475eda0
feat: add include-commit-links & include-pr-links action inputs ( #136 )
2023-04-15 14:20:40 +03:30
Ardalan Amini
45a1c18286
deps: Update dependencies ( #120 )
2022-12-05 17:52:08 +03:30
Ardalan Amini
b1f62f950a
fix: Wrong release-id output
2022-08-28 23:15:41 +04:30
Ardalan Amini
d07a4a7481
feat: Add release-id output ( #101 )
2022-08-28 23:05:17 +04:30
Ardalan Amini
4f7a312401
deps: Update dependencies
2022-08-14 20:15:30 +04:30
Ardalan Amini
758213b4ef
fix: GitHub application author references ( #100 )
2022-08-14 19:59:43 +04:30
Ardalan Amini
07ba2b1a32
deps(Dev): Add eslint-config-noir version 1.1.1 ( #79 )
...
* chore: Update ESLint config
* deps(Dev): Add eslint-config-noir version 1.1.1
* chore: Update action directory
2022-06-12 14:29:56 +04:30
Ardalan Amini
daf4635d0b
Bump version from 3.2.0 to 3.2.1
2022-05-30 17:13:51 +04:30
Ardalan Amini
ab90235314
fix: Commit message regex missing some valid messages
2022-05-30 15:21:00 +04:30
Ardalan Amini
979eade40d
feat: Add ability to mention the commit authors ( #52 )
...
* feat: Add mention-authors input
* feat: Add ability to mention the commit authors
2022-04-29 14:45:42 +04:30
Ardalan Amini
25ded2b6f5
refactor: Changelog format ( #51 )
...
* refactor: Improve changelog generate function
* refactor: Changelog format
2022-04-29 13:52:33 +04:30
Ardalan Amini
a5eab9701f
refactor: Changelog format ( #50 )
2022-04-29 12:39:37 +04:30
Ardalan Amini
a3982c4b9b
feat: Include new contributors in the changelog ( #49 )
...
* feat: Add mention-new-contributors input
* deps: Add marked version 4.0.14
* feat: Include new contributors in the changelog
* revert: Test workflow changes
2022-04-29 11:18:38 +04:30
Ardalan Amini
49a93eccf5
feat: Add include-compare input
2022-04-29 10:38:47 +04:30
Ardalan Amini
a4aa721e58
feat: Include GitHub compare link in the changelog ( #48 )
...
* feat: Include GitHub compare link in the changelog
* fix: Full Changelog link markdown position
2022-04-29 10:14:55 +04:30
Ardalan Amini
b8f380a3db
refactor: Update changelog headers
2022-04-29 01:04:18 +04:30
Ardalan Amini
764e9e6cc1
feat: Add release-name input
2022-04-29 00:43:46 +04:30
Ardalan Amini
bd78d66436
feat: Add semantic versioning compatibility ( #47 )
...
* feat: Use regex groups
* feat: Add semver input
* deps: Add semver v7.3.7
* deps(Dev): Add @types/semver v7.3.9
* feat: Add prerelease output
* chore: Update action directory
* feat: Log prerelease value
* ci(GitHub): Update release workflow
* docs: Update README.md
* feat: Add ability to detect previous version based on semver comparison
* ci(GitHub): fix test workflow
2022-04-29 00:06:26 +04:30
dependabot[bot] and Ardalan Amini
2a25fdc7af
deps: bump yaml from 1.10.2 to 2.0.0 ( #36 )
...
* deps: bump yaml from 1.10.2 to 2.0.0
Bumps [yaml](https://github.com/eemeli/yaml ) from 1.10.2 to 2.0.0.
- [Release notes](https://github.com/eemeli/yaml/releases )
- [Commits](https://github.com/eemeli/yaml/compare/v1.10.2...v2.0.0 )
---
updated-dependencies:
- dependency-name: yaml
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
* chore: Update action directory
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ardalan Amini <[email protected] >
2022-04-10 18:57:02 +04:30
dependabot[bot] and Ardalan Amini
1a10e9f851
deps: bump @actions/github from 5.0.0 to 5.0.1 ( #35 )
...
* deps: bump @actions/github from 5.0.0 to 5.0.1
Bumps [@actions/github](https://github.com/actions/toolkit/tree/HEAD/packages/github ) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/actions/toolkit/releases )
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/github/RELEASES.md )
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/github )
---
updated-dependencies:
- dependency-name: "@actions/github"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
* chore: Update action directory
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ardalan Amini <[email protected] >
2022-04-10 18:53:23 +04:30
Ardalan Amini
1c2ccf6402
breaking: Rename token input to github-token
2022-03-04 20:02:31 +03:30
Ardalan Amini
ea01804ccf
feat: Add commit-types & default-commit-type inputs ( #15 )
...
* deps: Add `yaml` version `1.10.2`
* deps: Add `joi` version `17.6.0`
* feat: Add `commit-types` & `default-commit-type` inputs
* ci: Update `Test` workflow
* chore: Update `README.md`
2022-03-04 14:17:53 +03:30
Ardalan Amini
c72a270e90
breaking: Remove the exclude input
2022-03-04 12:06:15 +03:30
Ardalan Amini
e9751852bf
chore: Update action directory [ignore]
2022-02-28 21:52:57 +03:30
Ardalan Amini
e0339f1f01
feat: Add default token input value
2022-02-28 21:35:00 +03:30
Ardalan Amini
7cb2e018cf
fix: Changelog containing commits after the current tag ( #7 )
2022-02-20 18:17:51 +03:30