Commit Graph
96 Commits
Author SHA1 Message Date
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
Mike Penz 595c92f7b7 - define , joined list and set it as pull_requests output
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/451
2021-08-26 17:15:28 +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 5f56be2bf1 - use proper sha-1 2021-07-05 09:27:16 +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
invakid404 deadb8953d refactor: use mapPullRequest 2021-06-23 12:32:30 +03:00
invakid404 dead9527b4 feat: keep labels in a set and make them lowercase 2021-06-23 10:31:36 +03:00
invakid404 dead522cc2 refactor: fix typo 2021-06-23 10:11:31 +03:00
invakid404 deadcef62b feat: allow flags to be specified per transformer 2021-06-23 10:08:58 +03: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 31d30f3069 - fix formatting for different files 2021-05-13 14:48:12 +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
Mike Penz 27a8df8102 - recompile dist files
- apply formatting
2021-04-30 10:35:27 +02:00
Mike Penz 3a59a463ad - slightly improve filtering code
- format config / readme
2021-04-30 10:29:09 +02:00
Jorge Navarro c49b84ec4a Add base branches as configuration 2021-04-30 01:28:36 +02:00
Juan José González-Abril 9410d84efb Use RegExp instead of string as the pattern in calls to replace 2021-03-15 22:22:31 +01:00
Will Douglas 069080d600 Make maxPullRequest warning more apparent 2021-03-05 19:12:40 -07:00
Mike Penz 0bbac0be0f - introduce new on_property field for Extractor allowing to define the property to use for the label extraction
- use property (if provided) and allow label extraction via this approach
  - FIX https://github.com/mikepenz/release-changelog-builder-action/issues/208
2021-03-04 16:16:21 +01:00
Mike Penz e9e10d147f - use filtered commits for changelog 2021-02-26 12:03:27 +01:00
Mike Penz becbe17766 - add support to exclude merge commits in release notes generation
- move filterCommits into commits.ts
- recompile dist files with updated code
2021-02-26 10:47:08 +01:00
Mike Penz f8918d6247 - introduce new API adding support to extract additional PR labels from the PR message. This can also be used to organise the changelog in commitMode
- adjust RegExp to be executed in unicode mode, allows referencing a emoji via `.`
- introduce new testcase for emoji mode with label extractor
2021-02-19 14:59:54 +01:00
Mike Penz 7d89db2cb5 - adjust default max back track time to 365 days (e.g. allow release tags to have longer inbetween)
- this is possible with larger page size on commits and PRs
2021-01-11 22:53:50 +01:00
Mike Penz 2cbd5d5863 - extend per page PR amount to lower requests done to the GitHub API
- beside speeding up for releases with many PRs (this also benefits cases which exeed the 90 days max back check limit)
  - FIX https://github.com/mikepenz/release-changelog-builder-action/issues/154
2021-01-11 19:59:10 +01:00
Mike Penz d66aa0a4e5 - introduce experimental (light) commit based changelog generation mode
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/141
  - this is not fully supported and not documented as it lacks big amounts of the features we know and love
- npm install
- recompile dist
2021-01-07 15:31:18 +01:00
Mike Penz 1f2d0ea832 - differentiate between configuration not found vs configuration could not be parsed
- help with https://github.com/mikepenz/release-changelog-builder-action/issues/147
2021-01-05 18:30:26 +01:00