5.4.1

GraphiteEditor/Graphite5.4.1Jul 9, 2025by hand-dot

AI Summary

A comprehensive update that addresses security vulnerabilities, enhances documentation, and integrates AI-powered development tools.

Key Highlights

  • XSS vulnerability prevention
  • Added Claude GitHub Actions integration
  • Enhanced CLAUDE.md documentation
  • Improved test organization and reliability

New Features

  • Claude GitHub Actions integration
  • LLM content understanding (llm.txt)

Full Release Notes

## What's Changed

### ๐Ÿ”’ Security
* **XSS vulnerability prevention for replacePlaceholders function** (#1117) - Implemented comprehensive XSS protection with safe object property assignment and enhanced input sanitization to prevent prototype pollution attacks

### ๐Ÿ“š Documentation
* **Enhanced CLAUDE.md with comprehensive development guide** (#1113) - Added detailed project overview, architecture documentation, common commands, troubleshooting guide, and development workflow instructions for better developer experience

### ๐Ÿงน Code Quality & Testing
* **Organized generator tests** (#1098) - Refactored and improved test organization for better maintainability
* **Enhanced integration tests** - Added iframe auto-focus functionality, improved test reliability with better error handling and server readiness checks
* **Code formatting improvements** - Applied consistent prettier formatting across the codebase

### ๐Ÿ”ง Infrastructure & DevOps
* **Added Claude GitHub Actions integration** (#1101) - Integrated Claude Code AI assistant for automated code reviews and assistance
* **Added llm.txt for AI content understanding** (#1100) - Improved AI/LLM compatibility and SEO optimization
* **Removed obsolete documentation and files** - Cleaned up repository structure by removing outdated documentation and ignore files

### ๐Ÿ“ฆ Dependencies
Updated numerous dependencies for security and performance improvements:
* antd: `5.26.2` โ†’ `5.26.3`
* prettier: `3.6.1` โ†’ `3.6.2`
* @types/node: `24.0.4` โ†’ `24.0.8`
* lucide-react: `0.523.0` โ†’ `0.525.0`
* @babel/core: `7.27.4` โ†’ `7.27.7`
* Multiple eslint package updates
* Various other dependency updates for security patches and bug fixes

### ๐Ÿ› Bug Fixes
* Fixed import/export module issues
* Improved error logging in server ready detection
* Enhanced type safety across multiple packages

### ๐Ÿ™ Contributors
Thanks to all contributors who made this release possible\!

**Full Changelog**: https://github.com/pdfme/pdfme/compare/5.2.0...5.4.1