Skip to content

Commit d81ef53

Browse files
committed
chore: v2.7.3 changelog
1 parent 176fff2 commit d81ef53

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## v2.7.3
4+
5+
### Bug fixes
6+
7+
* [176fff2cb](https://github.com/api-platform/core/commit/176fff2cb15efa01b6c898d0442a4f540d4ddeaa) fix(metadata): upgrade script keep operation name (#5109)
8+
* [1b64ebf6a](https://github.com/api-platform/core/commit/1b64ebf6a438222ae091ec3690063d0fb1b61977) fix: upgrade command remove ApiSubresource attribute (#5049)
9+
* [27fcdc6b2](https://github.com/api-platform/core/commit/27fcdc6b270d1699e76c37ccda690b8a5ed8b4c9) fix(metadata): deprecate when user decorates in legacy mode (#5091)
10+
* [310363d56](https://github.com/api-platform/core/commit/310363d56129c94cf4d51977f85486729e582fbc) fix: remove @internal annotation for Operations (#5089)
11+
* [41bbad94e](https://github.com/api-platform/core/commit/41bbad94e93df49eb4ade0fe1307b20d9cd07102) fix: update yaml extractor test file coding standard (#5068)
12+
* [59826bbe9](https://github.com/api-platform/core/commit/59826bbe9e246cf839bdc0c4d0d470f54e27b453) fix: only alias if exists for opcache preload
13+
* [8250d41a3](https://github.com/api-platform/core/commit/8250d41a38913a17364d617875bb5a90f434ec48) fix(metadata): define a name on a single operation (#5090)
14+
* [9c19fa171](https://github.com/api-platform/core/commit/9c19fa17110aac7dd39bff827091c00b42a80d4f) fix(metadata): add class key in payload argument resolver (#5067)
15+
316
## 2.7.2
417

518
* Metadata: no skolem IRI by default
@@ -1211,4 +1224,4 @@ Please read #2825 if you have issues with the behavior of Readable/Writable Link
12111224
## 1.0.0 beta 2
12121225

12131226
* Preserve indexes when normalizing and denormalizing associative arrays
1214-
* Allow setting default order for property when registering a `Doctrine\Orm\Filter\OrderFilter` instance
1227+
* Allow setting default order for property when registering a `Doctrine\Orm\Filter\OrderFilter` instance

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)