Commit Graph
32 Commits
Author SHA1 Message Date
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
Mike Penz 0a66008df0 - introduce proper approach to retrieve tag before a given tag
- add configuration options for
  - path
  - configuration
  - fromTag, toTag
  - token
- allow to specify transformers to adjust information to a specific form
- allow to specify different templates
- speed up by limiting information to pull
- add logic to automatically resolve current
- use github actions logger
2020-10-16 15:52:24 +02:00