-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec7312f
commit f9dc1ea
Showing
3 changed files
with
147 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,47 @@ | ||
## 1.2.2 (2022-09-15) | ||
# Changelog | ||
|
||
All notable changes to Tree-Walker will be documented in this file. | ||
|
||
## [1.4.0](https://github.com/rezozero/tree-walker/compare/1.3.0...1.4.0) - 2024-02-27 | ||
|
||
### CI/CD | ||
|
||
- Added Github Actions, dropped Travis - ([ec7312f](https://github.com/rezozero/tree-walker/commit/ec7312fa0ea85bc5ef56d8b0a27d1dabc05a9576)) | ||
|
||
### Refactor | ||
|
||
- Support Symfony 6/7 for TreeWalkerNormalizer, respect serialization groups - ([52109be](https://github.com/rezozero/tree-walker/commit/52109be5710061a4cf30cb896c3efdbb42489199)) | ||
|
||
## [1.3.0](https://github.com/rezozero/tree-walker/compare/1.2.2...1.3.0) - 2022-10-13 | ||
|
||
### Features | ||
|
||
- Migration to PHP 8.0 with static return type and attributes - ([4ad5448](https://github.com/rezozero/tree-walker/commit/4ad54486cf284bc59be2fe09d8a79d60f3a47206)) | ||
|
||
## [1.2.2](https://github.com/rezozero/tree-walker/compare/1.2.1...1.2.2) - 2022-09-15 | ||
|
||
### Bug Fixes | ||
|
||
* Added default ignored fields and methods when no serialization groups are defined ([21940f7](https://github.com/rezozero/tree-walker/commit/21940f76c479aef99c93c4b63a45c679d1a7818c)) | ||
- Added default ignored fields and methods when no serialization groups are defined - ([21940f7](https://github.com/rezozero/tree-walker/commit/21940f76c479aef99c93c4b63a45c679d1a7818c)) | ||
|
||
## 1.2.1 (2022-08-29) | ||
## [1.2.1](https://github.com/rezozero/tree-walker/compare/1.2.0...1.2.1) - 2022-08-29 | ||
|
||
### Bug Fixes | ||
|
||
* Do not set level to `\INF` because its value can be used in top-level applications ([5331036](https://github.com/rezozero/tree-walker/commit/53310366976f6e7b5a7dbe36994a918e629a865a)) | ||
- Do not set level to \INF because its value can be used in top-level applications - ([5331036](https://github.com/rezozero/tree-walker/commit/53310366976f6e7b5a7dbe36994a918e629a865a)) | ||
|
||
## 1.2.0 (2022-08-29) | ||
## [1.2.0](https://github.com/rezozero/tree-walker/compare/1.1.0...1.2.0) - 2022-08-29 | ||
|
||
### Features | ||
|
||
* Added `StoppableDefinition` interface to prevent walker to collect children after being invoked ([b1fd429](https://github.com/rezozero/tree-walker/commit/b1fd429336d4b10bfe71498b84c494eaf6b8eee8)) | ||
* Introduced `AbstractCycleAwareWalker` to detect cyclic children collection based on `spl_object_id` ([607520a](https://github.com/rezozero/tree-walker/commit/607520a00f8c084252d31e51f7ca9b7f9b4fe50a)) | ||
- Introduced AbstractCycleAwareWalker to detect cyclic children collection based on spl_object_id - ([607520a](https://github.com/rezozero/tree-walker/commit/607520a00f8c084252d31e51f7ca9b7f9b4fe50a)) | ||
- Added StoppableDefinition interface to prevent walker to collect children after being invoked - ([b1fd429](https://github.com/rezozero/tree-walker/commit/b1fd429336d4b10bfe71498b84c494eaf6b8eee8)) | ||
|
||
## [1.1.0](https://github.com/rezozero/tree-walker/compare/1.0.6...1.1.0) - 2022-05-24 | ||
|
||
### Bug Fixes | ||
|
||
- ignore public getter for serialization - ([59b8325](https://github.com/rezozero/tree-walker/commit/59b8325fca4a4d6066a6b03e83d02aed0904b196)) | ||
- metadata getter should be callable without parameters - ([60bff58](https://github.com/rezozero/tree-walker/commit/60bff582a8aed41aa53b541002e8257435fa187c)) | ||
|
||
<!-- generated by git-cliff --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
# git-cliff ~ default configuration file | ||
# https://git-cliff.org/docs/configuration | ||
# | ||
# Lines starting with "#" are comments. | ||
# Configuration options are organized into tables and keys. | ||
# See documentation for more information on available options. | ||
|
||
[changelog] | ||
# changelog header | ||
header = """ | ||
# Changelog\n | ||
All notable changes to Tree-Walker will be documented in this file.\n | ||
""" | ||
# template for the changelog body | ||
# https://keats.github.io/tera/docs/#introduction | ||
body = """ | ||
{% if version %}\ | ||
{% if previous.version %}\ | ||
## [{{ version | trim_start_matches(pat="v") }}](<REPO>/compare/{{ previous.version }}...{{ version }}) - {{ timestamp | date(format="%Y-%m-%d") }} | ||
{% else %}\ | ||
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }} | ||
{% endif %}\ | ||
{% else %}\ | ||
## [unreleased] | ||
{% endif %}\ | ||
{% set_global breaking_descriptions = [] %}\ | ||
{% for commit in commits | filter(attribute="breaking", value=true) %}\ | ||
{% if commit.breaking_description %}\ | ||
{% set_global breaking_descriptions = breaking_descriptions | concat(with=commit.breaking_description) %}\ | ||
{% else %}\ | ||
{% set_global breaking_descriptions = breaking_descriptions | concat(with=commit.message) %}\ | ||
{% endif %}\ | ||
{% endfor %}\ | ||
{% if breaking_descriptions | length > 0 %} | ||
### ⚠ Breaking changes | ||
{% for description in breaking_descriptions %} | ||
- {{ description | upper_first }}\ | ||
{% endfor %} | ||
{% endif %}\ | ||
{% for group, commits in commits | group_by(attribute="group") %} | ||
### {{ group | striptags | trim | upper_first }} | ||
{% for commit in commits | ||
| filter(attribute="scope") | ||
| sort(attribute="scope") %} | ||
- **({{commit.scope}})**{% if commit.breaking %} [**breaking**]{% endif %} \ | ||
{{ commit.message }} - ([{{ commit.id | truncate(length=7, end="") }}](<REPO>/commit/{{ commit.id }})) | ||
{%- endfor -%} | ||
{% raw %}\n{% endraw %}\ | ||
{%- for commit in commits %} | ||
{%- if commit.scope -%} | ||
{% else -%} | ||
- {% if commit.breaking %} [**breaking**]{% endif %}\ | ||
{{ commit.message }} - ([{{ commit.id | truncate(length=7, end="") }}](<REPO>/commit/{{ commit.id }})) | ||
{% endif -%} | ||
{% endfor -%} | ||
{% endfor %}\n | ||
""" | ||
# remove the leading and trailing whitespace from the template | ||
trim = true | ||
# changelog footer | ||
footer = """ | ||
<!-- generated by git-cliff --> | ||
""" | ||
# postprocessors | ||
postprocessors = [ | ||
{ pattern = '<REPO>', replace = "https://github.com/rezozero/tree-walker" }, | ||
] | ||
[git] | ||
# parse the commits based on https://www.conventionalcommits.org | ||
conventional_commits = true | ||
# filter out the commits that are not conventional | ||
filter_unconventional = true | ||
# process each line of a commit as an individual commit | ||
split_commits = false | ||
# regex for preprocessing the commit messages | ||
commit_preprocessors = [ | ||
{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](<REPO>/issues/${2}))"}, # replace issue numbers | ||
] | ||
# regex for parsing and grouping commits | ||
commit_parsers = [ | ||
{ message = "^feat(ure)?", group = "Features" }, | ||
{ message = "^fix(es)?", group = "Bug Fixes" }, | ||
{ message = "^docs?", group = "Documentation" }, | ||
{ message = "^perf", group = "Performance" }, | ||
{ message = "^refactor", group = "Refactor" }, | ||
{ message = "^style", group = "Styling" }, | ||
{ message = "^tests?", group = "Testing" }, | ||
{ message = "^chore", skip = true }, | ||
{ message = "^ci", group = "CI/CD" }, | ||
{ body = ".*security", group = "Security" }, | ||
{ message = "^revert", group = "Revert" }, | ||
] | ||
# protect breaking changes from being skipped due to matching a skipping commit_parser | ||
protect_breaking_commits = false | ||
# filter out the commits that are not matched by commit parsers | ||
filter_commits = true | ||
# regex for matching git tags | ||
tag_pattern = "v?[0-9].*" | ||
|
||
# regex for skipping tags | ||
skip_tags = "v0.1.0-beta.1" | ||
# regex for ignoring tags | ||
ignore_tags = "" | ||
# sort the tags topologically | ||
topo_order = true | ||
# sort the commits inside sections by oldest/newest order | ||
sort_commits = "newest" | ||
# limit the number of commits included in the changelog. | ||
# limit_commits = 42 |