Mike Penz and GitHub
b1ea770a88
- reformat source - lineLength 120
2022-07-29 13:48:53 +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
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
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 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
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
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
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
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
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
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
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
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
6a2da2fa89
- upgrade dependencies
...
- recompile dist
- fix eslint errors, update eslint rules
2021-08-14 18:07:18 +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
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
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
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
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
c29d7639d7
- use loose semver parsing to support a wider variety of cases
2020-11-11 13:40:17 +01:00
Mike Penz
616c9b8330
- fix lint error
2020-11-04 14:19:06 +01:00
Mike Penz
db78e9819a
- introduce capability to have a category for all uncategorized elements (e.g. no matched label, and not specifically ignored)
2020-11-04 14:16:14 +01:00
Mike Penz
8323240009
- introduce support for specifying labels which will ignore PRs from being included in the changelog
...
- please note ignored changelogs can be still included i the changelog via the according placeholder
- fix count for categorizedPrs
2020-11-04 13:55:49 +01:00
Mike Penz
26cab8c692
- properly count categorized PRs
2020-10-19 18:03:50 +02:00
Mike Penz
c6ed215bc2
- introduce additional placeholders supported by the template
...
- introduce placeholder support into `empty_template`
- introduce new placeholders for templates, update README with new placeholders
2020-10-19 17:53:39 +02:00
Mike Penz
d9c1239d34
- move fromTag resolving to main.ts and remove dependency on checks from ReleaseNotes.ts
...
- require fromTag for ReleaseNotes
- adjust tests, split into according test classes
- simplify transform.ts
2020-10-19 16:33:00 +02:00
Mike Penz
ff50df5399
- fix log output for uncategorized elements (wrote string char count before :D)
2020-10-18 15:50:37 +02:00
Mike Penz
4b5b38e990
- use || instead of ??
2020-10-18 12:26:26 +02:00
Mike Penz
f63fa1dabb
- fix formatting, and unused import
2020-10-17 19:42:26 +02:00
Mike Penz
bd49950417
- use different pen for write logs
...
- remove default value for configuration, to cleanly fallback to defaults
- rename gitHelper, move dir exists helper
- add reading input values group
- improve warning for configuration
2020-10-17 19:37:11 +02:00
Mike Penz
1e0f6ab49e
- add more log messages to action
2020-10-17 19:37:11 +02:00
Mike Penz
f675789732
- group logs together to have a better visualisation of what's going on
...
- add emojis to all sorts of logs
2020-10-17 19:37:11 +02:00
Mike Penz
6cce2a6c0f
- write assignee correct
2020-10-17 18:19:41 +02:00
Mike Penz
da89739163
- introduce more placeholders (milestone, labels, asignees, reviewers)
...
- update testcase to check new placeholders
2020-10-17 18:11:22 +02:00
Mike Penz
2f1eed7458
- add additional settings to ensure we won't spend the whole API quota if a merge included non anticipated commits
2020-10-16 19:30:10 +02:00
Mike Penz
152792eaa4
- improve test case to depend on self
...
- fix various eslint error reports
2020-10-16 17:38:50 +02:00
Mike Penz
db70432deb
- fix a ton of formatting issues automatically
...
- fix many javascript issues
2020-10-16 16:29:13 +02:00