Skip to content

Releases: rotexsoft/leanorm-cli

Minor Release

09 Dec 22:15
Compare
Choose a tag to compare
  • 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

06 Dec 19:06
Compare
Choose a tag to compare
  • 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

06 Dec 19:01
Compare
Choose a tag to compare
  • Under the hood code tweaks

Full Changelog: 2.0.0...2.0.1

New Major Release

13 Mar 22:28
Compare
Choose a tag to compare
  • 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

13 May 01:34
Compare
Choose a tag to compare
  • 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

25 Feb 08:30
Compare
Choose a tag to compare
  • 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

24 Feb 08:19
Compare
Choose a tag to compare
  • 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

23 Feb 03:21
Compare
Choose a tag to compare
  • 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

28 Jan 23:10
Compare
Choose a tag to compare
  • 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

28 Jan 05:55
Compare
Choose a tag to compare
  • 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