Statistics
39711
153
35
6d
Badges
Dependencies
  • v3.0.1 3.0.1

    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.

  • v3.0.0 3.0.0

    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.


    Training
    The first Nextras Orm training ever takes place in Prague 27th Feb the next week on Tuesday. Check it out on Geekyedu.

  • v3.0.0-rc2 3.0.0 RC2

    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.

  • v3.0.0-rc1 3.0.0 RC1

    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.

  • v3.0.0-beta2 3.0.0 BETA 2

    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.
  • v3.0.0-beta1 3.0.0 BETA 1

    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
  • v2.2.3 2.2.3

    Stable patch version 2.2.3 is out! 🥛 What's changed from 2.2.2?

    • fixed bug when metadata parser didn't parsed enum with wildcard without a name prefix, e.g. ClassWithConstants::* now works correctly. [6e46e40]
  • v2.2.2 2.2.2

    Stable patch version 2.2.2 is out! 🍈 What's changed from 2.2.1?

    • fixed bug when total cache cleanup didn't flush relationship mapper cache in DbalMapper; thanks @matej21 [0dd82ca]
  • v2.2.1 2.2.1

    Stable patch version 2.2.1 is out! 🥝 What's changed from 2.2.0?

    • fixed bug when derived relationship would cause loading whole relationship during persist [b56a1a0]
    • fixed bug in null & date time comparison [eeff907]
  • v2.2.0 2.2.0

    Next minor version 2.2.0 is out! 🍌 What's changed from 2.1?

    • minimal PHP version changed to 5.6
    • added support for multi-column default ordering in relationship [915acb1]
    • many core changes & bugfixes; these changes are extensive therefore they are not pushed as patch version update;
    • see full commit changelog
  • v2.2.0-rc1 2.2.0-rc1

    RC of minor version 2.2.0 is out! 🍌 What's changed from 2.1?

    • added support for multi-column default ordering in relationship [915acb1]
    • many core changes & bugfixes; these changes are extensive therefore they are not pushed as patch version update; Please help us test it
    • see full commit changelog
  • v2.1.1 2.1.1

    Stable patch version 2.1.1 is out! 🍷 What's changed from 2.0?

    • fixed bug of persisting entity with no changed properties
    • see full commit changelog
  • v2.1.0 2.1.0

    Stable minor version 2.1.0 is out! 🍇 What's changed from 2.0?

    • StorageReflection::addMapping() checks for redefinition, #174
    • many core changes & bugfixes; these changes are extensive therefore they are not pushed as patch version update;
    • see full commit changelog
  • v2.1.0-rc1 2.1.0 RC1

    Next minor RC version 2.1.0-RC1 is out! What's changed from 2.0?

    • new features:
      • StorageReflection::addMapping() checks for redefinition, #174
    • this release includes mainly core changes with bugfixes; these changes are extensive therefore they are not pushed as patch version update.
    • see full commit changelog
  • v2.0.2 2.0.2

    Next version 2.0.2 is out! 🍰

  • v2.0.1 2.0.1

    Next version 2.0.1 is out! 🍅

    • bufixes:
      • added missing support of DateTimeImmutable in Tests\EntityCreator
      • fixed case insensitivity of DateTime in Tests\EntityCreator
    • See full commit changelog since version 1.1.
  • v2.0.0 2.0.0

    Next major version 2.0.0 is out! 🍎 🎉

    • Read migration guide
    • BC breaks:
      • minimal PHP version is 5.5 [551911b]
      • added abstract IRepository::getEntityClassNames() [494f37e]
      • changed syntax of modifiers in Entities. Read migration guide.
      • added MetadataParserFactory, changed constuctors of SimpleModelFactory and MetadataStorage. [6f424e6]
      • changed signature of PropertyMetadata, added and removed some properties [e904691]
      • removed DbalMapper::createCollection() method, #110 [b3146b0]
      • IEntity::$id must be explicitly defined [5269a58]
      • removed 1:1 relationship (references stored on both sides) and directed 1:1 relationship (reference stored only on one side) renamed to 1:1 relationship. [2ccd6a7]
      • DbalMapper: removed some methods [ba7ea1d]
      • changed signature of IModel, added persist(), remove(), persistAndFlush(), removeAndFlush() methods and internal changes in IRelationshipCollection, IRepository and OneHasMany [39ff10a]
      • refactored StorageRefleciton [00be9d0]
      • Cache instance is required instead of Caching\IStorage [6dac8c7]
    • New features:
      • brand new Modifier parser, #110
      • great rework of recursive persist as cascade persist and remove.
      • added MetadataStorage::addMapping method, #76 [6f424e6]
      • added support for one-sided relationship, #29
      • added warnings if modifiers contain unknown keys [7c82909]
      • many bugfixes and enhancements.
    • See full commit changelog since version 1.1.
  • v2.0.0-rc2 2.0.0 RC2

    Next major RC version 2.0.0-RC2 is out! What's changed from 2.0.0-RC1?

    • bugfix: repository: fixed non-cascade remove with empty non-nullable relationship [https://github.com/nextras/orm/commit/70307185037a897580a6e806a2fba12ed09b7b40]

    What's changed in 2.0?

  • v2.0.0-rc1 2.0.0 RC1

    Next major RC version 2.0.0-RC1 is out! What's changed in 2.0?

  • v2.0.0-beta3 2.0.0 BETA 3

    Next major beta version 2.0.0-beta3 is out! What's changed?

    • fixes & changes:
      • fixed two phase cascade persistance of cyclic relationship;
      • throw an expcetion in one phase cascade persistance of cyclic relationship;
      • after* events are called only if the persistance/removal was really performed;
      • fixed cascade remove of empty not nullable relation;
      • fixed querying related entities with primary key named other than 'id';
      • Mapper, MetadataStorage and DbStorageRelfection require Cache instance instead of IStorage, BC break;
    • see full commit changelog
  • v2.0.0-beta2 2.0.0 BETA 2

    Next major beta version 2.0.0-beta2 is out! What's changed?

    • fixes & changes:
      • fixed cascade removal of 1:1 relationship;
      • fixed getRawValue() of 1:1 relationship on the non-main side;
      • fixed oneSided properties;
      • changed & refactored Mapper\Dbal\StorageReflection, possible BC break;
    • see full commit changelog
  • v1.1.6 1.1.6 & 1.1.5

    Bugfix version 1.1.6 is out! 🍅 What's new?

  • v1.1.4 1.1.4

    Bugfix version 1.1.4 is out! 🍊 What's new?

  • v1.1.3 1.1.3

    Bugfix version 1.1.3 is out! 🍈 What's new?

  • v1.1.2 1.1.2

    Bugfix version 1.1.2 is out! 🍋 What's new?

  • v1.1.1 1.1.1

    Bugfix version 1.1.1 is out! 🍒 What's new?

    • features and fixes:
      • fixed query builder for 1:1d relationship filtering [3846fd8] [closes #98]
      • fixed sorting by DateTime in ArrayCollection; thanks @Mikulas [c497f58]
      • enhanced error message for MetadataStorage [7920016]
    • see full commit changelog
  • v1.1.0 1.1.0

    1.1.0 is out! 🍓 What's new?

    • BC BREAKS
      • ArrayCollection::__construct() has second compulsory parameter which accepts IRepository; [1a5a929]
      • DbalMapper::getManyHasManyParameters() has new second parameter which allows to distinguish multiple relationships between the two same entities; [48ac939]
    • possible BC BREAKS
      • ArrayCollection checks if fitlered columns are defined as properties on IEntity; [1a5a929]
    • future BC BREAKS
      • changed relationship modifier syntax, see new syntax in doc; [c40f0ad][d641868]
      • to remove already defined sorting use new ICollection::resetOrderBy() method. Using ICollection::toCollection(TRUE) is deprecated, #89; [962874b]
    • features and fixes:
      • added Single Table Inheritance full support, #43, see tests in d633dff); [92b9fd8]
      • added possibility to connect two new antities without attaching to repository, #79; [7dc4d93]
      • added possibility to find entity with composity key by id property in ICollection, #18; [6cf3106]
      • added convereters for DbalMapper and StorageReflection, see new chapter in doc, #84; [f2874fc]
      • fixed properties' namespace when fetching from entity predecessors; [e744316]
      • added EmptyCollection; [ec3d5a5]
      • added: DbalCollection accepts IEntity as filtering value, #88; [3eb9e33]
      • many other small fixed & big optimizations!
    • see full commit changelog
  • v1.1.0-RC2 1.1.0 RC2

    changes to 1.1.0-RC1:

    • fixed check if container's class implements IProperty interface [8d4248d]
  • v1.1.0-RC1 1.1.0 RC1

    • BC BREAKS
      • ArrayCollection::__construct() has second compulsory parameter which accepts IRepository; [1a5a929]
      • DbalMapper::getManyHasManyParameters() has new second parameter which allows to distinguish multiple relationships between the two same entities; [48ac939]
    • possible BC BREAKS
      • ArrayCollection checks if fitlered columns are defined as properties on IEntity; [1a5a929]
    • future BC BREAKS
      • changed relationship modifier syntax, see new syntax in doc; [c40f0ad][d641868]
      • to remove already defined sorting use new ICollection::resetOrderBy() method. Using ICollection::toCollection(TRUE) is deprecated, #89; [962874b]
    • features and fixes:
      • added Single Table Inheritance full support, #43, see tests in d633dff); [92b9fd8]
      • added possibility to connect two new antities without attaching to repository, #79; [7dc4d93]
      • added possibility to find entity with composity key by id property in ICollection, #18; [6cf3106]
      • added convereters for DbalMapper and StorageReflection, see new chapter in doc, #84; [f2874fc]
      • fixed properties' namespace when fetching from entity predecessors; [e744316]
      • added EmptyCollection; [ec3d5a5]
      • added: DbalCollection accepts IEntity as filtering value, #88; [3eb9e33]
      • many other small fixed & big optimizations!
    • see full commit changelog
  • v1.0.0 Orm 1.0.0

    The first stable release of Nextras ORM.

  • v1.0.0-RC3 Orm 1.0.0-RC3

    Changes against 1.0.0-RC1:

    • fixed relationship HasMany::has() method
    • fixed IEntity::hasValue() using getters (#80)
    • fixed relationship total removing entities
    • better phpdoc for Repository
  • v1.0.0-RC2 Orm 1.0.0-RC2

    Changes against 1.0.0-RC1:

    • fixed support for IRepository::find|get*() magic methods

Is this addon outdated? Did you find an issue? Please report it.

Componette Componette admin@componette.com