Skip to content

charcoal-admin 0.30.5

Latest
Compare
Choose a tag to compare
@mcaskill mcaskill released this 30 Jan 18:26
0.30.5
004aab9

Complete commits list: 0.30.4.1...0.30.5

Key Feature

Fix and improve base path in AssetsBuilder

The AssetsBuilder now accepts a base path from its constructor.

Replaced relative base path assumption (dirname(__DIR__, 7)) with dedicated base path, either:

  1. Explicit base path (see constructor parameter), or
  2. Implicit base path (the current working directory).

By default, the base path is explicitly set to the AppConfig's base path.

This ensures relative asset paths are loaded according a more reliable base path.

Summary

  • Ensure master object exists in HierarchicalOjectProperty.
  • Remove default constructor descriptions from AssetsBuilder and SelectizeRenderer.
  • Fix issues reported by PHPCS and PHPUnit.