Sha256: 0d8081d10d142b5ae2a76774386491d4475ed29e509f95e04062ab5b7bd7959b

Contents?: true

Size: 1.76 KB

Versions: 1

Compression:

Stored size: 1.76 KB

Contents

# Changelog

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

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [2.2.0]

### Added

- Added support for custom pagination adapters
- Implemented STI support in `Collection`

### Changed

- Renamed `Pagination#adapter` to `#pagination_adapter`
- `Type` now replaces `::` with `/`

### Fixed

- Fixed AR association adapter not working with custom scopes
- Fixed AR association adapter not working with `has_one`
- Fixed associations inheritance
- Fixed association expansion for non-AR associations defined on AR models

## [2.1.1]

### Fixed

- Fixed ActiveRecord association adapter

## [2.1.0]

### Added

- Added support for `:as` in `timestamp` properties
- `user_options` are now forwarded to expanded associations
- Made associations ORM-independent with the Adapter API
- Implemented the Type Overrides API
- Implemented the Pagination Adapter API

### Changed

- Changed the `#type` of collections from `collection` to `list`
- Replaced `feature` with `include` in tests and examples

### Fixed

- Fixed `type` property not returning `list` for instances of `ActiveRecord::Relation`
- Fixed bugs with the optimization of associations with custom scopes
 
## [2.0.0]

First Pragma 2 release.

[Unreleased]: https://github.com/pragmarb/pragma-decorator/compare/v2.1.1...HEAD
[2.2.0]: https://github.com/pragmarb/pragma-decorator/compare/v2.1.1...v2.2.0
[2.1.1]: https://github.com/pragmarb/pragma-decorator/compare/v2.1.0...v2.1.1
[2.1.0]: https://github.com/pragmarb/pragma-decorator/compare/v2.0.0...v2.1.0
[2.0.0]: https://github.com/pragmarb/pragma-decorator/compare/v1.2.0...v2.0.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pragma-decorator-2.2.0 CHANGELOG.md