Releases: rotexsoft/leanorm-cli
Releases · rotexsoft/leanorm-cli
Minor Release
- Changed dbFetchValue(\PDO $pdo, string $query)
- to dbFetchValue(\PDO $pdo, string $query): mixed in \LeanOrmCli\SchemaUtils
Full Changelog: 3.0.0...3.0.1
New Major Release
- Updated to using ^v3.0.0 of icanboogie/inflector
- No changes to the code base though
Full Changelog: 2.0.1...3.0.0
Minor Release
- Under the hood code tweaks
Full Changelog: 2.0.0...2.0.1
New Major Release
- Min PHP version is now 8.1
- Switched from aura/sqlschema to rotexsoft/sqlschema
- Now using PHPunit 10
- More compatible with MariaDB thanks to rotexsoft/sqlschema
- Still functionally equivalent to version 1.x which depends on PHP 7.4+
Full Changelog: 1.0.11...2.0.0
Maintenance Release
- Update to include the stub for this new
fetchOneByPkey($id, $relations_to_include = [] ): ?\GDAO\Model\RecordInterface method in \LeanOrm\Model in the docblock for Model classes generated with this tool
Full Changelog: 1.0.10...1.0.11
Maintenance Release
- Added code to make tests run on sqlite, mysql & pgsql databases.
Package should be able to generate ORM classes for Microsoft SQL Server databases, but tests have not yet been set up to run against Microsoft SQL Server databases.
Full Changelog: 1.0.9...1.0.10
Bug fix
- Fixed bug where classes were also being generated for indexes in sqlite. Now classes will only be generated for tables and views in sqlite.
Full Changelog: 1.0.8...1.0.9
Minor Enhancement
- Added capability to generate table column metadata array file that can be included in Model classes to eliminate the need for querying the info schema table to populate table column data each time a Model instance is created. This leads to one less db query for each model instance in your application.
Full Changelog: 1.0.7...1.0.8
Minor Enhancement
- Added option to pass in an instance of the PDO class in the pdo entry in the config array
- Wrote unit tests
- Under the hood enhancements & some more output messaging
Full Changelog: 1.0.6...1.0.7
Minor Enhancement
- Added an optional last argument that is meant to represent the name of a table or view you only want classes to be generated for.
Full Changelog: 1.0.5...1.0.6