chrisandchris/passive-record-orm

View on GitHub
changelog/v2.0.2.md

Summary

Maintainability
Test Coverage
# Changelog for v2.0.2
[![Build Status](https://travis-ci.org/chrisandchris/symfony-rowmapper.svg?branch=target%2F2.0.2)](https://travis-ci.org/chrisandchris/symfony-rowmapper)
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/e9913cc8-1539-45ad-b897-1cab6f728c2e/big.png)](https://insight.sensiolabs.com/projects/e9913cc8-1539-45ad-b897-1cab6f728c2e)

This file is the changelog for changes from version 2.0.1 to 2.0.2

## Changes
* Rewritten `DefaultParser` for using `TypeBag` and `SnippetBag`
* Rewritten `Builder` to work with new types
* added PHPUnit configuration
* the bundle requires not at least PHP 5.5
* **WARNING**: Backward incompatible change: PdoLayer now throws DatabaseException on connection failure 
* **WARNING**: Backward incompatible change: RowMapper::mapToArray() now throws InvalidOptionException on invalid input
* Cache is now only available if the query had no closure as parameter

## Additions
* added travis

## Removals
* all type classes and snippet classes are removed and written now in an array
    * see `TypeBag` and `SnippetBag` for replacement
    * this makes it easier to extend the behaviour
    
## Deprecations
* Cache is deprecated, remove in 3.0.0