Commit Graph
100 Commits
Author SHA1 Message Date
Mike PenzandGitHub b1ea770a88 - reformat source - lineLength 120 2022-07-29 13:48:53 +00:00
Mike PenzandGitHub f0d418bd0c Merge pull request #834 from mikepenz/feature/dependency_upgrades_20220729
Update dependencies | `@types/node`
2022-07-29 13:18:48 +02:00
Mike PenzandGitHub 72b4e5f1ef - update dependencies
```
    "@types/node": "^18.6.1",
```
2022-07-29 11:11:02 +00:00
Mike PenzandGitHub 8dddfc270f Merge pull request #833 from mikepenz/feature/config_json_in_yml
Provide configuration as string in `ci.yml`
2022-07-29 11:47:51 +02:00
Mike Penz c33f3467a2 - cancel actions on concurrent runs 2022-07-29 11:45:38 +02:00
Mike PenzandGitHub 3728477799 - test capability of providing json in yml 2022-07-29 09:34:33 +00:00
Mike PenzandGitHub f55f49981d - adjust placeholder for yml as ${{}} is reserved 2022-07-29 09:30:57 +00:00
Mike PenzandGitHub 02b79cb00a - introduce capability to define the Configuration via the build yml without the requirement of a file
- this also allows to generate changelogs without the need to chech-out
2022-07-29 09:21:44 +00:00
Mike PenzandGitHub ffcbb8e311 Merge pull request #831 from mikepenz/feature/830
Add  `branch` name to `PullRequestInfo`
2022-07-29 10:48:23 +02:00
Mike Penz c4a63d86ad - introduce branch (head ref) as data point in the PullRequestInfo object
- expand extractor to allow using the `branch` -> e.g. to extract the label
2022-07-27 17:19:50 +02:00
Mike PenzandGitHub 1c0b89a38e Fix README template sections 2022-07-27 16:55:31 +02:00
Mike PenzandGitHub 0e96047683 Merge pull request #827 from mikepenz/feature/fetch_release_information
Fetch GitHub release information
2022-07-26 17:01:01 +02:00
Mike Penz 5f32f47cd6 - update README with new placeholder items useable 2022-07-26 16:54:24 +02:00
Mike Penz d2a15abb64 - drop support for tag SHA as in most cases this information is not available at the moment
- introduce new testcase to verify `DAYS_SINCE` calculation
- fix wrong log messages using the `TagInfo` object instead the name
- add additional log messages
2022-07-26 16:48:06 +02:00
Mike Penz c061d0e577 - introduce new configuration flag to fetchReleaseInformation
- if enabled, it will unlock the ability to use new placeholders
  - `${{ DAYS_SINCE }}`
  - `${{ FROM_TAG_DATE }}`
  - `${{ TO_TAG_DATE }}`
- refactor to carry on the full `TagInfo` information instead of only the tagname
- refresh testcases to new apis
2022-07-26 16:47:23 +02:00
Mike PenzandGitHub 09ae38aa7f Merge pull request #826 from mikepenz/feature/output_commitmode
Also set diff information output for `commitMode`
2022-07-26 16:42:44 +02:00
Mike PenzandGitHub e28cff0b4c Merge pull request #825 from mikepenz/feature/local_debugging_testing
Include `Local Testing` section in README
2022-07-26 16:20:13 +02:00
Mike Penz 2fd6f64773 - ensure output is properly set also in commitMode 2022-07-26 14:42:20 +02:00
Mike Penz 0253e21cdc - add note on local testing / debugging via Visual Code 2022-07-26 14:37:20 +02:00
Mike PenzandGitHub 12f54a4f9b Merge pull request #824 from mikepenz/feature/dependency_updates_20220726
Update dependencies | Webpack 5.74.0
2022-07-26 14:30:38 +02:00
Mike Penz 9e31f53866 - update dependencies
```
    "webpack": "^5.74.0"
```
```
    "@types/node": "^18.6.1",
    "@typescript-eslint/parser": "^5.31.0",
    "eslint-plugin-github": "^4.3.7",
```
2022-07-26 14:22:18 +02:00
Mike PenzandGitHub 99ea554518 Merge pull request #823 from mikepenz/feature/diff_info_placeholders
Introduce new placeholders - Changed files, Additions, Deletions, Changes, Commits
2022-07-26 14:21:48 +02:00
Mike Penz 55354469a8 - introduce new additional placeholders useable for building the changelog
| **Placeholder**            | **Description**                                                                                    | **Empty** |
|----------------------------|----------------------------------------------------------------------------------------------------|:---------:|
| `${{CHANGED_FILES}}`       | The count of changed files.                                                                        |           |
| `${{ADDITIONS}}`           | The count of code additions (lines).                                                               |           |
| `${{DELETIONS}}`           | The count of code deletions (lines).                                                               |           |
| `${{CHANGES}}`             | The count of total changes (lines).                                                                |           |
| `${{COMMITS}}`             | The count of commits in this release.                                                              |           |

