Commit Graph
238 Commits
Author SHA1 Message Date
Mike PenzandGitHub d8188193ab - drop github prefix of pr-collector 2023-08-18 16:56:13 +00:00
Mike PenzandGitHub 30d4407725 - clean re-build the dist folder 2023-08-02 13:43:09 +00:00
Mike PenzandGitHub 20c68db309 - no need to fetch tags if from and to are already precisely defined 2023-08-02 13:37:06 +00:00
Mike PenzandGitHub 042bbe5d5c - ensure project is recompiled cleanly 2023-07-28 13:46:07 +00:00
Mike PenzandGitHub 79ee621728 - optimize break condition, if we collected enough PRs 2023-07-28 13:35:06 +00:00
Mike PenzandGitHub b056614f61 - optimize break condition, if we collected enough PRs 2023-07-28 12:55:55 +00:00
Mike PenzandGitHub 240554bbf4 - upgrade all node dependencies
```
    "@octokit/rest": "^20.0.1",
    "node-fetch": "^3.3.2",
```
2023-07-28 11:47:20 +00:00
Mike PenzandGitHub f0cbee5a3a - add new configuration to enable exportCache (disabled by default)
- this changes behavior since `rc04`
2023-07-28 11:24:47 +00:00
Mike PenzandGitHub a474b82119 - respect the exclude label for the uncategorized cateogry
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/1178
2023-07-28 10:22:16 +00:00
Mike PenzandGitHub 39e5c22e1c - fix lint errors 2023-07-28 10:20:04 +00:00
Mike PenzandGitHub e463dcb45c - introduce new configuration fetchViaCommits which is best suited for environments with shorter diffs and/or squash merging (1 api request per commit) 2023-07-28 10:08:07 +00:00
Mike PenzandGitHub 985ee60688 - use the right commit for from date 2023-07-28 07:49:48 +00:00
Mike PenzandGitHub b1ec88d831 - sort PRs from API based on updated (merged is not an option)
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/1176
- honor authorDate and commitDate seperatly when detecting the PR date range to consider
2023-07-28 07:44:27 +00:00
Mike PenzandGitHub e0c6294ad2 - fix tag_resolver.transformer not respecting configuration
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/1175
2023-07-28 07:08:26 +00:00
Mike PenzandGitHub da760e9604 - fix problem resulting in toTag and fromTag name not correctly set after retrieving from cache 2023-07-18 20:07:34 +00:00
Mike PenzandGitHub 9196792cd5 - revert octokit/rest upgrade as this require node 18 (which github actions does not yet support) 2023-07-14 09:08:33 +00:00
Mike PenzandGitHub 34e64f17ce - upgrade final dependencies to solve compile errors 2023-07-14 08:44:12 +00:00
Mike PenzandGitHub f556874ff0 - improve setting the outputs when loading the pr data from the cache 2023-07-13 07:59:19 +00:00
Mike PenzandGitHub 99c5a385af - ensure we re-create a moment instance from the cache loaded data 2023-07-12 19:11:32 +00:00
Mike PenzandGitHub ea9a74b697 ```
@octokit/rest              ^19.0.11  →  ^19.0.13
 @types/node                 ^20.3.0  →   ^20.4.0
 @typescript-eslint/parser   ^5.59.9  →   ^5.61.0
 eslint                      ^8.42.0  →   ^8.44.0
 eslint-plugin-jest          ^27.2.1  →   ^27.2.2
 jest                        ^29.5.0  →   ^29.6.1
 jest-circus                 ^29.5.0  →   ^29.6.1
 prettier                      2.8.8  →     3.0.0
 ts-jest                     ^29.1.0  →   ^29.1.1
 typescript                   ^5.1.3  →    ^5.1.6
 ```
2023-07-07 08:14:04 +00:00
Mike PenzandGitHub cd529e7057 - allow an Transformer[] beside a Transformer 2023-06-18 16:19:21 +00:00
Mike PenzandGitHub 236a880ab7 - move pre-release detection to "versioning" 2023-06-18 15:44:21 +00:00
Mike PenzandGitHub 48896744b7 - update the default categories to include the uncategorized category 2023-06-11 20:07:14 +00:00
Mike PenzandGitHub 831ac3e7ee - introduce the ability to reference parent / child PR relationships
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/1074
- optimize placeholder removal
- only keep placeholders in array if we have values
2023-06-04 18:48:53 +00:00
Mike PenzandGitHub e2fe4592e1 - adjust log message 2023-06-04 10:59:59 +00:00
Mike PenzandGitHub 5dd6b400c7 - replace ENV variable output with normal output (requires re-passing)
- update README
2023-06-04 10:20:31 +00:00
Mike PenzandGitHub 91da901770 - move around some parts of the code 2023-06-04 09:59:53 +00:00
Mike PenzandGitHub bdefc2e9f2 - null check 2023-06-03 11:26:42 +00:00
Mike PenzandGitHub e7dc26611c - move pr collection into npm module
(publish without any furhter notes or docs)
- refactor action to use npm dependency
2023-06-03 11:22:52 +00:00
Mike PenzandGitHub aade670634 ```
@types/jest                ^29.5.1  →  ^29.5.2
 @types/node                ^20.2.3  →  ^20.2.5
 @typescript-eslint/parser  ^5.59.7  →  ^5.59.8
 eslint                     ^8.41.0  →  ^8.42.0
 eslint-plugin-github        ^4.7.0  →   ^4.8.0
 typescript                  ^5.0.4  →   ^5.1.3
 webpack                    ^5.84.0  →  ^5.85.0
 ```
