- Production ready
- Bug fixed: Undefined index: preComponents
- Updated Example to jQuery Fancybox library.
- Various improvements.
- Bug fixed: Undefined index: @sectionsAttrs
- Bug fixed: Warning : count(): Parameter must be an array or an object that implements Countable
- PHP 7.2 compatibility.
- Various improvements.
- Bug fixed: none of the inheritable attribute exist.
- Bug fixed: functional attribute
noNameInPathUrls
url was wrong. - Bug fixed: unknown custom alias.
- Removed
getSectionBasePath
method inConfigParser
class. - Issue resolved: Traits and core classes of same name were conflicting with each other.
- Various code improvements.
- Added section's functional attribute:
// removes section from paths/urls.
// Default value: false
"noNameInPathUrls" => true,
- Updated property doc comment
- Updated Version to 0.2.2
- Bug fixed: yii2cdn\trait\Url not found.
- Added trait files
- Updated readme file
- (New) Component and Section custom attributes.
- (New)
Basepath
property and related methods. - (New) Traits (
Url
,File
andAttributes
) - (New) Replaceable tags (Filename only)
@thisComponentUrl , @thisSectionUrl
- (New) Inheritable attributes (in attribute tags)
@sectionsAttrs
and @filesAttrs
'component-id' => [
'@attributes' => [
// ...
'@sectionsAttrs' => [
// ...
'@filesAttrs' => [
// ...
],
]
],
// sections
],
- (New) Functional file attributes
// Appends file modified time at the end of url.
// ...file.js?v=############
'timestamp'=>true,
// Set false to disable registring file as asset.
// For JavaScript and CSS files only
'registrable'=>false,
- Various issues resolved and major code improvements.
- Fixed PHP version issue (now supports PHP 7).
- Minor code issues fixed.
- Bug fixed: File '' not found.
- Bug fixed: Callback wasn't triggering.
- Bug fixed: Undefined component id given.
- (bug fixed) Wrong section name in Component.
- Wiki and Documentation added.
- First release