Resource icon

xF2 Add-on Standard Library by Xon 1.19.5

No permission to download
  • Fix 32bit support when detecting early-join behaviour (ie Optimize List Queries add-on)
  • Move helper features for extending forum/prefix filters into Standard Lib from a number of other add-ons
  • Like
Reactions: BattleKing
  • Fix triggering an error on /forums/1/page-9223372036854775807 when Optimized Query List add-on is used and php7+ type hinting is used
  • Like
Reactions: BattleKing
  • Fix "DevTools failed to load source map: Could not load content for .../js/sv/vendor/moment/moment.min.js.map"
  • When viewing a template, always show the 'view template modifications' link to allow viewing compiled code
  • Add an addValue template filter, to complement removeValue filter, and related phrases
  • Add sanity check for add-ons with composer during add-on install
  • In XF2.2+, fix pikaday css not being loaded when using extended day-time picker
    • Impacted addons; Advanced Bb-Code Pack (Time bb-code), Live Content, Vote tally.
  • Update EarlyJoinFinderTrait to send additional arguments to the getEarlyJoinThreshold method, this is a non-breaking change
  • Rebuild redistributable to exclude incorrectly included bad class extension.
    The 1.7.1 zip breaks the upload zip functionality! To recover;
    1. Disable the Standard Library by Xon add-on.
    2. Update the add-on
    3. Ensure the Standard Library by Xon add-on is enabled
1.7.1 Bugfix update
  • Fix out-of-memory error if multiple add-ons use EarlyJoinFinderTrait on the same class.
  • If using Optimized list queries add-on (free), this is a required update
1.7.0 - Feature update
  • Force global namespace for functions which are known to be optimizable to bytecode in php
  • Add hook-point for more aggressively rewrite inner-sub-query on early joins

HTML:
<xf:js addon="SV/StandardLib" src="sv/lib/xf/core/structure.js" min="1" />
...
<div class="hScroller"
data-xf-init="h-scroller tabs"
data-panes=".js-categoryTypeTabPanes"
data-sv-store-selected-tab-input-name="category_type">
  • Like
Reactions: Kristian
  • Add "Compiler errors" missing phrase. Thanks @TickTackk
  • Like
Reactions: Tvlsl
Add "View template modifications" when viewing a template with template modifications that apply.
A powerful diagnostic tool when diagnosing add-on conflicts in production!
  • Lists all modifications that are applying, and allows on-the-fly which are applying or not to view different permutations.
  • Allows viewing compiled template code various template modifications, extremely useful for isolating exactly where in a highly modified template is actually causing errors.
  • Note; viewing compiled template code dynamically compiles the selected template & modifications and does not read the actual on-disk representation.
    If xdebug is active, this can be very slow!
  • Like
Reactions: Notorious
Top