Skip to content

Latest commit

 

History

History
102 lines (79 loc) · 2.23 KB

history.md

File metadata and controls

102 lines (79 loc) · 2.23 KB

Yii2 CDN History

v1.0.0 (stable)

  • Production ready
  • Bug fixed: Undefined index: preComponents
  • Updated Example to jQuery Fancybox library.
  • Various improvements.

v0.2.4 (hotfix)

  • 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.

v0.2.3

  • Bug fixed: none of the inheritable attribute exist.
  • Bug fixed: functional attribute noNameInPathUrls url was wrong.
  • Bug fixed: unknown custom alias.
  • Removed getSectionBasePath method in ConfigParser class.
  • Issue resolved: Traits and core classes of same name were conflicting with each other.
  • Various code improvements.

v0.2.2

  • 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

v0.2.1

  • Bug fixed: yii2cdn\trait\Url not found.
  • Added trait files
  • Updated readme file

v0.2.0 (purple)

  • (New) Component and Section custom attributes.
  • (New) Basepath property and related methods.
  • (New) Traits (Url, File and Attributes)
  • (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.

v0.1.4

  • Fixed PHP version issue (now supports PHP 7).
  • Minor code issues fixed.
  • Bug fixed: File '' not found.

v0.1.3

  • Bug fixed: Callback wasn't triggering.

v0.1.2 (critical fix)

  • Bug fixed: Undefined component id given.

v0.1.1

  • (bug fixed) Wrong section name in Component.
  • Wiki and Documentation added.

v0.1.0 (green)

  • First release