Skip to content

Commit f9dc1ea

Browse files
chore: Bumped
1 parent ec7312f commit f9dc1ea

File tree

3 files changed

+147
-8
lines changed

3 files changed

+147
-8
lines changed

CHANGELOG.md

+35-7
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,47 @@
1-
## 1.2.2 (2022-09-15)
1+
# Changelog
2+
3+
All notable changes to Tree-Walker will be documented in this file.
4+
5+
## [1.4.0](https://github.com/rezozero/tree-walker/compare/1.3.0...1.4.0) - 2024-02-27
6+
7+
### CI/CD
8+
9+
- Added Github Actions, dropped Travis - ([ec7312f](https://github.com/rezozero/tree-walker/commit/ec7312fa0ea85bc5ef56d8b0a27d1dabc05a9576))
10+
11+
### Refactor
12+
13+
- Support Symfony 6/7 for TreeWalkerNormalizer, respect serialization groups - ([52109be](https://github.com/rezozero/tree-walker/commit/52109be5710061a4cf30cb896c3efdbb42489199))
14+
15+
## [1.3.0](https://github.com/rezozero/tree-walker/compare/1.2.2...1.3.0) - 2022-10-13
16+
17+
### Features
18+
19+
- Migration to PHP 8.0 with static return type and attributes - ([4ad5448](https://github.com/rezozero/tree-walker/commit/4ad54486cf284bc59be2fe09d8a79d60f3a47206))
20+
21+
## [1.2.2](https://github.com/rezozero/tree-walker/compare/1.2.1...1.2.2) - 2022-09-15
222

323
### Bug Fixes
424

5-
* Added default ignored fields and methods when no serialization groups are defined ([21940f7](https://github.com/rezozero/tree-walker/commit/21940f76c479aef99c93c4b63a45c679d1a7818c))
25+
- Added default ignored fields and methods when no serialization groups are defined - ([21940f7](https://github.com/rezozero/tree-walker/commit/21940f76c479aef99c93c4b63a45c679d1a7818c))
626

7-
## 1.2.1 (2022-08-29)
27+
## [1.2.1](https://github.com/rezozero/tree-walker/compare/1.2.0...1.2.1) - 2022-08-29
828

929
### Bug Fixes
1030

11-
* 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))
31+
- 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))
1232

13-
## 1.2.0 (2022-08-29)
33+
## [1.2.0](https://github.com/rezozero/tree-walker/compare/1.1.0...1.2.0) - 2022-08-29
1434

1535
### Features
1636

17-
* Added `StoppableDefinition` interface to prevent walker to collect children after being invoked ([b1fd429](https://github.com/rezozero/tree-walker/commit/b1fd429336d4b10bfe71498b84c494eaf6b8eee8))
18-
* Introduced `AbstractCycleAwareWalker` to detect cyclic children collection based on `spl_object_id` ([607520a](https://github.com/rezozero/tree-walker/commit/607520a00f8c084252d31e51f7ca9b7f9b4fe50a))
37+
- Introduced AbstractCycleAwareWalker to detect cyclic children collection based on spl_object_id - ([607520a](https://github.com/rezozero/tree-walker/commit/607520a00f8c084252d31e51f7ca9b7f9b4fe50a))
38+
- Added StoppableDefinition interface to prevent walker to collect children after being invoked - ([b1fd429](https://github.com/rezozero/tree-walker/commit/b1fd429336d4b10bfe71498b84c494eaf6b8eee8))
39+
40+
## [1.1.0](https://github.com/rezozero/tree-walker/compare/1.0.6...1.1.0) - 2022-05-24
41+
42+
### Bug Fixes
43+
44+
- ignore public getter for serialization - ([59b8325](https://github.com/rezozero/tree-walker/commit/59b8325fca4a4d6066a6b03e83d02aed0904b196))
45+
- metadata getter should be callable without parameters - ([60bff58](https://github.com/rezozero/tree-walker/commit/60bff582a8aed41aa53b541002e8257435fa187c))
1946

47+
<!-- generated by git-cliff -->

LICENSE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
MIT License
22
-----------
33

4-
Copyright (c) 2022 Ambroise Maupate
4+
Copyright (c) 2024 Rezo Zero
55
Permission is hereby granted, free of charge, to any person
66
obtaining a copy of this software and associated documentation
77
files (the "Software"), to deal in the Software without

cliff.toml

+111
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
# git-cliff ~ default configuration file
2+
# https://git-cliff.org/docs/configuration
3+
#
4+
# Lines starting with "#" are comments.
5+
# Configuration options are organized into tables and keys.
6+
# See documentation for more information on available options.
7+
8+
[changelog]
9+
# changelog header
10+
header = """
11+
# Changelog\n
12+
All notable changes to Tree-Walker will be documented in this file.\n
13+
"""
14+
# template for the changelog body
15+
# https://keats.github.io/tera/docs/#introduction
16+
body = """
17+
{% if version %}\
18+
{% if previous.version %}\
19+
## [{{ version | trim_start_matches(pat="v") }}](<REPO>/compare/{{ previous.version }}...{{ version }}) - {{ timestamp | date(format="%Y-%m-%d") }}
20+
{% else %}\
21+
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
22+
{% endif %}\
23+
{% else %}\
24+
## [unreleased]
25+
{% endif %}\
26+
27+
{% set_global breaking_descriptions = [] %}\
28+
{% for commit in commits | filter(attribute="breaking", value=true) %}\
29+
{% if commit.breaking_description %}\
30+
{% set_global breaking_descriptions = breaking_descriptions | concat(with=commit.breaking_description) %}\
31+
{% else %}\
32+
{% set_global breaking_descriptions = breaking_descriptions | concat(with=commit.message) %}\
33+
{% endif %}\
34+
{% endfor %}\
35+
{% if breaking_descriptions | length > 0 %}
36+
### ⚠ Breaking changes
37+
{% for description in breaking_descriptions %}
38+
- {{ description | upper_first }}\
39+
{% endfor %}
40+
{% endif %}\
41+
42+
{% for group, commits in commits | group_by(attribute="group") %}
43+
### {{ group | striptags | trim | upper_first }}
44+
{% for commit in commits
45+
| filter(attribute="scope")
46+
| sort(attribute="scope") %}
47+
- **({{commit.scope}})**{% if commit.breaking %} [**breaking**]{% endif %} \
48+
{{ commit.message }} - ([{{ commit.id | truncate(length=7, end="") }}](<REPO>/commit/{{ commit.id }}))
49+
{%- endfor -%}
50+
{% raw %}\n{% endraw %}\
51+
{%- for commit in commits %}
52+
{%- if commit.scope -%}
53+
{% else -%}
54+
- {% if commit.breaking %} [**breaking**]{% endif %}\
55+
{{ commit.message }} - ([{{ commit.id | truncate(length=7, end="") }}](<REPO>/commit/{{ commit.id }}))
56+
{% endif -%}
57+
{% endfor -%}
58+
{% endfor %}\n
59+
"""
60+
# remove the leading and trailing whitespace from the template
61+
trim = true
62+
# changelog footer
63+
footer = """
64+
<!-- generated by git-cliff -->
65+
"""
66+
# postprocessors
67+
postprocessors = [
68+
{ pattern = '<REPO>', replace = "https://github.com/rezozero/tree-walker" },
69+
]
70+
[git]
71+
# parse the commits based on https://www.conventionalcommits.org
72+
conventional_commits = true
73+
# filter out the commits that are not conventional
74+
filter_unconventional = true
75+
# process each line of a commit as an individual commit
76+
split_commits = false
77+
# regex for preprocessing the commit messages
78+
commit_preprocessors = [
79+
{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](<REPO>/issues/${2}))"}, # replace issue numbers
80+
]
81+
# regex for parsing and grouping commits
82+
commit_parsers = [
83+
{ message = "^feat(ure)?", group = "Features" },
84+
{ message = "^fix(es)?", group = "Bug Fixes" },
85+
{ message = "^docs?", group = "Documentation" },
86+
{ message = "^perf", group = "Performance" },
87+
{ message = "^refactor", group = "Refactor" },
88+
{ message = "^style", group = "Styling" },
89+
{ message = "^tests?", group = "Testing" },
90+
{ message = "^chore", skip = true },
91+
{ message = "^ci", group = "CI/CD" },
92+
{ body = ".*security", group = "Security" },
93+
{ message = "^revert", group = "Revert" },
94+
]
95+
# protect breaking changes from being skipped due to matching a skipping commit_parser
96+
protect_breaking_commits = false
97+
# filter out the commits that are not matched by commit parsers
98+
filter_commits = true
99+
# regex for matching git tags
100+
tag_pattern = "v?[0-9].*"
101+
102+
# regex for skipping tags
103+
skip_tags = "v0.1.0-beta.1"
104+
# regex for ignoring tags
105+
ignore_tags = ""
106+
# sort the tags topologically
107+
topo_order = true
108+
# sort the commits inside sections by oldest/newest order
109+
sort_commits = "newest"
110+
# limit the number of commits included in the changelog.
111+
# limit_commits = 42

0 commit comments

Comments
 (0)