Releases: Divergence/framework
v2.1.4
v2.1.3
v2.1.2
v2.1.1
v2.1.0
What's Changed
- MediaRequestHandler overhauled for Psr7 support.
- HTTP_RANGE support allowing seeking in both downloads and regular stream requests.
- A new video asset included with the unit tests provides video exif and ffmpeg unit testing coverage.
- New unit tests for MediaRequestHandler cover all of HTTP_RANGE as well as huge sections of the download and thumbnail code.
- Better Decimal handling in the ORM
- Updated dependencies
- Fixed Guzzle deprecation
- Improved PHPDoc and type hints
- Various fixes.
Full Changelog: v2.0.0...v2.1.0
v2.0.0
What's Changed
Requires at least PHP 8.0
Fields and relationships can now be mapped using Attributes
Controllers are now PSR7 compatible.
Updated to PHPUnit 9.5+
Upgraded Scrutinizer config to generate code coverage there and use PHP 8
PDO throws exceptions by default instead of errors in PHP8 so all PDO error handlers have been changed to exception handlers.
SQL that was previously in ActiveRecord was abstracted off into several query writer classes.
Unit tests now target MariaDB 10.6.2
Many other fixes.
Docs updated: https://github.com/Divergence/docs/tree/5750754570f27f9847bb90ebf09045a4ae937134
Contributors
Jack Smith
Full Changelog: v1.0.3...v2.0.0
1.1 Alpha
Everything in this release works. Alpha because it's not implementing all the target features for 1.1
I've been updating technexus (my blog) as I go and now I want to target this release with it instead of develop which might have breaking changes while I'm working on it.
Otherwise, here are the changes since 1.0.x
- Now targeting PHP 7.4+ only.
- All controllers are now psr7 compatible.
- Added some tests for Media
- Moved ActiveRecord userspace field mapping from Model into a separate class to lower code complexity substantially.
- New emitter classes to bring up to parity with modern patterns.
- Session class to use for user authentication with tests.
- A new Response builder style class is used instead of a string in controllers for building responses.
v1.0.3
v1.0.2
- Decimal data type in ActiveRecord now takes a precision and scale setting when defining the field which map to the MySQL data type directly.
- More documentation
- Better PHPDoc notation on ActiveRecord derived models.
- Increased code coverage.
- Lower complexity score.
v1.0.1
- Made initial bootstrap files
use Divergence\App as App;
for App instead ofApp\App
because the App is supposed to define it's own App class extendingDivergence\App
. - Fixed many bad Exceptions found by Scrutinizer-CI.
- Moved Divergence source code from
classes/Divergence
tosrc
as per PHP League. - Fixed many first line comments from legacy Emergence style guide (pre-PSR).
- Fixed a very old comment in
/config/db.php
referencing itself as/config/DB.config.php
. - Changed readme.md links to reflect moving documentation to it's own Github repo.
- Changed links to reflect moving the repo for this project from hparadiz/divergence to divergence/framework.
- Added some phpdoc notation to ActiveRecord, Model, and some helper classes.
- Fixed misc code-quality issues found by Scrutinizer-CI.