Skip to content

Releases: mvccore/ext-view-helper-assets

MvcCore - Extension - View - Helper - Assets - v5.3.3

03 Dec 23:22
Compare
Choose a tag to compare

Updated

  • HTML comments are rendered only in development environment.

MvcCore - Extension - View - Helper - Assets - v5.3.1

03 Dec 17:28
Compare
Choose a tag to compare

Added

  • new public methods for external manipulation:
    • $helper->GetItems(): array<Item> $items;,
    • $helper->SetItems(array<Item> $items): static;,
    • $helper->UnsetItems(int $index): bool;.

Changed

  • internal properties names refactoring.

MvcCore - Extension - View - Helper - Assets - v5.3.0

21 Nov 16:00
Compare
Choose a tag to compare

Added

  • "prefer-stable": true into composer.json.

Updated

  • Compatibility with new application paths completition in MvcCore v5.3.
  • Default path to temporary public assets as ~/static/tmp.

MvcCore - Extension - View Helper - Assets - v5.2.7

08 Jul 13:57
Compare
Choose a tag to compare

Added

  • Base, Js and Css items record classes, still extended from \stdClass (to be able to quickly extend anything),
  • PHP Stan configuration with level 6,
  • public static functions AddMediaTypes() and SetMediaTypes() to define custom css media types in CSS view helper,

Fixed

  • Mac OS bug with filemtime() on non-existing file,
  • PHP Docs and PHP logical bugs to PHPStan level 6,
  • default function string attributes with empty string default value,

Changed

  • development url param _md5 changed to _hash to be more universal
    (because there is possible to use more hashes then md5),
  • protected static::$fileChecking from bool to int to have 3 values
    (NULL, 1 for fimetime checking and 2 for any other hash checking).

Full Changelog: v5.2.6...v5.2.7

MvcCore - Extension - View Helper - Assets - v5.2.6

23 May 07:39
Compare
Choose a tag to compare

Updated

  • PHP Docs update - GetInstance() method marked as static,
  • composer requirements updates.

Full Changelog: v5.2.5...v5.2.6

MvcCore - Extension - View Helper - Assets - v5.2.5

28 Feb 14:45
Compare
Choose a tag to compare

Changed

  • Renamed JS helper methods:
    • OffsetExternal() => ExternalOffset(),
    • AppendExternal() => ExternalAppend(),
    • PrependExternal() => ExternalPrepend().
  • External files are downloaded in definition, not in rendering.

Removed

  • Removed JS helper useless methods:
    • VendorOffsetExternal(),
    • VendorAppendExternal(),
    • VendorPrependExternal(),

Full Changelog: v5.2.4...v5.2.5

MvcCore - Extension - View Helper - Assets - v5.2.4

28 Feb 14:11
Compare
Choose a tag to compare

Fixed

  • Moving to tmp dir in external JS/CSS appending.

Full Changelog: v5.2.3...v5.2.4

MvcCore - Extension - View Helper - Assets - v5.2.3

13 Feb 15:34
Compare
Choose a tag to compare

Fixed

  • Asset added with full path, out of document root, added by method Append()
    (not by VendorAppend()) is now also moved into tmp directory.

Full Changelog: v5.2.2...v5.2.3

MvcCore - Extension - View Helper - Assets - v5.2.2

20 Nov 10:41
Compare
Choose a tag to compare

Updated

  • New version of abstract helper MvcCore extension.

MvcCore - Extension - View Helper - Assets - v5.2.1

03 Oct 11:58
Compare
Choose a tag to compare

New

  • Improved serialization with optional igbinary extension.

Updated

  • Dependency mvccore/mvccore updated to newest version.

Fixed

  • Wrong PHP Doc tag @inheritDocs changed to proper form @inheritDoc.