Skip to content

Releases: bearsunday/BEAR.QiqModule

2.1.2

Choose a tag to compare

@koriym koriym released this 04 Sep 04:43

Fixed

  • A compile no longer fails with Unbound qiq_paths where QiqProdModule is installed and QiqModule is not, as in prod-cli-hal-app: the compile step has no templates and answers 0 (#48)

2.1.1

Choose a tag to compare

@koriym koriym released this 03 Sep 02:28

Fixed

  • QiqErrorPage receives the error_page renderer: the qualifier moved to the parameter, where Ray.Di 2.23 reads it
  • The distribution ships the var/qiq skeleton the manual tells users to copy, and no longer ships demo/

2.1.0

Choose a tag to compare

@koriym koriym released this 27 Aug 03:52

Added

  • QiqCompileStep compiles every template into {buildDir}/qiq during the build, so a read-only tree can serve

Changed

  • QiqProdModule() without a cache path binds a read-only Catalog reading {buildDir}/qiq, so prod ships no template tree, works inside a phar, and raises TemplateNotCompiledException until the compile step has run
  • Require PHP 8.2+ (from PHP 8.1), the floor of the bear/sunday that carries CompileStepInterface
  • QiqErrorPageRenderer renders with the injected Template instead of Template::new()

Deprecated

  • QiqProdModule($cachePath) keeps compiling at serve time into the path, unchanged; the parameter goes away in 3.0

Migration Guide

Existing prod modules keep working as before, with a deprecation notice. To serve the
compiled build instead, compile the application before serving it and drop the cache
path so the read side looks where the step wrote:

// Before
$this->install(new QiqProdModule($this->appMeta->appDir . '/var/tmp/cache/qiq'));

// After: templates are read from the build directory the compile step filled
$this->install(new QiqProdModule());

Delete the existing var/build and compile again rather than compiling on top of it. A Meta
baked into DI scripts from before bear/app-meta 1.13 carries no $buildDir, and it is read
while the container is built, so the application stops answering at boot instead of losing a
single template.

The argument-less form needs the bear/package release that runs compile steps.

2.0.0

Choose a tag to compare

@koriym koriym released this 28 Dec 10:55
8f9bc99

Changed

  • Upgrade to Qiq 3.0 (from Qiq 1.x)
  • Require PHP 8.1+ (from PHP 8.0)
  • Template variable access changed from $this->var to $var
  • Custom helpers now use Qiq\Helpers class instead of HelperLocator

Removed

  • HelperLocator class (use Qiq\Helpers instead)
  • HelperLocatorProvider class
  • StubGen class
  • LogicException class (unused)
  • RuntimeException class (unused)

Migration Guide

See CHANGELOG.md for migration instructions.

1.0.3

Choose a tag to compare

@koriym koriym released this 20 Mar 22:43
252f0d4

What's Changed

New Contributors

Full Changelog: 1.0.2...1.0.3

1.0.2

Choose a tag to compare

@koriym koriym released this 15 Dec 06:47
b139b46

What's Changed

Full Changelog: 1.0.1...1.0.2

1.0.1

Choose a tag to compare

@koriym koriym released this 06 Dec 10:10
27c8297

What's Changed

Full Changelog: 1.0.0...1.0.1

1.0.0

Choose a tag to compare

@koriym koriym released this 29 Nov 05:42

First stable release

image

This page is rendered in QiQModule.
https://spur.hpplus.jp/jewelry_watch/special/a01_tagheuer2211/

0.2.2

Choose a tag to compare

@koriym koriym released this 21 Nov 12:59
29a3b69

What's Changed

  • enable QiqRenderer to render resources that have a null body by @shotanue in #22

New Contributors

Full Changelog: 0.2.1...0.2.2

0.2.1

Choose a tag to compare

@koriym koriym released this 05 Jul 02:34
bbf5d97

What's Changed

  • set ro->view in QiqRenderer::render by @jingu in #20

Full Changelog: 0.2.0...0.2.1