Skip to content

Releases: Divergence/framework

v2.1.3

28 Jul 13:25
1814351
Compare
Choose a tag to compare

Bug fix for RecordsRequestHandler

v2.1.2

28 Jul 07:06
cb03593
Compare
Choose a tag to compare

Updated composer packages

v2.1.1

28 Jul 06:02
07d039e
Compare
Choose a tag to compare

What's Changed

  • Better stream handling for Psr7 responses and related emitter adjustments
  • Refactored ORM field set and get handling
  • More specific type hinting with test models

Full Changelog: v2.1.0...v2.1.1

v2.1.0

26 Jul 16:20
bd73748
Compare
Choose a tag to compare

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

13 Jul 21:17
bd73748
Compare
Choose a tag to compare

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

12 Jul 01:48
695ec79
Compare
Choose a tag to compare

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

10 Jul 19:50
Compare
Choose a tag to compare
  • Better phpdoc coverage
  • editorconfig file
  • Small changes for some unit tests
  • Lower symfony/var-dumper requirement

v1.0.2

27 May 19:56
Compare
Choose a tag to compare
  • 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

18 May 21:48
Compare
Choose a tag to compare
  • Made initial bootstrap files use Divergence\App as App; for App instead of App\App because the App is supposed to define it's own App class extending Divergence\App.
  • Fixed many bad Exceptions found by Scrutinizer-CI.
  • Moved Divergence source code from classes/Divergence to src 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.

v1.0.0

13 May 15:25
Compare
Choose a tag to compare
Remove version from composer file