Download Latest Version 6.0.0 source code.zip (3.7 MB)
Email in envelope

Get an email when there's a new version of atk4/data

Home / 4.0.0
Name Modified Size InfoDownloads / Week
Parent folder
4.0.0 source code.tar.gz 2022-11-26 3.6 MB
4.0.0 source code.zip 2022-11-26 3.7 MB
README.md 2022-11-26 6.0 kB
Totals: 3 Items   7.3 MB 1

Major features

  • Check model conditions during insert/update/delete (#1044) @mvorisek
  • Add Migrator methods to create DB foreign keys (#1019) @mvorisek
  • Replace Model::persistence property with getter/setter (#948) @mvorisek
  • Model::tryLoad returns null when not found (#996) @mvorisek
  • Add Model\AggregateModel model (#817) @georgehristov
  • Add support for Model nesting (#946) @mvorisek
  • Add support for native MySQL driver (mysqli) (#952) @mvorisek

Breaking changes

  • Remove Field::toString() method (#1074) @mvorisek
  • Remove Field::getTypeObject() method (#1072) @mvorisek
  • Rename all remaining properties to camelCase (#1043) @mvorisek
  • Make SQL Expression & Query classes abstract (#1048) @mvorisek
  • Rename Field negated mandatory to nullable (#1041) @mvorisek
  • Rename Field never_persist, never_save, read_only properties to camelCase (#1040) @mvorisek
  • Rename Model::getRef() to getReference() (#1034) @mvorisek
  • Rename less frequently used properties to camelCase (#1030) @mvorisek
  • Remove WITH/CTE column mapping for model (#1021) @mvorisek
  • Remove "<>", "is", "is not", "not" operators support (#1013) @mvorisek
  • Improve datetime types typecasting (#1009) @mvorisek
  • Distinguish between executeStatement and executeQuery (#965) @mvorisek
  • Throw when foreign record cannot be found (#1001) @mvorisek
  • Assert no traversing on unloaded entity field (#969) @mvorisek
  • Adjust renamed "short_name" to "shortName" (#979) @mvorisek
  • Stricter Model::{addExpression, addCalculatedField} seed (#973) @mvorisek
  • Drop Oracle 11g support (#964) @mvorisek
  • Drop DBAL 2.x support (#963) @mvorisek
  • Remove Model\ArrayAccessTrait trait (#958) @mvorisek
  • All Query methods excl. execute() should be read only (#953) @mvorisek
  • Persistence::action() should be read only (#949) @mvorisek
  • Clone user actions for entity lazily (#943) @mvorisek

Other changes

  • Unify CI and fix phpstan v1.9.0 (#1075) @mvorisek
  • Upgrade DBAL to v3.4.x (#1069) @mvorisek
  • Fix phpstan v1.8.9 (#1071) @mvorisek
  • Model::addUserAction should accept seed /w class (#1070) @mvorisek
  • Adjust tests to the latest phpunit (#1068) @mvorisek
  • Test PHP 8.2 /wo composer.json platform override (#1066) @mvorisek
  • Remove Model::dirtyAfterReload internal property (#1064) @mvorisek
  • Fix phpstan iterable types (#1062) @mvorisek
  • Fix 1061 PR for atk4/ui (#1063) @mvorisek
  • Fix phpstan v1.8.3 (#1061) @mvorisek
  • Enable phpstan bleading edge and strict rules (#1059) @mvorisek
  • Minor CS cleanup (#1057) @mvorisek
  • Minor CS fixes (#1056) @mvorisek
  • Minor CS cleanup (#1055) @mvorisek
  • Minor tests and CS refactoring (#1050) @mvorisek
  • Rename all methods to camelCase (#1049) @mvorisek
  • Fix ui seed merge in HasOneSql (#1047) @mvorisek
  • Fix model reload after save (#1042) @mvorisek
  • Fix HasOneSql imported field update support (#1038) @mvorisek
  • Fix HasOneSql their field update hook (#1037) @mvorisek
  • Improve string type with NL normalization (#1036) @mvorisek
  • Test FK violation during FK create (#1035) @mvorisek
  • Connect to test DB lazily from TestCase (#1032) @mvorisek
  • Use fixed PHP CS Fixer v3.9.4 (#1031) @mvorisek
  • Add custom DBAL driver middleware (#1029) @mvorisek
  • Fix DBAL Sqlite foreign key 5427, 5485, 5497 and 5501 issues (#1028) @mvorisek
  • Add Migrator::drop support to drop linked FKs first (#1027) @mvorisek
  • Add Schema\TestCase::getConnection() method (#1026) @mvorisek
  • Fix SqlitePlatform to support quoted table name (#1025) @mvorisek
  • Fix table /w schema support for all DBs (#1024) @mvorisek
  • Do not use broken PHP CS Fixer v3.9.1 (#1023) @mvorisek
  • Fix join with aliased fields (#1020) @mvorisek
  • Add SQL string literal escape method (#1017) @mvorisek
  • Fix whole query regexes performance (#1018) @mvorisek
  • Fix PostgreSQL LIKE operator support (#1014) @mvorisek
  • Replace SQL persistence connection property with getter (#1016) @mvorisek
  • Remove Model::withId() method (#1015) @mvorisek
  • Fix Oracle limit 0 support (#1012) @mvorisek
  • Fix Model::loadXxx() /w limit/offset set (#1011) @mvorisek
  • Add Model::executeCountQuery() method (#1008) @mvorisek
  • Add testing with PHP 8.2 (#981) @mvorisek
  • Forbid ContainsXxx unmanaged data modification (#1004) @mvorisek
  • Upgrade hintable to v1.9 (#1007) @mvorisek
  • Fix/test char types length limits (#1006) @mvorisek
  • Improve Model load hooks (#1005) @mvorisek
  • Strip schema from table for Join::foreign_field guess (#1003) @mvorisek
  • Strip schema from table for HasMany::their_name guess (#1002) @samsouthardjr
  • Fix ContainsOne model/entity hook (#999) @mvorisek
  • CS and type improvements (#995) @mvorisek
  • Fix exception throwing for MSSQL insert queries (#993) @mvorisek
  • Fix 64-bit IEEE 754 floating-point precision support (#991) @mvorisek
  • Improve MSSQL/Oracle missing fields in group fix (#988) @mvorisek
  • Add support for AggregateModel traversing (#987) @mvorisek
  • Fix hasXxx on AggregateModel (#986) @mvorisek
  • Fix MoneyType::requiresSQLCommentHint() return type (#983) @mvorisek
  • Remove strpos usage where possible (#982) @mvorisek
  • Fix docs CS (#980) @mvorisek
  • Test pdo_oci NCLOB read fix in image-php in CI (#978) @mvorisek
  • Fix long string param support for Oracle (#974) @mvorisek
  • Fix phpstan v1.4.7 (#972) @DarkSide666
  • Connection DSN can omit password (#971) @DarkSide666
  • Fix Oracle Instant Client setup for CI (#970) @mvorisek
  • Fix leaking PHP iterator (#966) @mvorisek
  • Fix self-signed cert for MSSQL CI (#968) @mvorisek
  • Use Model for Join write operations (#960) @mvorisek
  • Add support for Model nesting for Array persistence (#961) @mvorisek
  • Test with MySQL Server 5.6 and fix unordered export/2D assertions (#956) @mvorisek
  • Add support for native Oracle driver (OCI8) (#954) @mvorisek
  • Fix phpstan for DBAL 3.2.1 (#951) @mvorisek
  • Allow Model::getUserActions() to be called only on model (#947) @mvorisek
Source: README.md, updated 2022-11-26