What's New
Frontend Monorepo & npm Packages
- Published 4 npm packages:
@netipar/chunky-core, @netipar/chunky-vue3, @netipar/chunky-react, @netipar/chunky-alpine
- React hook (
useChunkUpload) with full pause/resume/cancel/retry support
- Alpine.js data component (
chunkUpload) with DOM event dispatching
- Framework-agnostic
ChunkUploader TypeScript core with typed event emitter
Context-based Validation & Save Callbacks
- Register per-context validation rules and save handlers via
Chunky::context()
UploadMetadata DTO with UploadStatus enum for structured upload state
Livewire Support
<livewire:chunky-upload /> component with Alpine.js integration and custom slots
Testing & CI
- Pest test suite: 60 tests, 175 assertions (Unit + Feature)
- GitHub Actions CI: Pint + Pest across PHP 8.2/8.3/8.4 × Laravel 11/12
- Laravel Pint code formatting with Laravel preset
Documentation
- English and Hungarian example documentation
- Laravel Boost development skill for AI-assisted integration
Bug Fixes
- Fixed
FilesystemTracker infinite recursion on expired uploads
- Fixed
UploadMetadata::fromArray() handling of UploadStatus enum from Eloquent model casts
- Removed
node_modules from git tracking
Install
# Backend
composer require netipar/laravel-chunky
# Frontend (pick one)
npm install @netipar/chunky-vue3
npm install @netipar/chunky-react
npm install @netipar/chunky-alpine
npm install @netipar/chunky-core