- restructure project to return additional diff related information along the individual commits
- update testcases to verify functionality of new placeholders
2022-07-26 14:14:16 +02:00
Mike PenzandGitHub 2b8bedc47a Merge pull request #818 from mikepenz/feature/dependency_updates_20220722
Dependency updates 2022.07.22
2022-07-22 09:56:23 +02:00
Mike Penz 131ff98d22 - dependency updates
```
    "@octokit/rest": "^19.0.3",
```
```
    "@types/jest": "^28.1.6",
    "@types/node": "^18.0.6",
    "@typescript-eslint/parser": "^5.30.7",
    "eslint": "^8.20.0",
    "eslint-plugin-jest": "^26.6.0",
    "jest": "^28.1.3",
    "jest-circus": "^28.1.3",
    "ts-jest": "^28.0.7",
```
2022-07-22 09:49:10 +02:00
Mike PenzandGitHub 401210947f Merge pull request #807 from mikepenz/feature/upgrade_ci_20220708
Improve CI pipelines
2022-07-08 11:01:15 +02:00
Mike PenzandGitHub 8761777ada Merge pull request #806 from mikepenz/feature/dependency_upgrades_20220708
Dependency upgrades - 2022.07.08
2022-07-08 10:54:35 +02:00
Mike Penz ca96efe4c6 - upgrade CI pipelines
- introduce dist check
2022-07-08 10:54:25 +02:00
Mike PenzandGitHub 4c35c42602 Merge pull request #805 from mikepenz/feature/804
Introduce `empty_content` configuration option for categories
2022-07-08 10:47:58 +02:00
Mike Penz 4360ffd09f - update dependencies to latest stable versions
```
    "@octokit/rest": "^19.0.1",
    "moment": "^2.29.4",
```
```
    "@types/jest": "^28.1.4",
    "@types/node": "^18.0.3",
    "@typescript-eslint/parser": "^5.30.5",
    "eslint": "^8.19.0",
    "jest": "^28.1.2",
    "jest-circus": "^28.1.2",
    "typescript": "^4.7.4"
```
2022-07-08 10:43:24 +02:00
Mike Penz 89475f1193 - introduce new configuration option, allowing to provide an empty_content for categories matching no PRs
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/804
2022-07-08 10:40:47 +02:00
Mike PenzandGitHub 9628cd4fe0 - use new warning and note syntax 2022-07-03 15:53:01 +02:00
Mike PenzandGitHub 943b211edc Merge pull request #794 from mikepenz/fix/790
Update README to use different release action
2022-06-22 10:56:47 +02:00
Mike PenzandGitHub e99e680cdc - Update README to use different release action
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/790
2022-06-22 08:32:13 +00:00
Mike Penz 2ef19db678 - fix more preview images 2022-06-16 15:22:22 +02:00
Mike Penz d40bbdbd45 - fix broken preview image 2022-06-16 15:21:43 +02:00
Mike PenzandGitHub 4768b8bc30 Merge pull request #786 from mikepenz/feature/dependency_updates_20220616
Dependency updates 2022.06.16
2022-06-16 15:12:06 +02:00
Mike Penz df81df33e7 - update
```
    "@actions/core": "^1.9.0",
    "@octokit/rest": "^18.12.0",
    "@types/semver": "^7.3.10",
    "@types/jest": "^28.1.1",
    "@types/node": "^18.0.0",
    "@typescript-eslint/parser": "^5.28.0",
    "@vercel/ncc": "^0.34.0",
    "eslint": "^8.17.0",
    "eslint-plugin-jest": "^26.5.3",
    "jest": "^28.1.1",
    "jest-circus": "^28.1.1",
```
2022-06-16 15:04:28 +02:00
Mike Penz d246f23caf Merge branch 'ipcjs-pr/about-totag' into develop 2022-06-16 15:00:39 +02:00
Mike Penz 99572f3216 - expand wording that valid git refs can be used instead of tags too 2022-06-16 15:00:14 +02:00
Mike PenzandGitHub 6c807b044d - recompile dist with GitHub codespaces 2022-05-16 06:40:15 +00:00
Mike Penz cb4b8d3ade - update README base config to v3 2022-05-13 15:47:10 +02:00
Mike PenzandGitHub 8b141a9afd Merge pull request #759 from mikepenz/feature/757
Additional sort configuration options
2022-05-13 12:05:59 +02:00
Mike Penz 939712bd2c - outline new construct for sort config 2022-05-13 11:31:31 +02:00
Mike Penz 0bb7bd0176 - expand configuration specification by offering sorting by alternative properties -> title instead of mergedAt.
- add more testcases to cover the new sort orders
  - FIX https://github.com/mikepenz/release-changelog-builder-action/issues/757
