Releases: tattersoftware/codeigniter4-schemas
Benchmarking, Bugfixes
- The Schemas service now includes benchmarking for each action
- Fixed a bug where running the cache archiver from the service would overwrite the current schema with a scaffold
Service automation, More tests
Merge pull request #6 from tattersoftware/develop Update for release
Bugfix for variable typo
This is just a hot fix - please read the notes at v2.0.0
Library Refactor
The previous version proved to be too rigid for updating individual handlers. This is a complete refactor (hence the major version jump) that divides handlers among their functions (draft, archive, read). Existing projects using this module will need updating (please read the docs on new usage).
In addition to the handler flexibility, version 2 also introduces lazy schema loading. The Cache Reader Handler (currently the only one) loads itself into the returned schema and will fetch tables from cache as you access them.
The config file has received some beefing up, so if you made a copy in app/Config please compare and update (or delete it to use the module defaults).
Finally the spark command has been simplified and will run your default workflow without intervention: ./spark schemas
. Handler specification is still available via the -draft
, -archive
, and -print
options.
Bugfix inverse FK relations
In addition to the missing relationship detection, this release also expands $ignoreMigrationsTable
to $ignoredTables
. If you have published a config file to app/Config/Schemas.php please update it to reflect the change.
Bugfix
Fix for missing interface
v1.0.3 Bugfix missing interface
New default handlers
v1.0.2 Tweak handlers, add test for Relations live
File handling and PhpHandler
v1.0.1 Implement file handling and the PhpHandler
Initial release
v1.0.0 Formatting