|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to AdminLTE will be documented in this file. |
| 4 | + |
| 5 | +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | + |
| 8 | +## [4.0.0-rc1] - 2024-12-20 |
| 9 | + |
| 10 | +### π Major Modernization Release |
| 11 | + |
| 12 | +This release represents a complete modernization of the AdminLTE codebase, bringing it up to current standards with the latest tooling, dependencies, and best practices. |
| 13 | + |
| 14 | +### π§ **Infrastructure & Tooling** |
| 15 | + |
| 16 | +#### Added |
| 17 | +- **New npm scripts for better developer experience:** |
| 18 | + - `npm start` - Quick development server launch |
| 19 | + - `npm run build` - Convenient build command for development |
| 20 | + - Enhanced `npm run production` with bundlewatch integration |
| 21 | + |
| 22 | +#### Changed |
| 23 | +- **Upgraded to ES Modules:** Added `"type": "module"` to package.json |
| 24 | +- **ESLint modernization:** Complete upgrade to ESLint v9 with new flat configuration format |
| 25 | + - Migrated from `.eslintrc.json` to modern `eslint.config.js` |
| 26 | + - Updated all ESLint plugins to latest versions |
| 27 | + - Resolved 700+ linting issues through automated fixes |
| 28 | +- **Astro configuration:** Added `output: 'static'` for proper static site generation |
| 29 | +- **Build optimizations:** Enhanced Rollup and PostCSS configurations for ES modules |
| 30 | + |
| 31 | +### π¦ **Dependencies** |
| 32 | + |
| 33 | +#### Updated |
| 34 | +- **Major version upgrades:** |
| 35 | + - `astro`: 4.15.12 β 5.10.0 |
| 36 | + - `eslint`: 8.57.1 β 9.29.0 |
| 37 | + - `@typescript-eslint/eslint-plugin`: 7.18.0 β 8.34.1 |
| 38 | + - `@typescript-eslint/parser`: 7.18.0 β 8.34.1 |
| 39 | + - `eslint-config-xo`: 0.44.0 β 0.47.0 |
| 40 | + - `eslint-config-xo-typescript`: 4.0.0 β 8.0.1 |
| 41 | + - `eslint-plugin-astro`: 0.34.0 β 1.3.1 |
| 42 | + - `eslint-plugin-unicorn`: 52.0.0 β 59.0.1 |
| 43 | + - `stylelint-config-twbs-bootstrap`: 15.1.0 β 16.1.0 |
| 44 | + |
| 45 | +- **Minor/patch updates (50+ packages):** |
| 46 | + - `bootstrap`: 5.3.3 β 5.3.7 |
| 47 | + - `sass`: 1.78.0 β 1.89.2 |
| 48 | + - `typescript`: 5.6.2 β 5.8.3 |
| 49 | + - `prettier`: 3.3.3 β 3.5.3 |
| 50 | + - And many more... |
| 51 | + |
| 52 | +### π‘οΈ **Security & Quality** |
| 53 | + |
| 54 | +#### Fixed |
| 55 | +- **Resolved all npm security vulnerabilities** (0 vulnerabilities remaining) |
| 56 | +- **Updated browserslist database** to latest browser compatibility data |
| 57 | +- **Fixed all deprecation warnings** from SASS and other build tools |
| 58 | + |
| 59 | +#### Improved |
| 60 | +- **Code quality:** Zero linting errors across JavaScript, TypeScript, CSS, and Astro files |
| 61 | +- **Bundle optimization:** All assets pass bundlewatch size thresholds |
| 62 | +- **Build reliability:** Complete production build pipeline works end-to-end |
| 63 | + |
| 64 | +### π§Ή **Code Cleanup** |
| 65 | + |
| 66 | +#### Removed |
| 67 | +- **Technical debt cleanup:** |
| 68 | + - Removed incomplete TODO comments and dead code |
| 69 | + - Cleaned up unused variables and imports |
| 70 | + - Standardized code formatting across all files |
| 71 | + |
| 72 | +#### Fixed |
| 73 | +- **ESLint configuration conflicts** between different rule sets |
| 74 | +- **Module import issues** with JSON imports in ES modules |
| 75 | +- **Circular dependency warnings** in build tools |
| 76 | + |
| 77 | +### π **Development Experience** |
| 78 | + |
| 79 | +#### Enhanced |
| 80 | +- **Faster development startup** with optimized watch tasks |
| 81 | +- **Cleaner build output** with suppressed non-critical warnings |
| 82 | +- **Better error reporting** with modern linting tools |
| 83 | +- **Improved script organization** with consistent naming conventions |
| 84 | + |
| 85 | +### π» **Browser & Platform Support** |
| 86 | + |
| 87 | +#### Maintained |
| 88 | +- **Full Bootstrap 5.3.7 compatibility** |
| 89 | +- **Modern browser support** with updated browserslist |
| 90 | +- **Static site generation** with Astro 5.x |
| 91 | +- **RTL (Right-to-Left) language support** |
| 92 | + |
| 93 | +--- |
| 94 | + |
| 95 | +## Previous Versions |
| 96 | + |
| 97 | +### [4.0.0-beta3] and earlier |
| 98 | +- Legacy versions with previous dependency sets |
| 99 | +- See git history for detailed changes in earlier versions |
| 100 | + |
| 101 | +--- |
| 102 | + |
| 103 | +## Migration Guide |
| 104 | + |
| 105 | +### From 4.0.0-beta3 to 4.0.0-rc1 |
| 106 | + |
| 107 | +**For Users:** |
| 108 | +- No breaking changes in the compiled CSS/JS output |
| 109 | +- All existing HTML templates remain fully compatible |
| 110 | +- CDN links and package imports work as before |
| 111 | + |
| 112 | +**For Developers:** |
| 113 | +- Update your npm scripts if you were using custom ones |
| 114 | +- The new `npm start` command replaces manual `npm run dev` |
| 115 | +- ESLint configuration is now in `eslint.config.js` (old `.eslintrc.json` removed) |
| 116 | +- Build process now requires Node.js ES modules support |
| 117 | + |
| 118 | +**Recommended Actions:** |
| 119 | +1. Run `npm install` to get latest dependencies |
| 120 | +2. Use `npm start` for development |
| 121 | +3. Use `npm run production` for production builds |
| 122 | +4. Review any custom ESLint configurations for compatibility |
0 commit comments