Skip to content

@hrach hrach released this Mar 11, 2019 · 24 commits to master since this release

New minor version 3.1.0 is out. 🐘

What's new:

  • dropped support for PHP 7.0 [a9cccdd]
  • added support for collection filtering of IPropertyContainters - full support for enum converters [4d1a2dc]
  • added better support for composite primary keys [a0883a2], #290
  • added simple traversing support in fetchPairs() [0a6f7ca], #312
  • added "Did you mean...?" suggestion in exception message [15ef449]
  • added support for Nette 3 components

BC breaks:
Please check your code for the following patters to fix the compatibility:

  • (BC break!) Collection filtering by id property accepts only direct values, no Entity itself [4d1a2dc]
  • (BC break!) changed IProperty interface and introduced IEntityAwareProperty [0c46be1]
  • (BC break!) IRepository::remove() accepts only already fetched entities, [a6458da]
  • (BC break!) DbalMapper::getManyHasManyParameters() was receiving the second parameter randomly, sometime it were the metadata of symetric relationship [5521b89]

See full commit changelog.


You may support Nextras Dbal & Orm development by attending Akademie42 training.

Assets 2
Pre-release

@hrach hrach released this Feb 11, 2019 · 24 commits to master since this release

Release candidate 1 of new minor 3.1.0 version is out.

Notable news:

  • dropped support for PHP 7.0 [a9cccdd]
  • fixed support for collection filtering of IPropertyContainters - now it's possible to fully support enums [4d1a2dc]
  • better support for composite primary keys [a0883a2], #290
  • added simple traversing support in fetchPairs() [0a6f7ca], #312
  • implemented "Did you mean...?" [15ef449]
  • added support for Nette 3 components
  • (BC break!) Collection filtering by id property accepts only direct values, no Entity itself [4d1a2dc]
  • (BC break!) changed IProperty interface and introduced IEntityAwareProperty [0c46be1]
  • (BC break!) IRepository::remove() accepts only already fetched entities, [a6458da]
  • (BC break!) DbalMapper::getManyHasManyParameters() was receiving the second parameter randomly, sometime it were the metadata of symetric relationship [5521b89]

See full commit changelog.

You may support Nextras Dbal & Orm development by attending Akademie42 training.

Assets 2

@hrach hrach released this Feb 3, 2019 · 115 commits to master since this release

Stable patch version 3.0.3 is out! 🍏 What's changed from 3.0.2?

  • fixed DILoader for anonymous classes & compatibility with latest Nette DI 2.5.14, thanks @pavelmlejnek (#333)

See full commit changelog.

Assets 2

@hrach hrach released this Jan 20, 2019 · 115 commits to master since this release

Stable patch version 3.0.2 is out! 🍌 What's changed from 3.0.1?

  • fixed casting numeric column names, thanks @vymak (#287)
  • fixed saving DateTimeImmutable for DATE type, not shifting timezone anymore, thanks @Sitole
  • fixed phpdoc of doRefreshAll()
  • removed not-needed auto-distinct

See full commit changelog.

Assets 2

@hrach hrach released this Mar 5, 2018 · 115 commits to master since this release

Stable patch version 3.0.1 is out! 🍈 What's changed from 3.0.0?

  • readded support for Nextras\Dbal\Utils\DateTimeImmutable property type
  • fixed EntityCreator support for DateTimeImmutable
  • fixed return value of Repository::removeAndFlush()
  • fixed dependency on Nextras Dbal to stable release

See full commit changelog.

Assets 2

@hrach hrach released this Feb 21, 2018 · 123 commits to master since this release

This is new major 3.0.0 version. 🎉 🍰 🥇 💯

Read a release blogpost.

What's new:

  • PHP 7.0+ code; added types, support for PHP 7.2;
  • model: added IModel::clear() method;
  • model: added IModel::refreshAll() method;
  • collection: added OR operator support;
  • collection: added custom functions allowing advanced modification of ICollection;
  • entity: added DateTimeImmutable support;
  • entity: fixed a lot of issues between relationships, their caching, and persistence;
  • added MS SQL support;
  • dropped support for DateTime (BC break!);

We have introduced many small and some larger BC breaks, read Upgrade notes for 3.0.

See full commit changelog.

Assets 2
Pre-release

@hrach hrach released this Dec 27, 2017 · 134 commits to master since this release

This is prerelease RC 2 of major 3.0.0 version.

What's changed from RC1:

  • fixed auto-setup of DbalMapperCoordinator when Dbal extension is registered later than Orm extension

See full commit changelog.

Assets 2
Pre-release

@hrach hrach released this Dec 23, 2017 · 138 commits to master since this release

This is prerelease RC 1 of major 3.0.0 version.

What's new from 2.2 branch:

  • PHP 7.0+ code; added types, fixed support for PHP 7.2;
  • model: added IModel::clear() method;
  • model: added IModel::refreshAll() method;
  • collection: added OR operator support;
  • collection: added custom functions allowing advanced modification of ICollection;
  • entity: added DateTimeImmutable support;
  • dropped support for DateTime (BC break!);
  • entity: fixed a lot of issues between relationships, their caching, and persistence;
  • added MS SQL support;

We have introduced many small and some larger BC breaks, read Upgrade notes for 3.0.

See full commit changelog.

Assets 2
Pre-release

@hrach hrach released this Dec 14, 2017 · 138 commits to master since this release

See 3.0 changes in BETA 1 release notes.

Changes since BETA 1:

  • require IConnection instead Connection
  • fixed multi-column primary key comparison in changed entity detection in has one relationship
  • fixed many typos and smalling with PhpStan 0.9
  • fixed distinct count for MS SQL Server
  • added ICollection::getById()
  • fixed loading DI services in loadConfiguraiton of Nette DIC
  • fixed countStored() on many has many relationship
  • fixed disctinct selection for multi-column PR tables
  • fixed parsing of read-only properties
  • changed implementation of DI repository finder
  • fixed STI in multientity interator
  • See full commit changelog since 3.0-BETA1 version.
Assets 2
Pre-release

@hrach hrach released this Sep 2, 2017 · 189 commits to master since this release

This is prerelease BETA 1 of major 3.0.0 version.

What's new from 2.2 branch:

  • PHP 7.0+ code; added typehints, fixed support for PHP 7.2;
  • model: added IModel::clear() method;
  • model: added IModel::refreshAll() method;
  • collection: added OR support & custom functions;
  • entity: added DateTimeImmutable support, dropped support for DateTime
  • entity: fixed a lot of issues between relationships, their caching, and perstitence.
  • engines: added MS SQL support;

We have introduced many small and some larger BC breaks, read Upgrade notes for 3.0.

See full commit changelog.

How to install:

  • set require for 3.0 version od Nextras Dbal nextras/dbal@rc
  • set require for 3.0 version od Nextras Orm nextras/orm@beta
Assets 2
You can’t perform that action at this time.