Skip to content

Releases: shyim/ShyimSassoCompiler

0.3.0 — Flex auto-registration

Choose a tag to compare

@shyim shyim released this 30 Jul 20:20
0.3.0
182d017

Renames the bundle class so Symfony Flex registers it automatically.

Changed

The bundle class is now Shyim\SassoCompiler\SassoCompilerBundle (was ShyimSassoCompiler).

Flex builds an auto-generated recipe for any package it can identify as a bundle — no published recipe needed. But identification is a naming heuristic, not reflection: SymfonyBundle::extractClassNames() takes the PSR-4 prefix's last segment and appends Bundle, then isBundleClass() requires that exact file to exist. For Shyim\SassoCompiler\ that is SassoCompilerBundle.

The old name was unreachable — the heuristic never considers the vendor prefix — so Flex silently registered nothing. ShyimSassoCompiler was a Shopware convention (plugin class matches the directory) that stopped applying once this became a bundle.

On a Flex project, composer require shyim/sasso-shopware-compiler is now the whole install. Shopware projects are not Flex apps by default, so the manual path still works:

// config/bundles.php
Shyim\SassoCompiler\SassoCompilerBundle::class => ['all' => true],

Breaking

Upgrading from 0.2.0: update the class name in config/bundles.php, or the kernel fails to boot on a missing class.

-    Shyim\SassoCompiler\ShyimSassoCompiler::class => ['all' => true],
+    Shyim\SassoCompiler\SassoCompilerBundle::class => ['all' => true],

Upgrading from 0.1.0 (the Shopware-plugin release): uninstall the plugin first — see 0.2.0.

0.2.0 — plain Symfony bundle

Choose a tag to compare

@shyim shyim released this 30 Jul 20:15
0.2.0
d3c4cd8

Compiles the Shopware storefront theme SCSS with sasso instead of scssphp — roughly 10x faster (1.145s → 0.116s on the default Storefront theme).

Changed

Now a plain Symfony bundle instead of a Shopware plugin. No install/activate step and no database record:

composer require shyim/sasso-shopware-compiler
// config/bundles.php
Shyim\SassoCompiler\ShyimSassoCompiler::class => ['all' => true],

Position in config/bundles.php does not matter — service decoration resolves after every bundle has registered. This also works on setups where plugin management is locked down.

Also: shopware/core dropped as a dependency (only shopware/storefront provides the decorated class), and shyim/sasso-ffi pinned to ^0.1.

Breaking

If you are running 0.1.0 as a Shopware plugin, uninstall it before upgrading. Once the class no longer extends Plugin, Shopware's plugin loader rejects every console command — including plugin:uninstall — so a leftover plugin row must be deleted manually:

DELETE FROM plugin WHERE name = 'ShyimSassoCompiler';

0.1.0

Choose a tag to compare

@shyim shyim released this 30 Jul 19:53
80fac35