Mike Penz
89e7a9caf5
- valid does not take the includePrerelease option
2022-08-16 17:07:20 +02:00
Mike Penz
e5c1179611
- dependency updates
...
```
Package Current Wanted Latest Location Depended by
@octokit/rest 19.0.3 19.0.4 19.0.4 node_modules/@octokit/rest release-changelog-builder-action
@types/jest 28.1.6 28.1.7 28.1.7 node_modules/@types/jest release-changelog-builder-action
@types/node 18.6.5 18.7.6 18.7.6 node_modules/@types/node release-changelog-builder-action
@types/semver 7.3.10 7.3.12 7.3.12 node_modules/@types/semver release-changelog-builder-action
@typescript-eslint/parser 5.33.0 5.33.1 5.33.1 node_modules/@typescript-eslint/parser release-changelog-builder-action
eslint 8.21.0 8.22.0 8.22.0 node_modules/eslint release-changelog-builder-action
eslint-plugin-jest 26.8.2 26.8.3 26.8.3 node_modules/eslint-plugin-jest release-changelog-builder-action
ts-jest 28.0.7 28.0.8 28.0.8 node_modules/ts-jest release-changelog-builder-action
```
2022-08-16 16:56:54 +02:00
Malte Hallström
e8ee90b94f
- cleanup unmatched custom ph:s from pr template
2022-08-16 16:05:39 +02:00
Mike Penz and GitHub
e38965eec7
- adjust agent to be undefined instead of an empty object
2022-08-10 12:20:56 +00:00
Florian Hopfensperger
97db2b0c39
Add HTTP proxy functionality
...
Signed-off-by: Florian Hopfensperger <florian.hopfensperger@allianz.de >
- lower proxy functionality to Https for now (the general proxy package adds a ton of dependencies - which are difficult to review)
Add octokit documentation
Signed-off-by: Florian Hopfensperger <florian.hopfensperger@allianz.de >
Lint & build & packaged
Signed-off-by: Florian Hopfensperger <florian.hopfensperger@allianz.de >
2022-08-10 08:36:32 +02:00
Mike Penz and GitHub
63b88e3bff
- ensure log message is properly displayed as string
2022-08-09 16:47:12 +00:00
Mike Penz and GitHub
bed15c1b24
- add more logs for custom placeholders
...
- write up experimental docs for custom placeholders
2022-08-05 12:45:37 +00:00
Mike Penz
2f418c46e5
- exclude custom placeholder content if there was no match
2022-07-30 08:15:32 +02:00
Mike Penz and GitHub
74dd88f60c
- add logic which cleans up custom placeholders with the [] syntax which were not matched
2022-07-29 16:40:39 +00:00
Mike Penz and GitHub
fba9cdb51d
- expand custom placeholders to the global template
...
- introuce capability of accessing and referencing custom placeholders of PRs in the global template
```
${{CUSTOM_PLACEHOLDER[0]}}
${{CUSTOM_PLACEHOLDER[*]}}
```
- introduce new testcase checking the custom placeholder functionality
2022-07-29 16:11:14 +00:00
Mike Penz and GitHub
7b1021454a
- introduce capability for custom placeholders also to the global template
...
- introduce new convenient functions to handle this
2022-07-29 14:54:45 +00:00
Mike Penz and GitHub
15a108d43e
- introduce ES2021.String for replaceAll
...
- expand Configuration with `custom_placeholders` configuration
- custom placeholders allow to extract values of placeholders and then use these in templates
- refactor replacing PR template values
2022-07-29 14:29:50 +00:00
Mike Penz and GitHub
b1ea770a88
- reformat source - lineLength 120
2022-07-29 13:48:53 +00:00
Mike Penz and GitHub
f55f49981d
- adjust placeholder for yml as ${{}} is reserved
2022-07-29 09:30:57 +00:00
Mike Penz and GitHub
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 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 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 Penz
2fd6f64773
- ensure output is properly set also in commitMode
2022-07-26 14:42:20 +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 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
ipcjs
0bc0c91c3e
Update the note about from/toTag.
2022-06-06 16:08:31 +08: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
a86b1b7058
- format the main.ts class
2022-04-15 10:36:10 +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
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
Lere Williams
2f58d14b24
Set fromTag output
...
This makes sure to set the fromTag output which is currently documented
but not actually set.
2022-01-31 18:20:22 -08: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
yuhao-su
4404cf1118
fix fetching pr iterator
2022-01-02 02:03:46 +08:00
Leo Giovanetti
71cd64f865
Adding baseUrl for GHE auth
2021-12-03 18:47:02 -03:00
Mike Penz
1fa3f709a9
- add ability to provide an empty string in case the regex does not match
...
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/576
2021-11-12 11:36:29 +01:00
Mike Penz
8f1be1d114
- add debug log messages for transformer and filter
2021-11-06 10:13:51 +01:00
Mike Penz
e398a20e36
- add new ability to transform tags (tag name) prior to sorting, allowing to transform tags into semver format can be achieved
...
- tags will keep the original name post sorting
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/571
2021-11-06 10:13:46 +01:00
Mike Penz
0a1db911b6
- fix new tag filter not called
...
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/571
2021-11-06 10:13:40 +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
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
a035e38233
- introduce additional logging to better identify if configuration was configured and properly loaded.
...
- print configuration as json in debug
2021-09-14 13:26:01 +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