2022-05-13 11:28:46 +02:00
Mike PenzandGitHub 91d5ed10ec Merge pull request #758 from mikepenz/feature/dependency_updates_20220513
Dependency upgrades 2022.05.13
2022-05-13 10:29:58 +02:00
Mike Penz 0eccbb0a68 - dependency upgrades
```
    "@actions/core": "^1.8.1",
    "@actions/github": "^5.0.2",
    "moment": "^2.29.3",
    "tunnel": "^0.0.6", <-- temporarily until https://github.com/actions/toolkit/issues/1083 is fixed
    "webpack": "^5.72.1"
    "@types/jest": "^27.5.1",
    "@types/node": "^17.0.33",
    "@typescript-eslint/parser": "^5.23.0",
    "eslint": "^8.15.0",
    "eslint-plugin-jest": "^26.1.5",
    "jest": "^28.1.0",
    "jest-circus": "^28.1.0",
    "ts-jest": "^28.0.2",
    "typescript": "^4.6.4"
```
2022-05-13 10:10:43 +02:00
Mike PenzandGitHub 79a53b0d88 Merge pull request #736 from mikepenz/feature/update_sec
Update Security.md contact mail
2022-04-15 15:58:21 +02:00
Mike PenzandGitHub 861a1f6fe6 Update SECURITY.md 2022-04-15 15:53:07 +02:00
Mike PenzandGitHub a3754948ac Merge pull request #734 from mikepenz/feature/dependency_upgrades_20220415
Dependency upgrades
2022-04-15 10:42:48 +02:00
Mike Penz 3554469804 - dependency upgrades
```
    "semver": "^7.3.7",
    "@typescript-eslint/parser": "^5.19.0",
    "@types/node": "^17.0.24",
    "@vercel/ncc": "^0.33.4",
    "eslint": "^8.13.0",
```
2022-04-15 10:38:01 +02:00
Mike Penz a86b1b7058 - format the main.ts class 2022-04-15 10:36:10 +02:00
Mike PenzandGitHub fe2fbf90e3 Merge pull request #728 from mikepenz/feature/720
Introduce new API offering the ability to fetch reviewers who approved PRs
2022-04-15 10:33:05 +02:00
Mike PenzandGitHub 4d2ba0eaf1 Merge pull request #726 from mikepenz/feature/725
Introduce new API to include open PRs within the generated changelog
2022-04-15 10:31:09 +02:00
Mike Penz d0b0f4a6b9 - expand README with new configuration options
- expand action.yml with new input param
2022-04-08 12:13:22 +02:00
Mike Penz 1e867df2de - introduce new flag allowing to fetch reviewers who approved PRs
- add new testcase which verifies approvers being included
  - adjust config for some test cases to verify reviewers not being pulled if disabled
2022-04-08 12:13:21 +02:00
Mike Penz df9a35580f - include open is disabled by default 2022-04-08 12:13:14 +02:00
Mike Penz 485266b0da - expand README with new additional placeholders 2022-04-08 12:08:19 +02:00
Mike Penz bddcf0df76 - expand action.yml definition with new inputs and outputs 2022-04-08 11:58:00 +02:00
Mike Penz f60b8b4167 - expand custom assignment and add testcase to verify ability to construct custom categories involving states of PRs 2022-04-08 11:00:40 +02:00
Mike Penz 6211ea4995 - expand log messages
- introduce test case to verify the inclusion of the open PR as part of the standard PR set
2022-04-08 11:00:39 +02:00
Mike Penz 85af6a8181 - introduce new flag to include open PRs into the changelog
- only fetch open with this flag
- expand pull request spec with
  - status, created at timestamp
