Skip to content

Releases: blacksmoke26/yii2cdn

1.0.1 (php8)

05 Dec 11:07
Compare
Choose a tag to compare

Bumped new version to support PHP 8.0

1.0.0 (stable)

22 Jul 17:32
Compare
Choose a tag to compare
  • Production ready
  • Bug fixed: Undefined index: preComponents
  • Updated Example to jQuery Fancybox library.
  • Various improvements.

v0.2.4

04 Jan 17:56
Compare
Choose a tag to compare
  • 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

25 Aug 08:01
Compare
Choose a tag to compare
  • 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

23 Aug 23:33
Compare
Choose a tag to compare

What's new?

  • 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 (critical)

23 Aug 22:19
Compare
Choose a tag to compare
  • Bug fixed: yii2cdn\trait\Url not found.
  • Added trait files
  • Updated readme file

v0.2.0 (purple)

23 Aug 22:10
Compare
Choose a tag to compare

What's new?

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

19 Aug 11:53
Compare
Choose a tag to compare
  • Fixed PHP version issue (now supports PHP 7).
  • Minor code issues fixed.
  • Bug fixed: File '' not found.

v0.1.3

19 Aug 09:39
Compare
Choose a tag to compare

Bug Fixed: Callback wasn't triggering.

v0.1.2 (critical)

14 Aug 20:41
Compare
Choose a tag to compare

Critical bug fixed.