Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.1 KB

changelog.md

File metadata and controls

25 lines (20 loc) · 1.1 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

  • Changed namespace from Prozorov\Repositories to Repositories\Core
  • The $id parameter in getById and getByIdOrFail of repository contract now can be of any type
  • Added insert method to the repository contract and tests for it
  • Added insertWithTransaction method to the repository contract and tests for it
  • Added ArrayRepository ID field validation

[1.0.0] - 2020-07-13

Added

  • Transactions are described in Repository contract
  • Added support for transactions in ArrayRepository
  • DuckTyper helper is added

Changed

  • Result and Query objects are removed from Repository contract because I decided to make this contract more general here

Removed

  • Result object is removed becouse I decided that is has nothing to do with repository responsibility
  • HasMeta trait is removed because it has no meaning without Result object