Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 16 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,21 +130,27 @@ jobs:
echo "" >> CHANGELOG.md
fi

# Prepare new entry
cat > /tmp/new_entry.md <<EOF
# Check if this version already exists in the changelog
if grep -q "## \[v${{ steps.bump_version.outputs.new_version }}\]" CHANGELOG.md; then
echo "Version v${{ steps.bump_version.outputs.new_version }} already exists in CHANGELOG.md, skipping update"
else
# Prepare new entry
cat > /tmp/new_entry.md <<EOF
## [v${{ steps.bump_version.outputs.new_version }}] - $(date +%Y-%m-%d)

EOF

cat /tmp/changelog.md | tail -n +3 >> /tmp/new_entry.md
echo "" >> /tmp/new_entry.md
cat /tmp/changelog.md | tail -n +3 >> /tmp/new_entry.md
echo "" >> /tmp/new_entry.md

# Insert after the header
sed -i '1,/^All notable/r /tmp/new_entry.md' CHANGELOG.md || {
# If sed fails (no header found), just prepend
cat /tmp/new_entry.md CHANGELOG.md > /tmp/new_changelog.md
mv /tmp/new_changelog.md CHANGELOG.md
}
# Insert after the header
sed -i '1,/^All notable/r /tmp/new_entry.md' CHANGELOG.md || {
# If sed fails (no header found), just prepend
cat /tmp/new_entry.md CHANGELOG.md > /tmp/new_changelog.md
mv /tmp/new_changelog.md CHANGELOG.md
}
echo "Added v${{ steps.bump_version.outputs.new_version }} to CHANGELOG.md"
fi

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
Expand Down
40 changes: 22 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,40 @@
# Changelog
## [v2.2.3] - 2025-12-10

All notable changes to this project will be documented in this file.

## [v2.3.0] - 2025-12-23

### ✨ Features

- feat: add official React 19 support (faca437)

### 🐛 Bug Fixes

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

### 🔧 Chore

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

### 🔨 Other Changes

- Add test configuration, testing library and some basic tests (0f36f72)
- Fix CI build issues (8797d86)
- fix: update CI to use Node 20+ for Vite 5 compatibility (e96b521)
- Fix build failures (a9c9f19)
- Replaced react-beautiful-dnd (deprecated) with @hello-pangea/dnd@18.0.1 (8e54452)
- ci: add automated CI workflow for testing and building (0a29f13)
- chore: upgrade ESLint to 9.x with flat config migration (ac87acc)
- update husky to 9.1.7 (4e47798)
- Add test configuration, testing library and some basic tests (0f36f72)

## [v2.2.3] - 2025-12-10

(Previous release changes)

## [v2.2.2]
- version up (1bea5e2)
- remove problematic inline-block (739d1b9)
-
# [v2.2.0]
- update deps, use eslint-config-reearth, refactor vite config (da71e12)
- add realignable prop to GridArea (1689c0f)
- simplify types (e0f579e)
- use prettier in example proj too (6b30c8f)

(Previous release changes)

## [v2.2.0]

(Previous release changes)
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-align",
"version": "2.2.3",
"version": "2.3.0",
"author": "KaWaite",
"license": "MIT",
"main": "./dist/react-align.umd.js",
Expand All @@ -26,8 +26,8 @@
"node": ">=10"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"@hello-pangea/dnd": "*"
"@hello-pangea/dnd": "*",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"prettier": {
"printWidth": 80,
Expand All @@ -44,6 +44,7 @@
"js-yaml": "^4.1.1"
},
"devDependencies": {
"@hello-pangea/dnd": "^18.0.1",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
Expand All @@ -58,7 +59,6 @@
"postcss": "^8.5.6",
"prettier": "^3.7.4",
"react": "^19.2.3",
"@hello-pangea/dnd": "^18.0.1",
"react-dom": "^19.2.3",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
Expand Down