CHANGELOG.md in ecoportal-api-v2-0.8.8 vs CHANGELOG.md in ecoportal-api-v2-0.8.9
- old
+ new
@@ -1,18 +1,53 @@
# Change Log
All notable changes to this project will be documented in this file.
-## [0.8.8] - 2021-06-xx
+## [0.8.9] - 2021-06-xx
### 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`
+ - In future changes, method `[]` might be overriding the method of the parent class `CollectionModel`.
+ - `Ecoportal::API::V2::Page::PermissionFlags` to offer support to `can_permission`, `subscribed`, etc.
+ - `Ecoportal::API::V2::Page::Section#add_component` super handy helper to add fields to sections.
+ - `Ecoportal::API::V2::Page::Component::PeopleField#delete` to remove people using their ids.
+ - `Ecoportal::API::V2::Page::Component::GeoField` **added** suport for `#coordinates`
+ - With embedded object `Ecoportal::API::V2::Page::Component::GeoCoordinates`
+ - `#configure` method, to all the `Component` types (but `ChartField` s)
+ - This method allows to quickly set field properties.
+ - `Ecoportal::API::V2::Page::Sections#between`, aiming to obtain sections between two other ones
+
+
+### Changed
+ - `Ecoportal::API::V2::Page::Section` real support for `split` sections (right vs left)
+ - This is actually a **FIX**
+ - `Ecoportal::API::V2::Page::Component::DateField#create_event`
+ - Now it switches to _allow future dates_
+ - `Ecoportal::API::V2::Page::Component::SelectionField#add_option`, the `name` parameter is now optional
+ - This change aims to make it consistent with the back-end.
+ - To its actual `Boolean` type some properties
+ - All `Component` types
+
+### Fixed
+ - `Ecoportal::API::Common::Content::HashDiffPatch` did not support `Hash` values without `id` or `patch_ver`
+ - This fix should allow them to flow to the update
+ - `Ecoportal::API::V2::Page::Component::ChartField` did not have `doc` for `mode` based configuration
+ - `Ecoportal::API::Common::Content::ArrayModel#insert_one`
+ - When `pos`, `before` & `after` were `nil` it was failing to attach the element.
+ - `Ecoportal::API::V2::Page::Sections#add` was not adding in the correct order
+ - `Ecoportal::API::V2::Page::Section.new_doc` was unnecessarily giving `9999` as default weight
+
+## [0.8.8] - 2021-08-03
+
+### Added
- `Ecoportal::API::V2::Page::Component::ChartField::Benchmark`
- Support to convert selection options between numeric and text type.
- Add `Permit` object to `Page` and `Stage`
### Changed
- Removed `Stages.ordered_stages`: detected bug with Enumerable iteration
-
-### Fixed
+
## [0.8.7] - 2021-05-25
### Changed
- Upgrade `ecoportal-api` gem