Skip to content

0.9.1

Choose a tag to compare

@amasiye amasiye released this 26 Apr 03:17
11783fb

AssegaiPHP Core 0.9.1

0.9.1 is a stability patch for Core focused on public asset references and browser-safe asset metadata.

What changed

Web Component bundle tags now require an available local bundle

Core no longer emits a configured local Web Components bundle URL just because Web Components are enabled.

For local bundle paths such as /js/assegai-components.min.js, Core now checks that the file exists before rendering the module script tag. External bundle URLs are still allowed.

This prevents fresh apps from rendering broken script tags before a Web Components bundle has been built.

Correct WebP MIME type

Paths::getMimeType() now reports .webp files as:

image/webp

instead of audio/webp.

The MIME resolver is also covered with regression tests for common browser-sensitive assets, including CSS, JavaScript, and WebP.

Static analysis cleanup

A stale PHPStan baseline entry related to Web Component config handling was removed.

Upgrade notes

No application code changes are required.

composer require assegaiphp/core:^0.9.1

Validation

Core passes:

composer analyze
composer test

Full Changelog: 0.9.0...0.9.1