We have detected that you are using AdBlock.

Please disable it for this site to continue.

Resource icon

Standard Library by Xon 1.24.8

1.24.8 - Bugfix update
Compatibility fix with XF2.2.6 and older

1.24.7 - Bugfix update
Fix backport changes not applying to older XF versions as expected
Fix pre-XF2.3.8 support for \XF::options() returning strongly typed data after updating SV/StandardLib

1.24.6 - Bugfix update
Fix Undefined array key 'src' template error on XF2.3
Adjust installer to avoid triggering non-required class extension cache rebuilds on updates
  • Fix unexpected recursion causing a stack overflow when add-on cache data is rebuilt
  • Harden post-link.js to avoid infinite redirect due to a WAF security check redirecting back to the same page (aka cloudflare security checks)
  • Update choices.js
    • More reliably trigger iOS virtual keyboard in all cases
    • Fix arrow-key navigation did not start from the selected choice when no choice is currently highlighted
  • Harden Helper::getEntityStructure() to not cause an internal server error on an invalid Entity definition
  • Remove _xfRedirect attribute from various GET links as these cause many redundant fetches by bots. This was only is required if the link is opened as a GET without a referrer being set. At which point just redirecting back to the same selection dialog is good enough.
  • Fix advanced cookie concent form didn't work as expected when redirecting from GET to POST links
  • Fix possible javascript error in link-post.js on XF2.2
  • Compatibility fix for XF2.3.0-XF2.3.4
  • Fix incorrect CSS when choices.js has no items selected
  • Fix custom date-time handling parsing had a broken condition for non-safari browsers
  • Fix installer could sometimes cause errors when using aliasClass helper method
  • Fix rebuilding or updating StandardLib could cause option values to be incorrectly cached without expected types, only applies to pre-XF2.3.8
    • Only noticeable if StandardLib is updated without updating another other add-on
  • Fix XF2.2 boolean options was not cast as bools as expected
  • Fix XF2.2 default value for float options were cast to integers instead of floats
  • Update backported templater functions array_diff/array_reverse/array_sum to match XF2.3 behavior. These return arrays, not collections depending on input.
  • Add array_first/array_lasttemplater functions
  • Fix bad type-hint on whereImpossible() method for EarlyJoinFinderTrait trait
  • Update Helper::newExtendedClass() to execute in the context of the class being executed, this allows private/protected constructors to be called
  • Add tab-nav helper code to work with collapsible sections (sv/lib/tab-nav.js), this allows tabbing between elements to trigger collapsing/expanding of collapsed sections
  • Add support for 3rd party add-ons implementing XF2.3 style property variations to use the "default" variant in XF2.1/XF2.2
  • Update to choices.js v11.2.0
    • Adjust choices.js input-box css to have expected @xf-inputTextColor text color
    • Add "Default Choices.js bundle" option to expose which choices.js bundle to use (controls the search-as-you-type implementation)
    • Add support for required html attribute (Note; requires css changes)
    • Improve UX on the select dropdown
    • Fix data-label-description from source html was not treated as trusted (ie MultiPrefix & prefix help)
    • Fix selected choice was not reliably highlighted when opening the dropdown
    • Fix dropdown would stick closed when a search loses focus
  • Enhance admincp batch add-on installer to sort add-ons by their dependencies to make updating multiple add-ons more reliable
  • When using "AJAX pagination with filter bar" (js/sv/lib/xf/filter.js), fix invalid javascript error message when filtering by a value without pagination wrapper
    • Noticeable on the "logo selection" page of the Selectable logo (paid) add-on
Top