# 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
