v5.0.0 Release Notes
Release Date: 23 November 2026
Note: v5.0.0 is the first major release since v4.0.2 (March 2026). Its primary goals were a new Bootstrap 5.3 interface, the removal of long-deprecated code and features, and a broad sweep of security, permission and data-integrity fixes. It replaces the three release candidates (rc1, rc2 and rc3), which are now deprecated, and includes all of their changes plus the fixes made since rc3.
Changes that affect upgrades or Add On modules:
- PHP 8.3 is the minimum. The installer checks the PHP extensions web2project needs:
ctype,filter,gd,json,mysqliandsessionare required. - Run
composer install --no-devafter upgrading: Carbon moves to 3.x andircmaxell/password-compatis removed. - Apply System Updates runs migrations 063–078. They stop at the first failed statement and report it in full. Migration 074 drops the contact update-request columns, 075 replaces apostrophes saved as
', and 078 resets project colours that aren't six-digit hex codes. Migration 077 makes login names unique: where two users share one, the newer accounts are renamed to<name>-<user id>and each rename is recorded in History. - Bootstrap 5.3 is the only theme. The w2p-snowball and wps-redmond themes and theme selection are gone.
- Removed: the 66 functions in
includes/deprecated_functions.phpand the 37 deprecated class aliases (CAppUI,CDate,DBQueryand others), PDF output, file check-in/check-out, file versions and file e-mail notifications, and the contact self-update request. Add On modules that still use any of these will stop with errors. index.phponly loads a module's pages and runs itsdosqlanddo_*handlers when the module is active and the user can access it, and every request that changes data must carry the__nonceform token.- Translation files are read as data instead of being run with
eval(). - See Upgrading to v5.0 and Updating Add On Modules for v5.0 before you upgrade.
Downloading & Installing
The only official distribution site is Github. Check out the Installation page to get started.
Reporting Problems
For more information, support, or to discussion upcoming features, please visit our Support Forums.
Any and all issues discovered should be added to our our Issue Tracking System. Feature requests should be marked as such and not described as issues. Please remember to mark Feature Requests as requests and not bugs.
If you’re not familiar with submitting a bug, please read my post: How To Submit a Bug
New Features
- New Bootstrap 5.3 interface
- Bootstrap 5.3.8 is bundled with the application, so no CDN is needed
- NiceAdmin-style header, sidebar, colours and typography, using the bundled Nunito Sans and Poppins fonts and Bootstrap Icons
- New sign-in, sign-up and lost-password pages
- Layout tables replaced with Bootstrap markup in every module, the shared templates and the installer
- A print stylesheet, so pages print cleanly from the browser in place of the old PDF export (#393)
- The date picker is restyled to match, and its button is a Bootstrap icon button (#567)
- Installer
- Checks each PHP extension web2project uses, marks it required or optional and says what it’s for (#290, based on work by moisseev)
- Warns when
file_uploadsis off inphp.ini
- Projects
- New “Tasks (All)” tab on the project view showing active and inactive tasks together in tree order (based on work by Klaus Buecher)
- Inactive tasks now have their own row colour and an entry in the task key
- Project budgets are shown on the project view again
- Tasks
- The “show inactive tasks” link on the Tasks list now works, as a “show all tasks” / “show active tasks” toggle (based on work by Klaus Buecher)
- Resources assigned on a task’s “Other resources” tab are saved again; nothing had saved them since v3.2 (based on work by Klaus Buecher)
- Files
- The Folder Explorer is back as a Folders tab (#406, #407, #408), and the Add/Edit File form has a folder field for moving files between folders (#405)
- The Files list is grouped under project headings and hides files from projects and tasks the user isn’t allowed to see
- New Owner and Category filters on the Files page, next to the Project filter
- Calendars shade non-working days from
cal_working_daysand holidays - The header search box runs SmartSearch directly, and SmartSearch is hidden from the menu (migration 071)
- Public sign-up has self-hosted bot protection: a proof-of-work puzzle, a hidden-field trap and timing checks (#363)
- Lost password works again and generates unguessable passwords
- Custom fields work on users, and calendar (event) custom fields work again
- The contact page shows tabs added by Add On modules, such as Todos (#561)
- A German help page; the help window links to the docs site, GitHub Discussions and the issue tracker
Fixes/Bugs Closed
- Security
- Role changes are checked per account and per role. Without System edit rights, users can’t change their own roles, grant or remove the Administrator role, or change an Administrator’s roles (GHSA-qqx6-f7cc-3wf2, reported by M4ru-0x03)
- Saving an account keeps the fields the form doesn’t edit (user type, parent, login name, password hash and linked contact), and sign-up always creates a new, normal account (GHSA-65x8-6jcq-fc5r)
- Bulk task actions, task saves and new tasks check the task and its project (GHSA-48ww-5h48-vwx9, reported by M4ru-0x03); moving a task to another project checks permissions first (#472)
- Task logs: edit and delete rights are checked against the stored log, not the posted creator (GHSA-xcpx-p68j-gm7w)
- Forums: watches and watch e-mails only for forums the user can read (GHSA-qp43-fcwc-p3j3); a topic is only shown, replied to or posted in after a check on its own forum and project; only a message’s author or an administrator can edit or delete it
- SQL injection: search terms are quoted in every LIKE clause, so
%and_now match literally (GHSA-98hj-h8rw-w56m, reported by Yescrypt; GHSA-mj5m-6227-52vv, reported by p-w); also fixed in preferences, the Users list letter filter, sort parameters, SmartSearch, the public sign-up e-mail check, the contacts duplicate check (#402) and bound strings put into SQL - Stored XSS: names are escaped in list tables, view pages, edit forms, calendars and task lists (#546), forum titles, bodies and author names (#533), the selector pop-up and drop-down labels, SmartSearch results, and URL fields (#401); tooltips show their text as text, so a name holding markup no longer runs when hovered; project colours must be six-digit hex codes
- Reflected XSS: the Projects Gantt tab builds its chart URL from numbers and flags only (#542)
- CSRF: every request that changes data needs the session’s form token, including logout, ending sessions and module admin links (#400)
index.phponly loads pages and runsdosql/do_*handlers of active modules the user can access (#463, #547), and refuses unknown or malformed handlers- Sessions: the id is regenerated at login and no longer put in redirect URLs; the cookie is Secure, HttpOnly and SameSite
- Passwords: the current password is checked with
password_verify(), saving a user no longer re-hashes it (#386), legacy MD5 hashes are compared withhash_equals()(#474), and the sign-up e-mail no longer contains the password - Calendar feeds use random tokens and stop for users who can’t log in (#436)
- Translation files are parsed instead of run with
eval()(#313), and the translation editor only writes files for installed modules and languages and requires the form token - Smaller fixes: the Active Sessions tab checks the session id,
CAppUI::isActiveModule()no longer builds SQL from the module name (#457), the inactive tasks tab and History list filter by permission in SQL (#476, #477), the Files form stops including the HelpDesk add-on’s config.php (#466), andw2PgetParam()drops a filter that never matched (#403)
- Users, permissions and LDAP
- On new installs, the Project worker role has Access, View, Add and Edit on the non-admin modules; before, it couldn’t open any module
- Login names are unique (migration 077) (#438); sign-up stores the name it checked
- User and Calendar permissions can be granted, Users editors can save other users’ preferences, and the “delete User” action is back (#385)
- LDAP: new users always get a contact and a password hashed once, and a login fails cleanly when the local user can’t be created (#320, #440)
- Logins are recorded and stay open until they end; logouts are recorded; activity time is updated on every request (#445)
- A refused delete no longer runs its cleanup (for example, removing a user’s login and preferences)
- Upgrades and the database
- Works with MySQL 8’s default
sql_mode, including strict mode and dotProject conversions (#532) - Upgrades stop at the first failed statement and report the migration, statement and error; a failed migration isn’t recorded, so it can simply be run again
- Fixes to migrations 002, 004, 012, 033, 046, 050/051, 056, 059, 070 and 071; migration 070 brings databases upgraded from 4.x in line with fresh installs, and 076 cleans zero dates in the login log (#537)
- Apostrophes are no longer saved as
'(migration 075) (#556) insertObject()writes0,falseand empty text instead of dropping them (#559)- The Resources tables are fixed on new installs (migration 068)
- Database version is now 78
- Works with MySQL 8’s default
- Projects and tasks
- Task logs, Child Tasks and Task Logs tabs, task reminders, “Update projects status” and the project list for users without full department rights work again
- Task dates moved by dependencies stay in UTC; re-parenting and moving tasks roll up dynamic dates and update task counts (fixes from Klaus Buecher)
- History records each entry’s project and lists it on the project tab (#525); task logs follow their task between projects
- Custom fields are only saved when a
store()was given them (#473, #527) - A failed save is only restored into the edit page of the same record
- Budgets reject an empty amount again
- List cells show “-“ for a missing linked object instead of an empty link (#558)
- Gantt charts
- All text is drawn in DejaVu Sans, so non-Latin names and CJK text render; the Today line, dependency arrows and narrow charts are fixed
- The project Gantt tab and ProjectDesigner show every task; the sub-projects Gantt works on PHP 8
- Calendars, dates and reports
w2p_Utilities_Date::convertTZ(),format(),getBeginWeek()/getEndWeek(),addDays()across DST and the other date helpers return the right dates (#519, #520)- Calendars mark today; the week view shows the loaded week; recurring events no longer crash the day view (#530), and hourly recurrences no longer all land on the first one
- Reports open on the last two weeks, and the Task List report’s previous and next buttons move the range (#553); fixes to Project Statistics, Task Logs and Allocated User Hours (#524); the cost reports no longer fail on a project without a start date
- Tooltips show plain text, one line per field, instead of markup
- A user with an empty or unknown time zone (such as
US/Easternon a server without the old zone names) no longer causes errors or blank dates in notification e-mails; web2project falls back to the system time zone. Task notification e-mails show the time zone abbreviation. - Date-only values in list columns stay on their day, and text in a date column no longer causes a TypeError;
getWeekOfYear()works on PHP 8
- Files
- Mail and forums
- Language packs
- PHP 8
Misc Changes/Improvements
- Removed
- PDF output (reports, Gantt charts and forums) and the dead PDF code outside lib/ (#392)
- File check-in/check-out (#376), file change e-mail notifications and the file version field
- The contact self-update request (
updatecontact.php,do_updatecontact.php, migration 074) - The w2p-snowball and wps-redmond themes, and theme selection
includes/deprecated_functions.php(66 functions), the 37 deprecated class aliases and the remainingdb_*helpers- The unused Projects list search and the Scrutinizer config
- Deprecated until v6.0:
getCriticalTasksInverted(),strUTF8Decode(),CAppUI::readFiles(),checkFileName()andloadCalendarJS()(#465) w2p_Exception_FileSystemis noww2p_Exceptions_FileSystem(#467)- Table prefixes are explicitly unsupported (#427)
- New helpers for Add On modules:
w2p_Database_Query::quoteLike(),w2PsafeOrderBy(),CAppUI::restoreObject($object), andListTable::addDividers()for any*_projectkey (#560) - Support links point to GitHub Discussions and the issue tracker instead of the old forums and Mantis
- Code cleanup: PHPDoc across all classes, modules and tests; removed commented-out and unreachable code; valid HTML5 with no deprecated tags; a PHPStan level 10 configuration and fixes
- Unit tests run on PHPUnit 11.5, including the include tests, with new tests for the fixes above. They use their own database, built as a fresh install with
php unit_tests/build-test-db.php, and never the one inincludes/config.php. All 588 tests pass (120 are skipped or incomplete). - Version set to 5.0.0 (Composer package 5.0)
Open/Known Issues
- Uploaded files are stored inside the web root and protected only by an Apache 2.2-style
.htaccess(#394, #395). See Security Notes. - #535 / #536 Converted dotProject sites lack some module rows and keep dotProject column types
- #538
updateLogin()logs “Undefined array key” warnings on every user save; #555 PHP 8.2 dynamic property deprecations remain in a few classes - #478 A save refused for lack of permission shows an empty error message
- #551 Add On modules can’t ship templates that
resolveTemplate()finds - #392 The PDF libraries and fonts are still in lib/ (planned for v6.0)
- The database layer (ADOdb) and date handling (PEAR Date) are old and due to be replaced.
System Metrics
There are some core metrics that may be of interest to the geekier among us. We generate these with phploc, using the phploc target in the unit_tests/build.xml file. Overall Code Metrics explains how to run it yourself.
Measured with phploc 8.0.4, excluding lib/ and vendor/.
- Lines of Code: 66322 (11161 of comments, 55161 of code)
- Cyclomatic Complexity:
- Per Class: 19.40 (min: 1, max: 273)
- Per Method: 2.53 (min: 1, max: 68)
- Per Line of Code: 0.26
- Interfaces: 2
- Traits: 0
- Classes: 148 (143 Concrete, 5 Abstract)
- Lines of Code/Class: 84
- Class Constants: 16
- Methods: 1796 (53 static, 1743 non-static)
- Public: 1603
- Protected: 156
- Private: 37
- Lines of Code/Method: 6
- Functions: 224 (207 named, 17 anonymous)
- Constants: 71