Skip to content

Releases: Xanweb/c5-module

v2.2

08 Nov 16:48

Choose a tag to compare

What's New:

  • Installer: Implement override Single Page methods
  • Installer: Implement installPageTemplates
  • Installer: Implement installPageTypes

v2.1

07 Oct 07:59

Choose a tag to compare

Fixes

  • Installer::installBlockTypes() should have a list of handles arguments instead of array

Improvements

  • Installer: add properties type declaration
  • Module:: reduce app() method complexity

v2.0.1

28 Sep 14:38

Choose a tag to compare

Bug Fixes

  • Asset Provider wasn't loaded correctly

v2.0

15 Sep 10:30

Choose a tag to compare

What's New

  • Support ConcreteCMS v9
  • Move to PHP 7.4+
  • Remove update feature from Installer

v1.3.1

06 Mar 07:15

Choose a tag to compare

Improvements

  • Improve Package fetching and use a single array for storing resolved instances
  • Installer: allow to pass block type set handle to installBlockType method

v1.3.0

18 Dec 13:38

Choose a tag to compare

Features

  • New method Module::isInstalled() to check whether the current Module installed or not
  • New method Module::getEventSubscribers() that can be implemented within the package to return the list of Event Subscribers classes. returned classes should implement \Symfony\Component\EventDispatcher\EventSubscriberInterface
  • New methods Module::getConfig() and Module::getFileConfig() that extends equivalent originated ones by package controller. These extensions allows to get config value by passing config $key to the method
  • New method Installer::overrideBlocks to override blocks by package
  • New method Installer::assignBlocksToCore to restore overridden core blocks
  • New method Installer::installPageAttributeSet()
  • Installer::installAttributeSet(): The array argument $associatedAttrs now can support Attribute Key objects in addition to handles

Improvements

  • Replace Concrete5 camelcase() method usage with \Illuminate\Support\Str::studly() as it's more efficient and faster
  • Improvements made on Module::boot()
  • Improve package methods calls performance through Module class by caching package controller instance.

v1.2.0

07 Oct 11:35

Choose a tag to compare

Replace AssetProviderInterface with AssetProvider abstract class

v1.1.0

23 Jun 09:11

Choose a tag to compare

Use static::class instead of get_called_class()

v1.0.0

20 Feb 11:40

Choose a tag to compare

Use Facades logic for resolving package objects