Commit Graph
32 Commits
Author SHA1 Message Date
Mike PenzandGitHub 9368ec2457 - rename to exhaustive_rules
- recompile dist
2023-05-03 17:49:57 +00:00
Federico M. Facca 1794edb8f3 add possibility to configure if rules are and/or independently from labels 2023-05-03 17:50:51 +02:00
Federico M. Facca 4da4b3fa8e add number in the list of properties supported for rules 2023-05-03 14:22:34 +02:00
Mike PenzandGitHub 793329d870 - introduce new rules for the Category
- the rules can be used to match specified `Properties` with a `RegExp` (uses `test`) - to add them into a category
  - This allows more complex changelogs to be constructed, which for example want all `OPEN` PRs in one category
2023-01-03 17:29:56 +00:00
Mike PenzandGitHub e0b335b098 - add ability to trim values prior to inserting them in templates 2022-12-09 14:55:28 +00:00
Mike PenzandGitHub 27d0a0a53c - update replacement logic for array and comment types (fix cleanup if no match)
- adjust style definition - 140 line length
2022-12-09 14:09:40 +00:00
Mike PenzandGitHub 15a108d43e - introduce ES2021.String for replaceAll
- expand Configuration with `custom_placeholders` configuration
  - custom placeholders allow to extract values of placeholders and then use these in templates
- refactor replacing PR template values
2022-07-29 14:29:50 +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 4360ffd09f - update dependencies to latest stable versions
```
    "@octokit/rest": "^19.0.1",
    "moment": "^2.29.4",
```
```
    "@types/jest": "^28.1.4",
    "@types/node": "^18.0.3",
    "@typescript-eslint/parser": "^5.30.5",
    "eslint": "^8.19.0",
    "jest": "^28.1.2",
    "jest-circus": "^28.1.2",
    "typescript": "^4.7.4"
```
2022-07-08 10:43:24 +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 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 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 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 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
invakid404 deadcef62b feat: allow flags to be specified per transformer 2021-06-23 10:08:58 +03:00
Jorge Navarro c49b84ec4a Add base branches as configuration 2021-04-30 01:28:36 +02: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 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 c29d7639d7 - use loose semver parsing to support a wider variety of cases 2020-11-11 13:40:17 +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 8058353346 - adjust defaults to already provide a great base set of categories 2020-10-17 18:07:31 +02:00
Mike Penz 488b03cfa1 - fix lint errors 2020-10-16 19:37:04 +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 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