Skip to content

Commit 111d1fd

Browse files
committed
Merge 2.7 into 3.0
2 parents 2d2d616 + d81ef53 commit 111d1fd

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,19 @@ Breaking changes:
5858
* Serializer: `skip_null_values` now defaults to `true`
5959
* Metadata: `Patch` is added to the automatic CRUD
6060

61+
## v2.7.3
62+
63+
### Bug fixes
64+
65+
* [176fff2cb](https://github.com/api-platform/core/commit/176fff2cb15efa01b6c898d0442a4f540d4ddeaa) fix(metadata): upgrade script keep operation name (#5109)
66+
* [1b64ebf6a](https://github.com/api-platform/core/commit/1b64ebf6a438222ae091ec3690063d0fb1b61977) fix: upgrade command remove ApiSubresource attribute (#5049)
67+
* [27fcdc6b2](https://github.com/api-platform/core/commit/27fcdc6b270d1699e76c37ccda690b8a5ed8b4c9) fix(metadata): deprecate when user decorates in legacy mode (#5091)
68+
* [310363d56](https://github.com/api-platform/core/commit/310363d56129c94cf4d51977f85486729e582fbc) fix: remove @internal annotation for Operations (#5089)
69+
* [41bbad94e](https://github.com/api-platform/core/commit/41bbad94e93df49eb4ade0fe1307b20d9cd07102) fix: update yaml extractor test file coding standard (#5068)
70+
* [59826bbe9](https://github.com/api-platform/core/commit/59826bbe9e246cf839bdc0c4d0d470f54e27b453) fix: only alias if exists for opcache preload
71+
* [8250d41a3](https://github.com/api-platform/core/commit/8250d41a38913a17364d617875bb5a90f434ec48) fix(metadata): define a name on a single operation (#5090)
72+
* [9c19fa171](https://github.com/api-platform/core/commit/9c19fa17110aac7dd39bff827091c00b42a80d4f) fix(metadata): add class key in payload argument resolver (#5067)
73+
6174
## 2.7.2
6275

6376
* Metadata: no skolem IRI by default

generate-changelog.sh

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/bin/bash
2+
# usage: generate-changelog.sh previous_tag next_tag
3+
# example: generate-changelog.sh v2.7.2 v2.7.3 > CHANGELOG.new.md
4+
log=$(git log "$1..HEAD" --pretty='format:* [%h](https://github.com/api-platform/core/commit/%H) %s' --no-merges)
5+
6+
diff=$(
7+
printf "# Changelog\n\n"
8+
printf "## %s\n\n" "$2"
9+
10+
if [[ 0 != $(echo "$log" | grep fix | grep -v chore | wc -l) ]];
11+
then
12+
printf "### Bug fixes\n\n"
13+
printf "$log" | grep fix | grep -v chore | sort
14+
printf "\n\n"
15+
fi
16+
17+
if [[ 0 != $(echo "$log" | grep feat | grep -v chore | wc -l) ]];
18+
then
19+
printf "### Features\n\n"
20+
printf "$log" | grep feat | grep -v chore | sort
21+
fi
22+
)
23+
24+
changelog=$(tail -n+2 CHANGELOG.md)
25+
printf "%s\n%s" "$diff" "$changelog"

0 commit comments

Comments
 (0)