100 Commits
Author SHA1 Message Date
Ardalan Aminiandcoderabbitai[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 99fcfc116e ci: rename the default branch from master to main
Signed-off-by: Ardalan Amini <[email protected]>
2025-06-07 21:53:22 +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 6ad4eed2af chore: address dependabot reviewers deprecation
Signed-off-by: Ardalan Amini <[email protected]>
2025-06-07 16:01:22 +03:30
Ardalan Amini 53bca6cd27 docs: add Codecov badge to README.md
Signed-off-by: Ardalan Amini <[email protected]>
2025-06-07 15:47:17 +03:30
Ardalan Amini 57f03f3825 ci: integrate Codecov report action
Signed-off-by: Ardalan Amini <[email protected]>
2025-06-07 15:44:30 +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 3c1177539c ci: update test workflow
Signed-off-by: Ardalan Amini <[email protected]>
2025-02-27 14:47:10 +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 622055a0f7 chore: update .gitattributes file
The .gitattributes file has been updated to automatically detect text files and normalize end-of-line (EOL) sequences to Line Feed (LF) for all files. Prior to this, only TypeScript and JavaScript files were being normalized.

Signed-off-by: Ardalan Amini <[email protected]>
2024-02-14 21:52:59 +03:30
Ardalan Amini e6ff4da580 4.0.1 2024-02-09 13:01:10 +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 e376f591e6 build(deps): remove @types/marked from dev dependencies
Signed-off-by: Ardalan Amini <[email protected]>
2024-02-09 12:53:59 +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 7e528e30f9 ci: add mention-new-contributors input in test workflow
Signed-off-by: Ardalan Amini <[email protected]>
2024-02-08 19:00:03 +03:30
Ardalan Amini 7a2a29dce5 ci: use default github-token input in test workflows
Signed-off-by: Ardalan Amini <[email protected]>
2024-02-08 18:45:07 +03:30
Ardalan Amini d271e2c7c6 ci(deps): update action Node.js version from 16 to 20
Signed-off-by: Ardalan Amini <[email protected]>
2024-02-08 18:30:31 +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 2e3b5942cc 4.0.0 2023-04-30 13:31:03 +03:30
Ardalan Amini 6f8acfbacb chore: update README.md
Signed-off-by: Ardalan Amini <[email protected]>
2023-04-30 13:29:38 +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 c55ed3a9be 4.0.0-beta.1 2023-04-30 02:34:47 +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 7db6dea08c refactor!: use conventional commit types by default
Signed-off-by: Ardalan Amini <[email protected]>
2023-04-30 02:06:18 +03:30
Ardalan Amini 06b776ed15 chore: update README.md
Signed-off-by: Ardalan Amini <[email protected]>
2023-04-30 01:52:11 +03:30
Ardalan Amini 349747e952 4.0.0-beta.0 2023-04-30 01:47:19 +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 1e734abbf9 build: replace npm with pnpm
Signed-off-by: Ardalan Amini <[email protected]>
2023-04-29 14:04:19 +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 afc11685c2 3.3.3 2023-04-15 14:22:42 +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 59a206c296 3.3.2 2022-12-05 17:57:07 +03:30
Ardalan Amini 45a1c18286 deps: Update dependencies (#120) 2022-12-05 17:52:08 +03:30
Ardalan Amini b136d1da2a 3.3.1 2022-08-28 23:16:04 +04:30
Ardalan Amini b1f62f950a fix: Wrong release-id output 2022-08-28 23:15:41 +04:30
Ardalan Amini cfdd243b53 3.3.0 2022-08-28 23:08:48 +04:30
Ardalan Amini d07a4a7481 feat: Add release-id output (#101) 2022-08-28 23:05:17 +04:30
Ardalan Amini 2600f0082f Bump version from 3.2.1 to 3.2.2 2022-08-14 20:17:51 +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 632ece8029 ci(Dependabot): Update dependabot config 2022-08-14 19:39:14 +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 9096dc4a18 Bump version from 3.2.0-beta.2 to 3.2.0 2022-04-29 14:52:24 +04:30
Ardalan Amini 415fffe66b Bump version from 3.2.0-beta.1 to 3.2.0-beta.2 2022-04-29 14:47:12 +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 fb0a5b1b30 Bump version from 3.2.0-beta.0 to 3.2.0-beta.1 2022-04-29 13:55:39 +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 674f648c28 Bump version from 3.1.0 to 3.2.0-beta.0 2022-04-29 12:40:59 +04:30
Ardalan Amini a5eab9701f refactor: Changelog format (#50) 2022-04-29 12:39:37 +04:30
Ardalan Amini 344a191745 Bump version from 3.1.0-beta.1 to 3.1.0 2022-04-29 11:26:12 +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 cb7953b17f Bump version from 3.1.0-beta.0 to 3.1.0-beta.1 2022-04-29 10:16:58 +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 4f2084e0da Bump version from 3.0.0 to 3.1.0-beta.0 2022-04-29 01:05:10 +04:30
Ardalan Amini b8f380a3db refactor: Update changelog headers 2022-04-29 01:04:18 +04:30
Ardalan Amini 77022c930c docs: Update README.md 2022-04-29 00:50:07 +04:30
Ardalan Amini 764e9e6cc1 feat: Add release-name input 2022-04-29 00:43:46 +04:30
Ardalan Amini e765067aae ci(GitHub): fix test workflow 2022-04-29 00:24:25 +04:30
Ardalan Amini 5bb7d3ea8c Bump version from 2.0.1 to 3.0.0 2022-04-29 00:09:36 +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
Ardalan Amini de993f2bea chore: Update dependabot config 2022-04-28 21:11:20 +04:30
Ardalan Amini ece434a186 Bump version from 2.0.0 to 2.0.1 2022-04-10 19:00:18 +04:30
Ardalan Amini 9027c046b4 deps(Dependabot): Update dependabot.yml 2022-04-10 18:33:33 +04:30
Ardalan Amini 8a1eecd097 Bump version from 1.4.0 to 2.0.0 2022-03-04 20:06:18 +03:30
Ardalan Amini 1c2ccf6402 breaking: Rename token input to github-token 2022-03-04 20:02:31 +03:30
Ardalan Amini 14b75da465 chore: Add .github/dependabot.yml 2022-03-04 15:56:55 +03:30
Ardalan Amini 22a0796f91 docs: Update README.md 2022-03-04 15:36:13 +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 28e85c2476 Bump version from 1.3.0 to 1.4.0 2022-03-04 11:50:03 +03:30
Ardalan Amini 0c52b186aa chore: Update README.md 2022-03-04 11:47:19 +03:30
Ardalan Amini c1e3e9de7b chore: Deprecate the exclude input (#14) 2022-03-04 11:31:38 +03:30
Ardalan Amini 8da1b40449 Bump version from 1.2.1 to 1.3.0 2022-02-28 22:10:26 +03:30
Ardalan Amini 7dc7a89b14 deps: Add .github/dependabot.yml 2022-02-28 22:05:31 +03:30
Ardalan Amini 1c0fb135af ci: Update workflows 2022-02-28 22:02:22 +03:30
Ardalan Amini e9751852bf chore: Update action directory [ignore] 2022-02-28 21:52:57 +03:30
Ardalan Amini b3dc12bbd4 refactor: Improve changelog output order
Closes #8
2022-02-28 21:48:20 +03:30
Ardalan Amini e0339f1f01 feat: Add default token input value 2022-02-28 21:35:00 +03:30
Ardalan Amini fd17079b83 Bump version from 1.2.0 to 1.2.1 2022-02-20 18:18:28 +03:30
Ardalan Amini 7cb2e018cf fix: Changelog containing commits after the current tag (#7) 2022-02-20 18:17:51 +03:30
Ardalan Amini 8bfda644cc ci: Update release.yml workflow 2022-02-20 18:08:49 +03:30
Ardalan Amini c6cd7356c9 chore: Update README.md 2022-02-20 17:41:03 +03:30
Ardalan Amini 2684063936 deps(Action): Update Node.js from 12 to 16 2022-02-20 17:40:40 +03:30
Ardalan Amini a4742a1b5f deps(Dev): Update prettier from 2.3.1 to 2.5.1 2022-02-20 17:37:40 +03:30