Files
CodePress/version.php
T
E.Noorlander 890510c4c6 Bump version to 1.7.0
- Version 1.7.0 'API' with Content API, admin guide page, anchor link fixes, code block styling
2026-07-28 14:37:52 +02:00

99 lines
4.7 KiB
PHP

<?php
/**
* CodePress CMS Version Information
*
* This file contains version information and changelog for CodePress CMS.
*/
return [
'version' => '1.7.0',
'release_date' => '2026-07-28',
'codename' => 'API',
'status' => 'stable',
'changelog' => [
'1.7.0' => [
'date' => '2026-07-28',
'changes' => [
'Content API for PHP content files (getAllPages, getPage, getMenu, getConfig, etc.)',
'Admin guide page with rendered markdown (CommonMark with TOC, tables, code blocks)',
'HeadingPermalinkExtension for anchor links in guide TOC',
'Deep links fixed: heading IDs moved from hidden permalink anchors to heading elements',
'Code block styling (light theme) in admin guide and frontend',
'Config form with separate fields (site_title, default_page, language, SEO, author, features)',
]
],
'1.6.0' => [
'date' => '2026-07-14',
'changes' => [
'Clean URLs: /nl/page/path instead of ?page=...&lang=nl',
'Clean admin URLs: /admin/route instead of admin.php?route=...',
'Apache .htaccess rewrite rules for clean URLs',
'PHP dev server router (cms/router.php) for local clean URLs',
'CSRF token on admin login form',
'Directory listing blocked (Options -Indexes)',
'Secure cookies (HttpOnly, Secure, SameSite)',
'Backup/sourcemap files blocked in .htaccess',
'Version disclosure disabled (meta generator removed)',
'Media browser modal with upload and recursive content tree scan',
'CodeMirror editor with formatting toolbar (bold, italic, heading, link, image, list)',
'Media button in editor toolbar with image size prompt (Markdown vs HTML mode)',
'Inline file rename in content-edit page (no separate rename page)',
'Content move and directory management in admin',
'Theme management subdirectory structure (themes/naam/theme.json)',
'Theme CRUD in admin (create, activate, edit, delete)',
'Unsaved changes detection: Back button turns into red Cancel',
'Disabled state on upload and create buttons until input is valid',
'Editor mode switching for new pages (Markdown/PHP/HTML)',
'/-media/ URL prefix for media files from any content subdirectory',
'Backward-compatible /-assets/ media serving',
'Improved breadcrumb handling (no more stray dots)',
'Numerous security and code quality improvements',
]
],
'1.5.0' => [
'date' => '2025-11-26',
'changes' => [
'Complete guide documentation rewrite with comprehensive examples',
'Implement plugin system with HTMLBlock and MQTTTracker plugins',
'Enhanced bilingual support (NL/EN) throughout the system',
'Improved template system with better layout options',
'Enhanced security headers and code quality improvements',
'Updated documentation and configuration examples',
'Plugin architecture for extensibility',
'Real-time analytics and tracking capabilities',
]
],
'1.0.0' => [
'date' => '2025-11-24',
'changes' => [
'Initial stable release',
'Complete security hardening (100/100 pentest score)',
'Multi-language support (NL/EN)',
'Responsive design with Bootstrap 5',
'Automatic navigation and breadcrumbs',
'Search functionality',
'Markdown, HTML, and PHP content support',
'Mustache templating system',
'Comprehensive security headers',
'XSS and path traversal protection',
'Automated penetration test suite',
'Functional test coverage',
]
]
],
'system_requirements' => [
'php' => '>=8.0',
'extensions' => ['json', 'mbstring'],
'optional' => ['opcache' => 'Recommended for performance']
],
'credits' => [
'author' => 'E.Noorlander / CodePress Development Team',
'license' => 'AGPL v3 / Commercial',
'license_info' => 'Dual-licensed: AGPL v3 for open-source, Commercial license for proprietary use',
'repository' => 'https://git.noorlander.info/E.Noorlander/CodePress.git',
'contact' => 'commercial@noorlander.info'
]
];