CHANGELOG.md in ecoportal-api-v2-0.8.9 vs CHANGELOG.md in ecoportal-api-v2-0.8.10

- old
+ new

@@ -1,8 +1,28 @@ # Change Log All notable changes to this project will be documented in this file. -## [0.8.9] - 2021-06-xx +## [0.8.10] - 2021-08-xx + +### Added + - `Ecoportal::API::Common::Content::CollectionModel#[]` now supports position as well + - `Ecoportal::API::V2::Page::Component::FilesField#add_file`: support for adding files + - `Ecoportal::API::V2::Page::Component::PeopleField#viewable_fields`: support for managing `viewable_fields` + +### Changed + +### Fixed + - `Ecoportal::API::V2::Page::Component::FilesField`: was not requiring `File` + - `Ecoportal::API::V2::Page::Component::NumberField#value`: it was missing :/ + - `Ecoportal::API::Common::Content::HashDiffPatch` did not support nested objects in Arrays, where the nested object wouldn't have a `patch_ver`. This **fix** allows for it + - `Ecoportal::API::Common::Content::DoubleModel.passforced` to define `methods` that should always be present. This allows to define `patch_ver` as a forced `key` in models that have it + - The enforcement (`self.class.enforce!`) happens on `initialize` + - `passenforced` subjacent model `forced_model_keys` is inheritable + - `Ecoportal::API::Common::Content::CollectionModel`: + - Method `upsert!` was not working fine the parameters `pos`, `before` and `after` + - Method `delete!` did not support position + +## [0.8.9] - 2021-08-16 ### Added - `Ecoportal::API::Common::Content::ModelHelpers` - Starting with `#same_string?`, this lib aims to offer a full set of helper comparers. - `Ecoportal::API::V2::Page::Components#get_by_id`