UNPKG

smart-dropzone-react

Version:

๐Ÿš€ A production-ready React dropzone component with smart defaults, drag & drop reordering, chunked uploads, resume functionality, and comprehensive provider support (Cloudinary, AWS S3, Supabase)

154 lines (109 loc) โ€ข 4.28 kB
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] ## [0.1.3] - 2024-12-26 ### ๐Ÿ”— Repository & Metadata Updates #### โœจ Added - **GitHub Repository Link**: Updated package.json with correct GitHub repository URL - **Author Information**: Updated author field with proper GitHub profile link - **Repository URLs**: Fixed all repository-related URLs to point to correct GitHub repo #### ๐Ÿ”ง Fixed - **Repository URL**: Changed from old repository to `https://github.com/KHojreHarish/smart-dropzone-react` - **Bugs URL**: Updated issues URL to correct repository - **Homepage URL**: Updated homepage to point to correct README ## [0.1.2] - 2024-12-26 ### ๐Ÿš€ React 19 Compatibility & Fixes #### โœจ Added - **React 19 Support**: Full compatibility with React 19.x while maintaining React 18.x support - **Modern JSX Transform**: Updated build system to use React 19's automatic JSX runtime - **Enhanced TypeScript Config**: Added `jsxImportSource` for better React 19 integration #### ๐Ÿ”ง Fixed - **Critical: Circular Dependency**: Removed self-referencing dependency that prevented package installation - **Build System**: Switched from `tsc` to optimized `tsup` build process for React 19 compatibility - **Package Exports**: Improved build output with proper ESM/CJS dual package support #### ๐Ÿ“š Documentation - Updated README with React version compatibility matrix - Added comprehensive React 19 migration documentation #### ๐Ÿงช Testing - All 392 tests passing with React 19 compatibility - Verified automatic JSX runtime works correctly - Confirmed no breaking changes introduced ## [0.1.1] - 2024-12-26 ### ๐Ÿ› Bug Fixes - Minor dependency updates and documentation improvements ## [0.1.0] - 2024-12-26 ### ๐ŸŽ‰ Initial Release #### โœจ Added - **Core Components** - `SmartDropzone` - Main component with full feature set - `SmartDropzoneSimple` - Simplified component with preset support - Preset components: `SimpleUpload`, `GalleryUpload`, `DocumentUpload`, `MediaUpload`, `EnterpriseUpload` - **Smart Defaults & Presets** - Zero-configuration setup with intelligent defaults - 5 pre-configured presets for common use cases - Research-based default configurations - **Upload Features** - Chunked uploads with resume capability - Progress tracking and real-time feedback - Multi-file upload support - Drag & drop file reordering - File validation and type checking - **Provider Support** - Cloudinary provider with full feature support - Extensible provider architecture - Custom transformation support - **Accessibility** - WCAG 2.1 compliant - Screen reader support - Keyboard navigation - High contrast mode - Reduced motion support - **Internationalization** - Built-in i18n support - Multiple language support - Custom translation capability - Cultural formatting - **Performance** - Performance monitoring - Memory usage optimization - Bundle size optimization with tree shaking - Lazy loading capabilities - **Developer Experience** - Full TypeScript support - Comprehensive API documentation - 83.7% test coverage - Error boundaries and robust error handling #### ๐Ÿ› ๏ธ Technical - Built with TypeScript 5.0+ - React 18+ support - Modern build system with Vite - Comprehensive testing with Vitest - ESLint and Prettier configuration #### ๐Ÿ“š Documentation - Comprehensive README with examples - API reference documentation - Real-world usage examples - Contributing guidelines #### ๐Ÿงช Testing - 392 passing tests across 15 test files - Unit tests for all core components - Integration tests for upload flows - Edge case coverage - Performance benchmarks ### ๐Ÿ”ง Infrastructure - Package configuration for npm publishing - GitHub Actions CI/CD setup - Automated testing and coverage reporting - Semantic versioning implementation --- **Legend:** - ๐ŸŽ‰ Major features - โœจ New features - ๐Ÿ› ๏ธ Technical improvements - ๐Ÿ› Bug fixes - ๐Ÿ“š Documentation - ๐Ÿ”ง Infrastructure - โš ๏ธ Breaking changes - ๐Ÿ—‘๏ธ Deprecations