Edwin Noorlander 863661612a ## Major CodePress CMS Enhancement
### 🚀 New Features
- **League CommonMark Integration**: Replaced basic Markdown parser with full CommonMark 2.7 support
- **Bootstrap Sass Architecture**: Modern SCSS build system with Bootstrap 5.3.8
- **Enhanced Navigation**: Uses filenames instead of H1 titles for consistency
- **Improved Styling**: Transparent navigation backgrounds, no rounded corners

### 🎨 UI/UX Improvements
- Navigation items now use formatted filenames (e.g., "kennis-boven-aantallen" → "Kennis Boven Aantallen")
- Transparent navigation backgrounds with subtle hover effects
- Removed rounded corners from first-level navigation
- 50% opacity navigation background using Bootstrap variables

### 🔧 Technical Improvements
- **Class Organization**: Extracted CodePressCMS and SimpleTemplate to separate files
- **Full PHPDoc Documentation**: Complete documentation for all methods
- **Modern Build Process**: npm scripts for SCSS compilation
- **Enhanced Markdown Support**: Tables, strikethrough, task lists, autolinks
- **Security**: Proper HTML sanitization with CommonMark

### 📦 Dependencies
- Added `league/commonmark` for professional Markdown parsing
- Added `bootstrap` for SCSS-based styling
- Updated `sass` build process

### 🐛 Bug Fixes
- Fixed content directory path configuration
- Resolved navigation title inconsistencies
- Improved Markdown bold/italic formatting
- Fixed homepage 404 issues

### 🔄 Migration Notes
- Content directory moved from `content/` to `public/content/`
- Navigation now displays filenames instead of content H1 titles
- CSS now compiled from SCSS source files

The CMS now provides a professional, modern experience with robust Markdown support and clean, maintainable code architecture.
2025-11-21 20:23:20 +01:00

2.4 KiB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

3.0.3 - 2024-07-08

Fixed

  • Fixed PHP 8.4 deprecation notices (#47)

3.0.2 - 2022-10-27

Fixed

  • Added missing return types to docblocks (#44, #45)

3.0.1 - 2021-08-13

Added

  • Adds ReturnTypeWillChange to suppress PHP 8.1 warnings (#40)

3.0.0 - 2021-01-01

Added

  • Added support for both . and /-delimited key paths (#24)
  • Added parameter and return types to everything; enabled strict type checks (#18)
  • Added new exception classes to better identify certain types of errors (#20)
  • Data now implements ArrayAccess (#17)
  • Added ability to merge non-associative array values (#31, #32)

Changed

  • All thrown exceptions are now instances or subclasses of DataException (#20)
  • Calling get() on a missing key path without providing a default will throw a MissingPathException instead of returning null (#29)
  • Bumped supported PHP versions to 7.1 - 8.x (#18)

Fixed

  • Fixed incorrect merging of array values into string values (#32)
  • Fixed get() method behaving as if keys with null values didn't exist

2.0.0 - 2017-12-21

Changed

  • Bumped supported PHP versions to 7.0 - 7.4 (#12)
  • Switched to PSR-4 autoloading

1.1.0 - 2017-01-20

Added

  • Added new has() method to check for the existence of the given key (#4, #7)

1.0.1 - 2015-08-12

Added

  • Added new optional $default parameter to the get() method (#2)

1.0.0 - 2012-07-17

Initial release!