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
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
603140e9ac
- add test case to verify exclude_label functions as expected
2022-02-11 11:12:56 +01:00
Mike Penz
29543cec44
- introduce test case to verify release diff generation
2022-02-02 18:24:03 +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
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
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
ee1c8d50cc
- update test verification for proper sorting
2021-09-14 13:48:34 +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
59a6af0516
- restructure transform.test.ts
...
- format test files
2021-08-27 11:59:12 +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
e94389ad02
- add additional test case to highlight combined regex for multiple labels
2021-08-26 16:46:45 +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
e38e90f582
- update npm dependencies to their latest versions
2021-06-21 09:08:15 +02:00
Jorge Navarro
c49b84ec4a
Add base branches as configuration
2021-04-30 01:28:36 +02:00
Mike Penz
74aedafa36
- add test case to verify replace all
...
- recompile dist files
2021-03-16 15:54:48 +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
937f979dcb
- add new param also to other test set
2021-01-07 15:36:26 +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
a463f188c1
- introduce new API allowing to write changelog directly to result file
...
- introduce test case for writing a file
2020-12-30 17:49:41 +01:00
Mike Penz
c62484d339
- try to fix tests
2020-11-17 15:44:01 +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
1089e28a2f
- provide alternative method to sort tags
...
- introduce option configuration allowing to specify which method to pick
- semver (default)
- alphabetical sort order (sort)
2020-10-20 11:55:09 +02:00
Mike Penz
83ad299b7e
- upgrade sorting logic to use semver to ensure we support all cases properly
2020-10-19 18:56:26 +02:00
Mike Penz
c309b839db
- make sortTags method to be accessible for test
...
- add test to verify ordering of tags
2020-10-19 18:56:26 +02:00
Mike Penz
bdb790ac5e
- introduce tests to verify new placeholders used for template and empty_template
2020-10-19 18:04:56 +02:00
Mike Penz
49d12f5b1e
- introduce tests covering the action process itself
2020-10-19 17:28:54 +02:00
Mike Penz
8b6119add8
- split logic to validate and read in additional details for changelog generation into new releaseNotesBuilder
...
- construct main class to be as simple as possible
2020-10-19 17:28:54 +02:00
Mike Penz
9258366eaf
- tmp remove test class
2020-10-19 16:37:11 +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
63430c1e77
- adjust test cases and provide new flag
2020-10-18 11:16:04 +02:00
Mike Penz
3070fb0a7c
- introduce test cases verifying ordering works
2020-10-18 09:27:20 +02:00
Mike Penz
0452303d4c
- improve action specification
...
- clean up imports for tests
2020-10-17 19:53:23 +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
fbc3c7370b
- fix test case
2020-10-17 18:05:35 +02:00
Mike Penz
b464ff088a
- introduce better more stable fallbacks in case the configuration is missing
...
- move configurations into subfolder for easier discovery
- simplify missing value fallback specification
2020-10-17 18:02:08 +02:00
Mike Penz
619d3f460e
- introduce better handling of cases in which invalid references are provided, return an empty changelog and send out error
2020-10-17 17:38:08 +02:00
Mike Penz
f1be8d021b
- add tests to verify specific from, to
...
- add test to verify specific from, to hashes
2020-10-16 20:34:40 +02:00