All notable changes to laravel-dag-manager
will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- ...
- Make table name configurable
- Add property/argument/return types
- Supports PHP 8
- Tests via Github Actions
- Redundant doc-blocks
- Make code more strict
- Migrate phpunit configuration
- Make service provider deferrable
- Laravel 8.0 support
###Fixed
- Corrected error reading from configuration.
###Added
- Introduced a way to configure the database connection for the dag_edges table.
###Added
- Introduced a dagRelationsOf scope to get all relations, eg both ancestors and descendants
- Laravel 7.0 support
- support for anything less/older than Laravel 6.0
IsDagManaged
scopes now accept an array of model IDs
- scopes enforce minimum
$maxHops
value
- added helpful messages to the two exception classes
- added
$maxHops
optional parameter toIsDagManaged
trait'sdescendantsOf
andancestorsOf
scopes
IsDagManaged
trait now hasancestorsOf
scope
- order and distinct on
IsDagManaged
trait'sdescendantsOf
scope
- Now supporting Laravel 6.0.
- Updated phpunit version.
0.1.0 - 2019-03-15
- Updated the requirements section in README to include minimum PHP version.
- Minor documentation update/clean-up.
- Now supporting Laravel 5.7 and 5.8.
- Updated phpunit version.
- Now using unsigned big integer fields in
dag_edges
table.
0.0.7 - 2018-05-18
- Introduced an Eloquent model trait,
Telkins\Dag\Models\Traits\IsDagManaged
to assist in some basic, helpful functionality for "DAG managed" models.
0.0.6 - 2018-05-09
- Corrected migration filename error. Third time's the charm...?!
0.0.5 - 2018-05-09
- Corrected copy/paste filename error related to migration filename and publishing.
0.0.4 - 2018-05-09
- Introduced the ability to publish the migration and updated README accordingly.
- Updated the credits section in README.
0.0.3 - 2018-05-04
- Introduced some new tests for adding/deleting using different sources.
- Added implicit requirements for Illuminate DB and Support dependencies.
- Update minimum PHP and Laravel requirements to 7.1.3 and 5.6, respectively.
- Indexed
dag_edges.source
.
- Fixed a minor section title error in README.
0.0.2 - 2018-05-03
- Basic add/remove functionality.
- A set of tests.
- Minimal documentation.