Dotclear 2.40 - 2026-11-13 =========================================================== * 🐘 PHP 8.2+ is required, PHP 8.3, 8.4 and 8.5 compliance * Breaking change: Remove 6th argument ('opts') of WidgetsElement::setting() * Breaking change: Remove 2nd and 3rd arguments (alt_not_home and alt_home) of WidgetsElement::checkHomeOnly() method * Fix: Cope with title changes on Page edition * Fix: Cope with no entry in category in categories list (backend) * Fix: Ensure that file edited with theme editor ends with a newline (except if empty) * Fix: Don't reset custom image title pattern if any on blog parameters page * Fix: MP3 wrong mime-type, from audio/mpeg3 to audio/mpeg * Fix: RSS 2 mime type and remove usage of XSLT in RSS 2 template (mustek, dotty and glaz) * Fix: Wordpress import * Fix: CLI arguments parser and urlscan option * Fix: Cope with timeout exception in HttpClient * Core: Add aside, dialog and nav HTML element in Form helpers * Core: Add command and commandfor attributes for Btn (form helper) * Core: Add target and rel attribute for Html/Form/Link (A) element (form helper) * Core: Add aria-current, aria-describedby, aria-details, aria-disabled, aria-hidden, aria-label and aria-labelledby Helper/Html/Form attributes * Core: Add typed getter/setter method to Cursor class (Str, Int, Bool and Float) * Core: Remove the locked update mechanism for themes as it is no longer needed * Core: Add Html/Form/Datalist (form helper) * Core: Rename XmlTag::nodes(), node() and name() to avoid confusion with __set() method usage * Core: Add a new behavior coreContentFilterV2, using Core/Content classes, to be used instead of coreContentFilter * Core: Add a new simpleMenu behavior (adminSimpleMenuBeforeEditV2) to cope with 3rd party menu item edition * Core: Add V2 form for some behaviors (adminPostsSortbyCombo, adminCommentsSortbyCombo, adminBlogsSortbyCombo and adminUsersSortbyCombo) * Core: Remove usage of deprecated dcCore for Notices and Resources (Core/Backend), with a new adminPageNotificationErrorV2 behavior * Core: Add a backend flag to indicate if the current admin page was opened as a popup (with getter/setter) * Core: Add a public method (isPopup) in Backend/MediaItem to indicate if it was opened as a popup or not * Core: Add sub-categories in comments feed, if set so in blog parameters * Core: Log StoreReader error when repository query fail * Core: Add SqlStatement::between() and SqlStatement::caseWhen() methods * Core: Set App::frontend()->search_count to int type (was mixed before) * Core: Add a App::config()->tplsets() method which return an array of each available template sets (string) * Core: Template engine: add a constructor argument to set debug mode * Theme: Add BlogLanguageDirection template value (to be used as dir="{{tpl:BlogLanguageDirection}}") * Theme: Add the dir="..." attribute to the html element in the mustek, dotty, and glaz template sets * Theme: Ductile2026, do not include sub categories on a category page * Theme: Remove management of unused disable attribute for Tpl:IfWidgets * UX/UI: Added the dir="..." attribute to the html element of backend/upgrade pages (including popup ones) * UX/UI: Use "Quit update dashboard" rather than "Go to normal dashboard" on upgrade dashboard * UX/UI: Do not display upgrade link in header on update dashboard, and set link direct to upgrade page * UX/UI: Add two notes for blog parameters about loading of legacy and jquery javascript libraries * UX/UI: Review css positioning of debug button (in header) on smaller devices * UX/UI: Keep state of folded/unfolded section in widgets management * UX/UI: Enlarge some backend fields (titles, emails, urls, …) * UX/UI: Add an option to not clear entry URL field if title or date change (if used to compose entry URL) * UX/UI: Add an option to disable the right and left arrow keys for navigating between items (posts, pages, …) * UX/UI: Review user preference interface options layout (using two part, presentation and behavior) * UX/UI: Review colors of prelude in dark mode * UX/UI: Cope with RTL languages (CSS/JS) * UX/UI: Cope with RTL in Berlin theme * UX/UI: Add support URL, if exists, to activated themes as user may need support for them * UX/UI: Add a note about display name, used in place of first and last name if provided * UX/UI: Add diff display between current file and its parent if any in theme editor * UX/UI: Adjust theme editor diff CSS (light/dark colors) * UX/UI: Modify donate dashboard module to indicate that becoming a Dotclear member is possible * UX/UI: Add some information about the media thumbnail prefix character * UX/UI: Review filters (posts, comments, media, blogs, users, …) layout using flex rather than pseudo-table * A11y: Add aria-label attribute to breadcrumb and main menu * A11y: Add empty alt to inactive dashboard icons * A11y: Add aria-label to logout link * A11y: Remove aria-role navigation from breadcrumb * A11y: Add quick access menu to notices if any on current page, also add number of notices in page title (head) * A11y: Cope with notices provided by plugin for accessibility quick menu and page title * A11y: Add quick access menu to notices if any on current page (upgrade dashboard), also add number of notices in page title (head) * L10n: Fix labels for number of comments/posts (single form, 0 or 1) * L10n: Add a cache of translations files loaded * Deprecated: User table, options field is deprecated, should use user preferences table * Deprecated: coreContentFilter behavior * Deprecated: adminSimpleMenuBeforeEdit behavior * Deprecated: adminPostsSortbyCombo, adminCommentsSortbyCombo, adminBlogsSortbyCombo and adminUsersSortbyCombo behaviors * Deprecated: adminPageNotificationError behavior * Deprecated: App::backend()->popup (use App::backend()->isPopup() instead) * 🛡 Security: Avoid using cryptographic weak methods md5() and uniqid() when creating a recovery key * 🛡 Security: Filter local IPs for trackbacks/pingbacks * 🛡 Security: Enforce unzip content checking (filename) before extraction * 🛡 Security: Flat export was using a non protected temporary location to export data before sending it (in public folder) * 🛡 Security: Some superadmin only maintenance tasks could be executed by admin * 🛡 Security: Reflection XSS on webmention, remove information from error message * 🛡 Security: Clean comment's author * 🛡 Security: add ignore case flag when checking media extension for potential RCE on multiple extensions (ex: x.PHP.jpg) * Dev: Add some Playwright end to end tests * Dev: Adjust position of debug information button in header * Dev: Activate some PHPStan extra analysis * Dev: Add a badge (lower-right) on each theme block rather than adding text info about theme * Dev: Rector check up to PHP 8.6 * Dev: No longer use of SASS to generate backend CSS * Dev: Add PHPStan strict-rules extension * 🐛 → Various bugs, a11y concerns and typos fixed * 🌼 → Some locales and cosmetic adjustments Dotclear 2.39.3 - 2026-08-25 =========================================================== * Fix: Widget subtitles management * Fix: Media legend composition when inserting them in entry * Fix: Check existence of $_SERVER['HTTP_USER_AGENT'] before using it * Fix: HTTP requests with port set to 0 was not handled correctly Dotclear 2.39.2 - 2026-08-19 =========================================================== * Fix: Widgets management, error 500 if there is no widgets defined for the blog Dotclear 2.39.1 - 2026-08-16 =========================================================== * Fix: Widget, feed reader, URLs was displayed instead of titles * Fix: Available plugins/themes from repo, install button was missing * Fix: Entry (post, page, ...) update with an empty URL which was not recomposed * Fix: Widget category was not set the active one if any * Fix: Blog parameter "Include sub-category's entries in category page and feed" was not taken into account Dotclear 2.39 - 2026-08-13 =========================================================== * 🐘 PHP 8.2+ is required, PHP 8.3, 8.4 and 8.5 compliance * Breaking change: Structure::table() method will now register a new table only if not already registered * Breaking change: Move Codemirror instance stack (global codemirror_instance) to dotclear.codemirror property * Breaking change: Deprecated form methods (legacy) will no longer accept an associative array of optional parameters * Breaking change: __top_behaviors and __shutdown global variables are no longer taken into account * Breaking change: Filters::userOptions() is deprecated and do not return anything else than null * Breaking change: Using new UserPrefFilter class is now mandatory (except for related behaviors) for user preferences filters * Breaking change: UrlHandler->type is no longer public, use getType() instead * Theme: Add a new template set, named glaz. Plugins should provide their according template file * Theme: A button has been added to create symbolic links to the distributed themes if the blog’s theme folder is not the default one. * Core: Add DC_MODERN flag (inc/config.php) to avoid loading of legacy and deprecated code (PHP, JS), default to false * Core: Silently ignore module file loading error (especially with old code) * Core: New typed methods for MetaRecord::field() aliases: strField(), intField(), boolField() * Core: Record->index() no longer return null, only int if given $row is null or not provided, bool otherwise * Core: Add specific contexts for plugin/theme configuration page (PLUGIN_CONFIG, THEME_CONFIG) * Core: Backend Listing class, add count() method to get number of rows in associated record * Core: Modules (plugins, themes) update checking optimisation * Core: Use release.json URLs for plugins and themes stores with a fallback to blog settings * Core: Core/Backend/Listing rs_count is now int (was ?int before) * Core: Review menu item management (using a specific class MenuItem) * Core: Review menu item icon management (using a specific class Icon) * Core: Review favorite icon management (using the class Icon) * Core: User preferences, use Favorite Icon (menu/dashboard) with fallback to legacy one (small/large) * Core: Use a specific Core/Backend/Notice to define a notice * Core: Add a new recommended behavior: adminPageNotificationV2 (to be used instead of adminPageNotification) * Core: Add a new Core/Backend/Notices::addNewNotice(), which use a Notice instance as parameter * Core: DB Table field length is now always an integer (= 0 if not relevant, rather than null before) * Core: Add a SqlStatement::satinizeIn() to prepare a list of item to be used in SqlStatement::in() * Core: Add a log entry if a media has a malformed metadata * Core: Use a specific class (UserPrefFilter) for user preferences filters (sort by, order, nb) * Core: Add a new behavior adminFiltersListsV3 to add some 3rd party user filter (use it instead of adminFiltersListsV2) * Core: Tags plugin has migrate it's list option in user preferences table too and will no longer use Auth::$user_options * Core: Take care of current output buffering level * Core: Add typed (str, int, bool and float) getXXX methods for blog workspace settings and user workspace preferences * Core: Add an UrlHandler::isType() method to check if one of the given type is the current one * Core: Cope with string argument for popover (hint, auto, manual) or boolean (true = auto) * Core: Use __toString() method to get string value of an SimpleXMLElement child value * Core: Throw an exception if UserPreferences::createFromUser() is called with an empty user id * Core: Prevent usage of unknown xdebug functions * Core: Add defer option of jsLoad() methods * UX/UI: Dirty forms monitoring: reduce to 500ms every check (as it last between 1 and 10ms) * UX/UI: Take care of Codemirror clean flag when saving file (and checking changes) in theme editor * UX/UI: Add module configuration form monitoring * UX/UI: Try to avoid double scrollbars on theme editor * UX/UI: Add flip/rotate image in media item management * UX/UI: Enter key in form helper, allow Shift+Enter to insert a new line rather than submitting form * UX/UI: Review user preferences columns management (order and display) * UX/UI: Icons color, replace #167bba by #4878d1 * UX/UI: Link (and some others), color replace: #2373a8 by #436fc2 * UX/UI: CSS light blue for drag'n'drop active and link on fault page * UX/UI: Adjust darker blue in CSS * UX/UI: Make all icon cards same height on dashboard, reduce gap between cards * UX/UI: Review footer tooltip management * UX/UI: Add apple-touch-icon for backend * UX/UI: Allow wider select components in table * UX/UI: Slight change of background color of soft badges * UX/UI: Switch from flex to grid for standard icons layout on dashboard * UX/UI: Make some more room for uploaded filename, if possible * A11y: Slightly enforce icon background in light mode on dashboard * A11y: Put ascii art in a span with aria-hidden="true", decoration only * L10n: User profile and languages management: add a note about languages other than English and French are translated automatically * L10n: Fix .po parsing when msgid start with an empty content (should be followed by multiline) * L10n: Add missing resources.php for Hindi * JS: Independant metaEditor object becomes a property of global dotclear class (use new dotclear.MetaEditor instead of new metaEditor) * JS: Put jsToolBar, jsButton, jsSpace, jsCombo, jsDialog classes inside global dotclear object (as dotclear.ToolBar) * JS: Update CodeMirror (5.65.7 -> 5.65.21) * 🛡 Security: Avoid setting innerHtml property (XSS prevention) * 🛡 Security: Avoid possible XSS in page-tabs-helper, using dataset * Fix: Themes Ductile 2026 and Custom CSS: don't load resources (js/css) if not relevant * Fix: Do not read exif data from unsupported image format (JPEG and TIFF only, up to now) * Fix: Expand system (JS), do not put button inside a A but before * Fix: We might have … in tab title * Fix: Authentication when user has no default blog defined * Fix: Argument type for Url::getPageNumber() * Fix: Core/Log::getLogs() with $params[...] used as list in sql->in() * Fix: Core/Credential::setCredential() with credential_data field * Fix: Maintenance settings for delay when using generic one * Fix: Post metadata synchro in Plugins/Maintenance * Fix: Cope with media with empty metadata field * Fix: Left badge position on icon when using dense layout * Fix: Usage of widgetcontainerformat setting if present in _define.php of current theme * Fix: Quick menu prefix management * Fix: Set attach_i and attach_f (in attachments loop) in context stack * Fix: ThemeConfig::publicCssUrlHelper() was buggy * Deprecated: Core/Backend/Notices::addNotice(), use Core/Backend/Notices::addNewNotice() * Deprecated: Global metaEditor class, use dotclear.MetaEditor * Deprecated: Gloabl jsToolBar class, use dotclear.ToolBar * Deprecated: $GLOBALS['_l10n'] and $_l10n * Deprecated: ConnectionInterface:escape(), use escapeStr() * Deprecated: form class, use Dotclear/Helper/Html/Form/* instead * Deprecated: Auth::getOption() and Auth::getOptions() become deprecated and standard options are now migrated in user preference table * Deprecated: Favorite::smallIcon() and Favorite::largeIcon(), use respectively Favorite::menuIcon() and Favorite::dashboardIcon() * Dev: Use PHPStan max level * Dev: Add a MetaRecord PHPStan stub file for MetaRecord extensions * Dev: Use a popover and a button in header to display debug information * 🐛 → Various bugs, a11y concerns and typos fixed * 🌼 → Some locales and cosmetic adjustments