diff --git a/release-notes/comfyui/v0.3.40.mdx b/release-notes/comfyui/v0.3.40.mdx
new file mode 100644
index 00000000..fe5bbe98
--- /dev/null
+++ b/release-notes/comfyui/v0.3.40.mdx
@@ -0,0 +1,87 @@
+```mdx
+---
+title: 'ComfyUI v0.3.40'
+description: 'Release notes for ComfyUI version 0.3.40 including new nodes, security updates, and improvements'
+---
+
+# ComfyUI v0.3.40
+
+
+This release includes contributions from three new contributors to the project and includes multiple template version bumps for improved stability.
+
+
+## New Features
+
+
+
+
+### Node Additions
+- **ImageStitch Node** - New functionality to concatenate images
+- **GetImageSize Node** - Added capability to retrieve image dimensions with batch support
+- **Regex Replace Node** - New node for performing regex substitution operations
+
+
+
+### Interface Improvements
+- **Help Menu** - Introduced in NodeLibrarySidebarTab for improved user guidance
+- **Custom Node Support** - Added ability to read pyproject.toml from custom nodes
+
+
+
+
+## Improvements
+
+
+
+
+### Frontend & Performance
+- Multiple frontend updates (v1.21.0 through v1.21.7) with various enhancements
+- Implemented fused multiply-add pointwise operations in chroma for better efficiency
+
+
+
+### API Enhancements
+- Improved handling of lists of tensors for models
+- Better support for custom comfy-api-base with subpath functionality
+- Added API nodes documentation to readme
+
+
+
+### Platform Support
+- Improved ROCm version handling for better feature enablement
+
+
+
+
+## Security Updates
+
+
+Enhanced security fix for potential XSS vulnerability on /view endpoint
+
+
+## Bug Fixes
+
+
+
+
+### Core Fixes
+- Replaced deprecated Pillow API call (Image.ANTIALIAS)
+- Multiple frontend bug fixes through version updates
+- Various style and formatting improvements
+
+
+
+
+## Other Changes
+
+
+
+
+### Maintenance
+- Cleanup of BFL API nodes for Kontext [pro] and [max]
+- Updated issue templates to include custom node testing requirements
+- Code ownership updates and documentation improvements
+
+
+
+```
\ No newline at end of file