Skip to content

Releases: phpgt/WebEngine

v5

05 May 09:54
6ac8b55

Choose a tag to compare

WebEngine v5 is a substantial refactor of the framework's core. If you've used previous versions, the philosophy will feel familiar and unchanged: start static-first, keep logic close to the URL it serves, and let the framework step aside as quickly as possible. What has changed in v5 is how much cleaner, more testable and more explicit the internals have become.

This release focuses on making the request-response lifecycle easier to reason about, improving support for non-HTML responses, and giving applications more control over redirects, errors and runtime behaviour. A lot of the work in this version is under the bonnet, but it should still be felt directly in day-to-day development.

Read the whole discussion here: https://github.com/orgs/phpgt/discussions/664

November 2023

10 Nov 12:00
980cf75

Choose a tag to compare

What's Changed

Full Changelog: v4.0.6...v4.1.0

Simplification of default routing

29 Apr 11:44

Choose a tag to compare

All URLs now force a trailing slash at the end of the URL path - this is beneficial because it allows client side code and server side headers to reference paths relatively (e.g. Location: ./ for a refresh, Location: ../other-dir/ to redirect to a sibling directory.

The default router has had non-page matches removed for simplicity, until the Router package has documented examples of non-page responses.

PHP 8.1 compatibility

26 Feb 16:13
5c7717c

Choose a tag to compare

This patch release bumps internal dependencies and resolves PHP 8.1 deprecation notices.

Hotfix for default routing

02 Feb 08:46

Choose a tag to compare

This hotfix is fixing a typo where *.* was being matched instead of */* in the accept header.

Upgrade internal dependencies

02 Feb 08:38

Choose a tag to compare

v4.0.3

build: bump dependencies

Default router matches page-route by default

02 Feb 08:35

Choose a tag to compare

This minor patch change adjusts the behaviour of WebEngine's default router when there isn't an Accept header in the request - it now matches the page-route by default.

v4 release

31 Jan 12:52

Choose a tag to compare

v4.0.1

build: remove behat dependencies

Upgraded webpack default compilation

11 Mar 11:32
61617a5

Choose a tag to compare

This minor patch release updates the way Webpack compilation is performed for ES6 scripts, so that it defaults to a more sensible production mode and specifies the entry script to script/main.es6.

Modularise components

15 Feb 12:22
56f5a60

Choose a tag to compare

This major release has modularised the components that make up WebEngine. All components are hosted within their own separate PHP.Gt repositories and included using Composer.

This is the first major change to architecture, making the transition to a dependency injected WebEngine in V4 much easier.