- expand definition for placeholder patterns in the changelog
2022-04-08 11:00:39 +02:00
Mike PenzandGitHub 7a59e9f4b4 Merge pull request #727 from mikepenz/feature/upgrade_dependencies_20220408
Upgrade npm dependencies 2022.04.08
2022-04-08 11:00:14 +02:00
Mike Penz 1965fbb393 - upgrade dependencies
```
    "@actions/exec": "^1.1.1",
    "@actions/github": "^5.0.1",
    "moment": "^2.29.2",
    "semver": "^7.3.6",
    "webpack": "^5.72.0"
    "@typescript-eslint/parser": "^5.18.0",
    "@types/node": "^17.0.23",
    "eslint": "^8.12.0",
    "eslint-plugin-jest": "^26.1.4",
    "prettier": "2.6.2",
    "ts-jest": "^27.1.4",
    "typescript": "^4.6.3"
```
2022-04-08 10:55:31 +02:00
Mike PenzandGitHub 2114e8b947 Merge pull request #712 from mikepenz/dependabot/npm_and_yarn/eslint-plugin-github-4.3.6
build(deps-dev): bump eslint-plugin-github from 4.3.5 to 4.3.6
2022-03-31 13:37:27 +02:00
Mike PenzandGitHub 305e4dda94 Merge pull request #716 from mikepenz/dependabot/npm_and_yarn/eslint-plugin-jest-26.1.3
build(deps-dev): bump eslint-plugin-jest from 26.1.1 to 26.1.3
2022-03-31 13:34:12 +02:00
Mike PenzandGitHub df6d2ce874 Merge pull request #718 from mikepenz/dependabot/npm_and_yarn/minimist-1.2.6
build(deps): bump minimist from 1.2.5 to 1.2.6
2022-03-30 08:50:38 +02:00
Mike PenzandGitHub 29865581d8 Merge pull request #708 from mikepenz/feature/upgrade_node16
Upgrade action to use node16 | Dependency upgrades
2022-03-16 13:01:37 +01:00
Mike Penz d557b224ae - upgrade action to use node16 as engine
- dependency upgrades
```
    "webpack": "^5.70.0"
    "@types/jest": "^27.4.1",
    "@typescript-eslint/parser": "^5.15.0",
    "@types/node": "^17.0.21",
    "@vercel/ncc": "^0.33.3",
    "eslint": "^8.11.0",
    "eslint-plugin-jest": "^26.1.1",
    "prettier": "2.6.0",
    "typescript": "^4.6.2"
```
2022-03-16 12:55:47 +01:00
Mike PenzandGitHub 9f18310dfa Merge pull request #706 from mikepenz/feature/add_debug_logs
Expand debug logs by PRs in specific categories
2022-03-16 12:49:55 +01:00
Mike Penz 23e9b5fc5a - add additional debug logs to help identify which prs ended up in which category 2022-03-15 08:44:58 +01:00
Mike PenzandGitHub e566ac58d7 Merge pull request #685 from mikepenz/feature/681
Expand new configuration option `exclude_labels` to `Category`
2022-02-11 11:23:19 +01:00
Mike Penz ede7620da2 - expand documentaiton 2022-02-11 11:17:48 +01:00
Mike Penz 3ece3bdbac - expand README with new exclude_labels 2022-02-11 11:15:39 +01:00
Mike Penz 603140e9ac - add test case to verify exclude_label functions as expected 2022-02-11 11:12:56 +01:00
Mike Penz a0a47047d6 - add new ability to define exclude_labels for categories (give greater flexibility)
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/681
2022-02-11 11:12:39 +01:00
Mike PenzandGitHub 0b69e37c22 Merge pull request #684 from mikepenz/feature/dep_updates_20220211
Dependency updates 2022.02.11
2022-02-11 10:46:51 +01:00
Mike Penz 9f25f28287 ```
"@typescript-eslint/parser": "^5.11.0",
    "@types/node": "^17.0.17",
    "eslint-plugin-jest": "^26.1.0",
    "jest": "^27.5.1",
    "jest-circus": "^27.5.1",
```
2022-02-11 10:29:06 +01:00
Mike PenzandGitHub 8e61f769fc Merge pull request #669 from mikepenz/feature/667
Introduce new RELEASE_DIFF placeholder
2022-02-02 18:28:09 +01:00
Mike Penz 29543cec44 - introduce test case to verify release diff generation 2022-02-02 18:24:03 +01:00
Mike Penz c8b0107b59 - introduce new RELEASE_DIFF placeholder, adding a full diff link
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/667
  - Thanks for the proposal @maxisam
