Skip to content

Commit a842894

Browse files
authored
Merge pull request #15 from reearth/release/v2.3.0
Release v2.3.0
2 parents e25f62e + f09f339 commit a842894

3 files changed

Lines changed: 42 additions & 32 deletions

File tree

.github/workflows/release.yml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -130,21 +130,27 @@ jobs:
130130
echo "" >> CHANGELOG.md
131131
fi
132132
133-
# Prepare new entry
134-
cat > /tmp/new_entry.md <<EOF
133+
# Check if this version already exists in the changelog
134+
if grep -q "## \[v${{ steps.bump_version.outputs.new_version }}\]" CHANGELOG.md; then
135+
echo "Version v${{ steps.bump_version.outputs.new_version }} already exists in CHANGELOG.md, skipping update"
136+
else
137+
# Prepare new entry
138+
cat > /tmp/new_entry.md <<EOF
135139
## [v${{ steps.bump_version.outputs.new_version }}] - $(date +%Y-%m-%d)
136140
137141
EOF
138142
139-
cat /tmp/changelog.md | tail -n +3 >> /tmp/new_entry.md
140-
echo "" >> /tmp/new_entry.md
143+
cat /tmp/changelog.md | tail -n +3 >> /tmp/new_entry.md
144+
echo "" >> /tmp/new_entry.md
141145
142-
# Insert after the header
143-
sed -i '1,/^All notable/r /tmp/new_entry.md' CHANGELOG.md || {
144-
# If sed fails (no header found), just prepend
145-
cat /tmp/new_entry.md CHANGELOG.md > /tmp/new_changelog.md
146-
mv /tmp/new_changelog.md CHANGELOG.md
147-
}
146+
# Insert after the header
147+
sed -i '1,/^All notable/r /tmp/new_entry.md' CHANGELOG.md || {
148+
# If sed fails (no header found), just prepend
149+
cat /tmp/new_entry.md CHANGELOG.md > /tmp/new_changelog.md
150+
mv /tmp/new_changelog.md CHANGELOG.md
151+
}
152+
echo "Added v${{ steps.bump_version.outputs.new_version }} to CHANGELOG.md"
153+
fi
148154
149155
- name: Create Pull Request
150156
uses: peter-evans/create-pull-request@v6

CHANGELOG.md

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,40 @@
11
# Changelog
2-
## [v2.2.3] - 2025-12-10
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
## [v2.3.0] - 2025-12-23
6+
7+
### ✨ Features
8+
9+
- feat: add official React 19 support (faca437)
310

411
### 🐛 Bug Fixes
512

613
- fix: resolve ESLint error in env.d.ts (aecf48d)
714
- fix: resolve SVG bundling issue and update example configuration (260ac42)
815
- fix: update ESLint ignore patterns and fix import ordering (26216dc)
9-
- fix CI build failures (7fd7e9b)
16+
- fix: update CI to use Node 20+ for Vite 5 compatibility (e96b521)
1017
- fix: resolve security vulnerabilities with yarn resolutions (54f7cf5)
11-
- fix w React18, add pointer to drag handle (8a6e764)
12-
- fix build, gen types (5252a02)
1318

1419
### 🔧 Chore
1520

21+
- chore: upgrade ESLint to 9.x with flat config migration (ac87acc)
1622
- chore: update build tools - vite and vitest major version upgrades (eebc52a)
1723

1824
### 🔨 Other Changes
1925

20-
- Add test configuration, testing library and some basic tests (0f36f72)
21-
- Fix CI build issues (8797d86)
22-
- fix: update CI to use Node 20+ for Vite 5 compatibility (e96b521)
23-
- Fix build failures (a9c9f19)
26+
- Replaced react-beautiful-dnd (deprecated) with @hello-pangea/dnd@18.0.1 (8e54452)
2427
- ci: add automated CI workflow for testing and building (0a29f13)
25-
- chore: upgrade ESLint to 9.x with flat config migration (ac87acc)
26-
- update husky to 9.1.7 (4e47798)
28+
- Add test configuration, testing library and some basic tests (0f36f72)
29+
30+
## [v2.2.3] - 2025-12-10
31+
32+
(Previous release changes)
2733

2834
## [v2.2.2]
29-
- version up (1bea5e2)
30-
- remove problematic inline-block (739d1b9)
31-
-
32-
# [v2.2.0]
33-
- update deps, use eslint-config-reearth, refactor vite config (da71e12)
34-
- add realignable prop to GridArea (1689c0f)
35-
- simplify types (e0f579e)
36-
- use prettier in example proj too (6b30c8f)
35+
36+
(Previous release changes)
37+
38+
## [v2.2.0]
39+
40+
(Previous release changes)

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-align",
3-
"version": "2.2.3",
3+
"version": "2.3.0",
44
"author": "KaWaite",
55
"license": "MIT",
66
"main": "./dist/react-align.umd.js",
@@ -26,8 +26,8 @@
2626
"node": ">=10"
2727
},
2828
"peerDependencies": {
29-
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
30-
"@hello-pangea/dnd": "*"
29+
"@hello-pangea/dnd": "*",
30+
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
3131
},
3232
"prettier": {
3333
"printWidth": 80,
@@ -44,6 +44,7 @@
4444
"js-yaml": "^4.1.1"
4545
},
4646
"devDependencies": {
47+
"@hello-pangea/dnd": "^18.0.1",
4748
"@testing-library/dom": "^10.4.1",
4849
"@testing-library/jest-dom": "^6.9.1",
4950
"@testing-library/react": "^16.3.0",
@@ -58,7 +59,6 @@
5859
"postcss": "^8.5.6",
5960
"prettier": "^3.7.4",
6061
"react": "^19.2.3",
61-
"@hello-pangea/dnd": "^18.0.1",
6262
"react-dom": "^19.2.3",
6363
"tslib": "^2.8.1",
6464
"typescript": "^5.9.3",

0 commit comments

Comments
 (0)