CHANGELOG.md in eco-helpers-2.0.12 vs CHANGELOG.md in eco-helpers-2.0.13
- old
+ new
@@ -1,23 +1,26 @@
# Change Log
All notable changes to this project will be documented in this file.
-## [2.0.12] - 2021-03-29
+## [2.0.13] - 2021-03-31
### Added
+ - Stats on the `Eco::API::Session::Batch`
+ - Allow to inherit and re-use the `Eco::API::UseCases::DefaultCase::HrisCase`
### Changed
- - `Eco::CLI#run` it does include any defined states on the workflow
### Fixed
+ - Ensure auto-loading for `Eco::API::UseCases`
+## [2.0.12] - 2021-03-29
-## [2.0.11] - 2021-03-29
+### Changed
+ - `Eco::CLI#run` it does include any defined states on the workflow
-### Added
-### Changed
+## [2.0.11] - 2021-03-29
### Fixed
- `Eco::API::Session::Batch:Errors#errors` changed `Array#filter` call to `Array#select` call
## [2.0.10] - 2021-03-26
@@ -33,85 +36,62 @@
- `Eco::API::Common::People::PersonParser`
- Renamed `#all_attrs` to `#all_model_attrs`
- Ranamed `#defined_attrs` to `#defined_model_attrs`
- Ranamed `#undefined_attrs` to `#undefined_model_attrs`
-### Fixed
-
## [2.0.9] - 2021-03-19
-### Added
### Changed
- `Eco::API::Session::Batch:Errors#person_ref` moved to the public method
-### Fixed
-
## [2.0.8] - 2021-03-09
-### Added
-### Changed
### Fixed
- `Ecoportal::API::V1::Person#identity` adjust behavior
## [2.0.7] - 2021-03-09
-### Added
-### Changed
### Fixed
- `Eco::API::Session::Batch::JobsGroups` and `Eco::API::Session::Batch::Jobs`: when new `Batch::Job`s are creating during launch, they remained unlaunched
- this fix makes `#launch` method to iterate until there are no pending
## [2.0.6] - 2021-03-08
-### Added
### Changed
- `Eco::API::Session::Batch:Errors` moved some methods to be private
### Fixed
- `Eco::API::Error` should inherit from `StandardError`, rather than from `Exception`
## [2.0.5] - 2021-02-24
-### Added
-### Changed
### Fixed
- `Eco::API::Common::People::PersonParser#symbol_keys` to use `Array#select`
- as `Array#filter` was introduced in ruby `2.5.5`
## [2.0.4] - 2021-02-23
-### Added
### Changed
- `Eco::API::Common::People::PersonParser#defined_attrs` to include virtual attributes
-### Fixed
-
## [2.0.3] - 2021-02-23
### Added
- `Eco::API::UseCases::OozeSamples::OozeUpdateCase`: added integration to update page instances (non-templates)
-### Changed
### Fixed
- `Eco::API::Policies::DefaultPolicies::UserAccess` complete default policy code.
## [2.0.2] - 2021-02-22
-### Added
### Changed
- upgraded dependencies with `ecoportal-api`
-### Fixed
-
-
## [2.0.1] - 2021-02-22
-### Added
### Changed
- upgraded dependencies with `ecoportal-api-oozes` to `ecoportal-api-v2`
-### Fixed
-
## [1.5.15] - 2021-02-17
### Added
- `Eco::API::Common::ClassHelpers` added support for class methods inheritance
- this is key to be able to define usecase models to inherit from
@@ -121,11 +101,10 @@
- `Eco::API::MicroCases#people_load`
- `Eco::API::MicroCases#people_cache`
- `Eco::API::MicroCases#people_search`
- `Eco::API::MicroCases#refresh`
-### Changed
### Fixed
- `Eco::API::Policies::DefaultPolicies::UserAccess` typos in default api policy
## [1.5.14] - 2021-02-05
@@ -143,15 +122,12 @@
### Changed
- `Eco::API::Session::Batch::Job#launch` it will also run the default api policies before feedback and query launch
- `Eco::API::Common::People::PersonEntry` add error log when wrong email error is detected
- previously it would have crashed
-### Fixed
-
## [1.5.13] - 2021-02-01
-### Added
### Changed
- upgraded dependency with `ecoportal-api-oozes`
### Fixed
- `Eco::API::Session::Config::Api` was not including the correct `host`
@@ -163,83 +139,61 @@
- `Eco::API::Common::People::DefaultParsers::CSVParser` when cell content is `Null`, capture `nil` value.
### Changed
- upgraded `ecoportal-api` dependency
-### Fixed
-
-
## [1.5.11] - 2021-01-25
### Added
- `Eco::API::Organization::TagTree#subtag?` to check if the tag is in any subtree.
-### Changed
-
### Fixed
- `Eco::API::MicroCases#set_supervisor` shouldn't set it if the entry does not have it.
## [1.5.10] - 2021-01-19
-### Added
-### Changed
### Fixed
- `Eco::API::Session::Batch::Errors#print` show the row number of the input data.
## [1.5.9] - 2021-01-08
### Added
- `Eco::API::Organization::TagTree#subtags` to get all the tags but those of the highest level.
-### Changed
-### Fixed
-
-
## [1.5.8] - 2021-01-05
-### Added
-### Changed
### Fixed
- `Eco::API::Session::Batch::Jobs#job` shouldn't be calling the post-launch callback function on creation.
- `Eco::API::Session#new_job` should include a `&block` parameter.
- `Eco::API::UseCases::DefaultCases::RefreshCase`: fixed typo
## [1.5.7] - 2020-12-17
-### Added
-### Changed
### Fixed
- `Eco::API::Sesssion#parse_attribute` was not using phase argument
## [1.5.6] - 2020-12-04
-### Added
-### Changed
### Fixed
- `Eco::API::UseCases::DefaultCases::RestoreDBCase` fixed typo and slightly improved
- fixed some back-end errors when chaining usecases
- `Eco::API::UseCases::DefaultCases::OrgDataConvertCase` improved
## [1.5.5] - 2020-12-03
-### Added
-### Changed
### Fixed
- rubies previous to `2.5` do not have `yield_self`
## [1.5.4] - 2020-12-02
### Added
- update `ecoportal-api` dependency
-### Changed
### Fixed
- `Eco::API::MicroCases#people_refresh` typo
## [1.5.3] - 2020-11-30
-### Added
-### Changed
### Fixed
- `Eco::API::Session::Batch::RequestStats#blanked_value?` better blank detection
- `Eco::API::MicroCases#with_each_starter` rectified typo
## [1.5.2] - 2020-11-26
@@ -376,43 +330,35 @@
* apparently, this can only be achieved by passing an argument such as `rb:bom|utf-8`
* best reference found: https://stackoverflow.com/a/60794851/4352306
## [1.4.2] - 2020-07-23
-### Added
-### Changed
### Fixed
- preserve backtrace on logging
## [1.4.0] - 2020-07-14
-### Added
### Changed
- change abilities to align with ecoPortal release `1.5.0`
- remove some patches on `ecoportal-api`
- removed patch method `Ecoportal::API::V1::Person#sync`
### Fixed
- `Eco::CSV#parse` and `Eco::CSV#read` should use the proper `:encoding` when it's `bom`
## [1.3.19] - 2020-07-23
-### Added
-### Changed
### Fixed
- preserve backtrace on logging
## [1.3.18] - 2020-07-08
-### Added
-### Changed
### Fixed
- the `update` case was missing the code to use the `default_usergroup`
## [1.3.17] - 2020-07-06
-### Added
### Changed
- the `hris` case should not only include as `leavers` those that have account, but anyone that leaves
* as we could have active people with no account
### Fixed
- `Eco::API::Session::Batch::Errors#errors`: fix error for empty `body` on response
@@ -431,60 +377,47 @@
## [1.3.15] - 2020-06-11
### Added
- default usecase to export to `csv` (`-detailed`) now includes `"Supervisor Name"` column
### Changed
-### Fixed
## [1.3.14] - 2020-06-10
### Added
- `Eco::API::Common::People::SupervisorHelpers` now has its methods as class methods
### Changed
- upgraded `ecoportal-api` gem dependency to minimum version `0.5.6`
-### Fixed
## [1.3.13] - 2020-05-29
-### Added
-### Changed
### Fixed
- `Eco::API::Organization::TagTree#tag?` to accept `nil` by returning `false`
- `Eco::API::Common::People::DefaultParsers::DateParser` will parse to `Date` class
* it was parsing to `Time` class, while the native gem `ecoportal-api` parses as `Date` ([reference](https://gitlab.com/ecoPortal/ecoportal-api/-/blob/master/lib/ecoportal/api/v1/schema_field.rb))
## [1.3.12] - 2020-05-19
-### Added
### Changed
- stop using `email` as `external_id` on `People#person` & `People#find`
* this should result in more accurate searches when using `:strict` options
-### Fixed
-
## [1.3.11] - 2020-05-12
-### Added
### Changed
- remove popping up comments on `Eco::API::Organization::PolicyGroups#`
-### Fixed
-
## [1.3.10] - 2020-05-12
### Added
- `Eco::API::Organization::PolicyGroups#to_name` added support for `Array` input
- `config.people.default_usergroup`, when defined, will have effect on usecases: `update` (this case was missing the change)
* on account creation, if the input file did not specify `policy_group_ids`
-### Changed
### Fixed
- `upsert`, `hris` and `create` usecases: fixed condition for use of default_usergroup
## [1.3.9] - 2020-05-12
-### Added
-### Changed
### Fixed
- `usecase` callback was not receiving `usecase` paramater
* as a consequence `Batch::Job` created were missing the `usecase`