2022-02-02 18:21:37 +01:00
Mike PenzandGitHub 292179d486 Merge pull request #665 from mikepenz/feature/dependency_updates_20220201
NPM Dependency updates
2022-02-01 18:04:51 +01:00
Mike Penz 680fb457d1 ```
"webpack": "^5.68.0"
    "@typescript-eslint/parser": "^5.10.2",
    "@types/node": "^17.0.14",
    "eslint": "^8.8.0",
```
2022-02-01 18:00:04 +01:00
Mike PenzandGitHub a6d07f6ae6 Merge pull request #664 from mikepenz/feature/658
Add count of categorized and uncategorized items to output
2022-02-01 17:57:57 +01:00
Mike Penz c1f978e272 - introduce output with the categorised count of prs
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/658
2022-02-01 17:52:51 +01:00
Mike Penz 8151a3f1e0 Merge branch 'lerebear-develop' into develop 2022-02-01 17:42:37 +01:00
Mike Penz a31e760a9b - recompile dist with fix 2022-02-01 17:42:27 +01:00
Mike PenzandGitHub b37e20ca2f Merge pull request #655 from mikepenz/feature/dependency_updates_20220128
Update dependencies to latest stable version
2022-01-28 20:44:45 +01:00
Mike Penz 5e6516b935 - upgrade dependencies to latest stable version
```
    "webpack": "^5.67.0"
    "@typescript-eslint/parser": "^5.10.1",
    "@types/node": "^17.0.13",
    "eslint": "^8.7.0",
    "eslint-plugin-jest": "^26.0.0",
    "ts-jest": "^27.1.3",
    "typescript": "^4.5.5"
```
2022-01-28 20:40:29 +01:00
Mike PenzandGitHub 511ca611f1 Merge pull request #654 from mikepenz/feature/651
Add ability to specify `on_property` as array
2022-01-28 20:37:02 +01:00
Mike Penz b5ad2456c8 - introduce ability to specify on_property on extractors as Array.
- simplify setup of more complex definitions
  - FIX https://github.com/mikepenz/release-changelog-builder-action/issues/651
2022-01-28 18:17:27 +01:00
Mike PenzandGitHub e0a4c3fc64 Merge pull request #638 from mikepenz/feature/dependency_updates_20220107
Dependency updates 2022.01.07
2022-01-07 09:55:59 +01:00
Mike Penz 28deab6aa9 ```
@types/jest                ^27.0.3  →  ^27.4.0
 @typescript-eslint/parser   ^5.8.0  →   ^5.9.0
 @types/node                ^17.0.2  →  ^17.0.8
 eslint                      ^8.5.0  →   ^8.6.0
 eslint-plugin-jest         ^25.3.0  →  ^25.3.4
 jest                       ^27.4.5  →  ^27.4.7
 jest-circus                ^27.4.5  →  ^27.4.6
```
2022-01-07 09:52:03 +01:00
Mike PenzandGitHub 22312e9533 Merge pull request #632 from yuhao-su/develop
Fix fetching PR iterator options, based on merge order
2022-01-07 09:49:31 +01:00
Mike PenzandGitHub be2051033d Merge pull request #624 from mikepenz/feature/dependency_updates_20211222
Update dependencies
2021-12-22 12:04:20 +01:00
Mike Penz b0ef6caa29 - dependency updates 2021-12-22 11:44:53 +01:00
Mike Penz 01b8841de5 Merge branch 'leog-develop' into develop 2021-12-04 11:29:42 +01:00
Mike Penz 1f501897d7 - recompile dist 2021-12-04 11:27:55 +01:00
Mike Penz 425fab789a - retain package-lock.json, and drop ci change 2021-12-04 11:24:15 +01:00
Mike PenzandGitHub 8178b36b5a Merge pull request #608 from mikepenz/feature/update_dependencies_20211203
Update to latest set of dependencies
2021-12-03 12:04:02 +01:00