2023-06-03 09:03:08 +00:00
Mike PenzandGitHub 0a80bc9a3b - introduce capability of the action running 2 split
- first collect all pull requests and export to environment
  - second take exported data and continue generation of changelogs (makes it cheaper, by only collecting PRs once)
2023-05-26 13:41:59 +00:00
Mike PenzandGitHub 66470e5f14 - refactor action and move different functionalities in better classes
- merge releaseNotes and releaseNotesBuilder
- update testcases to cover new structure
2023-05-26 12:09:48 +00:00
Mike PenzandGitHub a010b03245 - npm upgrade 2023-05-25 18:09:49 +00:00
Mike PenzandGitHub 530c3cf734 ```
@octokit/rest              ^19.0.8  →  ^19.0.11
 @types/node                ^20.2.1  →   ^20.2.3
 @typescript-eslint/parser  ^5.59.6  →   ^5.59.7
 eslint                     ^8.40.0  →   ^8.41.0
 https-proxy-agent           ^6.2.0  →    ^7.0.0
 webpack                    ^5.83.1  →   ^5.84.0
 ```
2023-05-25 18:09:48 +00:00
Mike PenzandGitHub 5d46efec54 - add ability to provide key for cateogry, used for json ('categorized') output 2023-05-25 17:59:11 +00:00
Mike PenzandGitHub be9b53104e - include new categorized output which contains a serialized JSON string with the categorized pull requests 2023-05-19 16:22:11 +00:00
Mike PenzandGitHub fa8a70f37a - npm upgrade 2023-05-19 15:59:34 +00:00
Mike PenzandGitHub b23a9d08a2 ```
@octokit/rest              ^19.0.7  →  ^19.0.8
 @types/node                ^20.1.1  →  ^20.2.1
 @typescript-eslint/parser  ^5.59.5  →  ^5.59.6
 https-proxy-agent           ^6.1.0  →   ^6.2.0
 semver                      ^7.5.0  →   ^7.5.1
 webpack                    ^5.82.0  →  ^5.83.1
 ```
2023-05-19 15:56:34 +00:00
Mike PenzandGitHub 6a3ddaf821 ```
@types/node                ^18.16.3  →  ^20.1.1
 @types/semver               ^7.3.13  →   ^7.5.0
 @typescript-eslint/parser   ^5.59.2  →  ^5.59.5
 eslint                      ^8.39.0  →  ^8.40.0
 https-proxy-agent            ^5.0.1  →   ^6.1.0
 webpack                     ^5.81.0  →  ^5.82.0
 ```
2023-05-09 04:19:08 +00:00
Mike PenzandGitHub 9368ec2457 - rename to exhaustive_rules
- recompile dist
2023-05-03 17:49:57 +00:00
Federico M. Facca aa0c892e1d fix mapping to string of number value 2023-05-03 15:35:50 +02:00
Mike PenzandGitHub 0b85fe15a1 - recompile dist 2023-02-26 12:32:10 +00:00
Mike PenzandGitHub 6bf521e144 - introduce additional debug logs 2023-02-26 11:03:59 +00:00
Mike PenzandGitHub e760678c39 ```
@octokit/rest                ^19.0.5  →   ^19.0.7
 @types/jest                  ^29.2.5  →   ^29.4.0
 @types/node                ^18.11.18  →  ^18.14.0
 @typescript-eslint/parser    ^5.48.0  →   ^5.52.0
 @vercel/ncc                  ^0.36.0  →   ^0.36.1
 eslint                       ^8.31.0  →   ^8.34.0
 eslint-plugin-github          ^4.6.0  →    ^4.6.1
 eslint-plugin-jest           ^27.2.0  →   ^27.2.1
 jest                         ^29.3.1  →   ^29.4.3
 jest-circus                  ^29.3.1  →   ^29.4.3
 prettier                       2.8.1  →     2.8.4
 ts-jest                      ^29.0.3  →   ^29.0.5
 typescript                    ^4.9.4  →    ^4.9.5
 ```
2023-02-18 11:53:55 +00:00
Mike PenzandGitHub 63a38717ce - recompile dist 2023-02-18 11:50:48 +00:00
Mike PenzandGitHub 981b531f21 - ensure to detect if a PR was matched once (e.g. it's not not categorized) 2023-01-06 10:04:01 +00:00
Mike PenzandGitHub 50dd476bd1 - enhance handling for exhaustive matching
- exhaustive will apply on rules and labels alike
- simplify code
- introduce new testcases to check the new behavior
2023-01-06 09:13:30 +00:00
Mike PenzandGitHub f2b16254cf - update compiled code 2023-01-03 17:34:27 +00:00
Mike PenzandGitHub 77b2076a3f - add support for configs to be provided from file and json
- define priority on the config json from YML, followed by file, last with the default value
  - Simplify code by merging configs right away
  - thanks for the suggestion @dtcMLOps
2023-01-03 15:44:57 +00:00
Mike PenzandGitHub e0b335b098 - add ability to trim values prior to inserting them in templates 2022-12-09 14:55:28 +00:00