Releases: mvccore/ext-view-helper-assets
Releases · mvccore/ext-view-helper-assets
MvcCore - Extension - View - Helper - Assets - v5.3.3
MvcCore - Extension - View - Helper - Assets - v5.3.1
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
Added
"prefer-stable": true
intocomposer.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
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()
andSetMediaTypes()
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
frombool
toint
to have 3 values
(NULL
,1
forfimetime
checking and2
for any other hash checking).
Full Changelog: v5.2.6...v5.2.7
MvcCore - Extension - View Helper - Assets - v5.2.6
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
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
MvcCore - Extension - View Helper - Assets - v5.2.3
Fixed
- Asset added with full path, out of document root, added by method
Append()
(not byVendorAppend()
) is now also moved into tmp directory.
Full Changelog: v5.2.2...v5.2.3
MvcCore - Extension - View Helper - Assets - v5.2.2
Updated
- New version of abstract helper MvcCore extension.
MvcCore - Extension - View Helper - Assets - v5.2.1
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
.