Commit Graph
98 Commits
Author SHA1 Message Date
Mike PenzandGitHub 6c807b044d - recompile dist with GitHub codespaces 2022-05-16 06:40:15 +00: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 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 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 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 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 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 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 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 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 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 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 a31e760a9b - recompile dist with fix 2022-02-01 17:42:27 +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 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 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 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
Leo Giovanetti 71cd64f865 Adding baseUrl for GHE auth 2021-12-03 18:47:02 -03:00
Mike Penz 8527351f16 - update to latest set of dependencies
```
 @types/jest                 ^27.0.2  →    ^27.0.3
 @typescript-eslint/parser    ^5.3.0  →     ^5.5.0
 @types/node                ^16.11.6  →  ^16.11.11
 @vercel/ncc                 ^0.31.1  →    ^0.33.0
 eslint                       ^8.1.0  →     ^8.3.0
 eslint-plugin-github         ^4.3.3  →     ^4.3.5
 eslint-plugin-jest          ^25.2.3  →    ^25.3.0
 jest                        ^27.3.1  →    ^27.4.3
 jest-circus                 ^27.3.1  →    ^27.4.2
 prettier                      2.4.1  →      2.5.0
 typescript                   ^4.4.4  →     ^4.5.2
 webpack                     ^5.61.0  →    ^5.64.4
```
2021-12-03 11:59:30 +01:00
Mike Penz f9b987aa7f - recompile dist with new features 2021-11-12 12:00:41 +01:00
Mike Penz 4d00b3eb4b - recompile dist 2021-11-06 10:13:58 +01:00
Mike Penz ed954db1f6 - add new ability to filter out tags based on a regex
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/566
2021-11-05 08:52:21 +01:00
Mike Penz f93f67fad5 - introduce new MERGE_SHA placeholder support into template for PRs (and commit SHA for commit mode)
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/552
2021-10-22 22:18:06 +02:00
Mike Penz fd64710192 - run npm upgrade to update all dependencies to latest version 2021-10-15 08:49:24 +02:00
Mike Penz 732c82c72e - npm upgrade, update all npm dependencies to latest version
- recompile dist
2021-09-24 09:31:07 +02:00
Mike Penz 99d5df5b47 - do not drop PRs if they did not result in an extracted identifier during deduplication
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/483
- adjust log to `info` if `ID` extraction fails for PR
- merge together PRs post deduplication (with unmatched array)
- ensure proper sorting of PRs post deduplication
2021-09-14 13:38:49 +02:00
Mike Penz 4580067a62 - specify all mapping to lowercase with explicit en locale 2021-09-14 13:04:50 +02:00
Mike Penz 7a28de97be - introduce new configuration duplicate_filter allowing to drop duplicated elements from the changelog
- restructure transform.ts to simplify code
  - introduce new test cases to verify new deduplication feature
2021-08-27 13:28:56 +02:00
Mike Penz cfac2f37a1 - introduce new configuration option to define category labels to be exhaustive
- require all labels of a category to be present in the matching PR
- update to typescript 4.4.x
- recompile dist
2021-08-27 11:41:20 +02:00
Mike Penz 8c6615fc6c - update README, recompile dist 2021-08-26 17:20:12 +02:00
Mike Penz d8f61a957d - introduce new match mechanism for the label_extractor. Allowed replace (default) vs match
- introduce new test case to verify match behavior
2021-08-26 16:41:45 +02:00
Mike Penz a753722e84 - introduce test cases for transform.test.ts
- add test case to highlight label extractor feature FIX https://github.com/mikepenz/release-changelog-builder-action/issues/450
  - test cases can easily be run via `npm test -- transform.test.ts`
- slightly simplify releaseNotes.ts and transform.ts
2021-08-26 16:05:04 +02:00
Mike Penz d22595ba8b - rework toTag resolving fallback if build was not started from a tag
- fallback to retrieve `toTag` from git API (only if 2 tags are available)
  - FIX https://github.com/mikepenz/release-changelog-builder-action/issues/427
  - FIX https://github.com/mikepenz/release-changelog-builder-action/issues/433
- introduce test case to verify
2021-08-15 10:56:55 +02:00
Mike Penz 6a2da2fa89 - upgrade dependencies
- recompile dist
- fix eslint errors, update eslint rules
2021-08-14 18:07:18 +02:00
Mike Penz 07268e45a6 - recompile library and run npm update
- add note on default full sample regarding labels
2021-07-30 14:06:12 +02:00
Mike Penz e810653634 - recompile dist
- run `npx npm-check-updates -u`
2021-07-07 09:01:11 +02:00
Mike Penz 9126d11d42 - commit recompiled dist 2021-07-05 16:52:06 +02:00
Mike Penz 762538b445 - if only a single tag is available resolve the initial commit as fallback. this is meant to support initial release scenarios
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/276
2021-07-05 08:57:37 +02:00
Mike Penz 99f650ca02 - simplify code 2021-06-23 11:57:53 +02:00
Mike Penz 4d47219031 - use toLocaleLowerCase to ensure we have proper locale dependent lowercase behavior
- ensure we also match the configuration case independent
2021-06-23 11:54:45 +02:00
Mike Penz 49aee4dc11 - recompile dist 2021-06-23 11:44:57 +02:00
invakid404 dead95343b build: package new changes 2021-06-23 12:18:45 +03:00
Mike Penz e38e90f582 - update npm dependencies to their latest versions 2021-06-21 09:08:15 +02:00
Mike Penz 1ede1423e0 - upgrade jest to v27
- recompile dist
2021-05-28 10:27:19 +02:00
Mike Penz 8ac69e5a28 - recompile dist
- npm upgrade
2021-05-28 09:57:15 +02:00
Mike Penz 1e433ff45a - add additional messages in case of no or just a single tag 2021-05-13 14:52:49 +02:00
Mike Penz 72dd6bb3ca - expand base_branches configuration to support a regex pattern to make it more flexible
- run npm update / upgrade
- recompile dist files
2021-04-30 10:55:14 +02:00