Standard Library by Xon

Add-ons Standard Library by Xon 1.20.1

Register & Get access to index
  • Add support for addon.json 'require'/'require-soft' to support addon version strings instead of the addon version_id.
    Uses version_compare under the hood after some very basic standardization.
    php version strings support dotted versions, '1.2.3' and also each part may also support special character strings:
    any string not found in this list < dev < alpha = a < beta = b < RC | Release Candidate = rc < # < patch level | pl = p.
Thanks to @NamePros for sponsoring this update
  • Add "patch_route_build_callback" code event, used to manipulate the router state during construction.
  • Add input filter option "empty-str-to-null". Example usage for developers:
PHP:
$foo = $this->filter('bar', '?uint,empty-str-to-null');
  • Fix caching global permissions was broken (Impacts Can Warn Staff & User Essentials, but depends heavily on content if this bug was triggered)
Back
Top Bottom