# Change Log All notable changes to this project will be documented in this file. ## ToDo - Add update operation for `ContractorEntity` - Add currentOrganization.action - Analyse how to "DSL" currentOrganization.action.activities - review `path` tracking ## [0.4.3] - 2024-10-xx ### Added ### Changed ### Fixed ## [0.4.2] - 2024-10-01 ### Changed - upgrade `ecoportal-api-v2` gem - add explicit dependency onto `ecoportal-api` gem (client) ## [0.4.1] - 2024-08-09 ### Added - `ContractorEntity` added field `externalId` ### Changed - gem upgrade `ecoportal-api-v2` ## [0.4.0] - 2024-08-01 ### Changed - require `ruby 3` ## [0.3.18] - 2024-05-16 ### Fixed - `Ecoportal::API::GraphQL::Payload::LocationStructure::CommandExecutionResult` - Error is nullable ## [0.3.17] - 2024-05-14 ### Fixed - `field_name` should add up to the path ## [0.3.16] - 2024-04-29 ### Added - Exposed `graphql` `ContractorEntity` `destroy` ### Fixed - incorrect loading ### Changed - Input for ContractorEntity create moved as `update` (as it wasn't correct) ## [0.3.15] - 2024-04-13 ### Added - `Ecoportal::API::GraphQL::Logic::BaseQuery` - `::base_path` class instance var. - query to retrieve `currentOrganization.classifications` ### Fixed - upgraded `ecoportal-api-v2` gem ## [0.3.14] - 2024-03-13 ### Added - some benchmarking on 1. core graphql base `query` - `#parent_id` to location node model ### Changed - upgraded `ecoportal-v2-api` gem ### Fixed - Optimized `treeify` and locations structure class ## [0.3.13] - 2024-02-03 ### Changed - upgrade `ecoportal-api-v2` ## [0.3.12] - 2024-01-27 ### Added - Exposed `graphql` `Action` `update` and get a single `action` ## [0.3.11] - 2023-09-19 ### Added - Exposed `graphql` `ContractorEntity` `create` and `update` ## [0.3.10] - 2023-08-12 ### Fixed - `Ecopotal::API::GraphQL::Query::LocationStructure` - `query` in basic_block missed an explicitly declared parameter. ## [0.3.9] - 2023-08-03 ### Added - `Ecoportal::API::GraphQL::Logic::BaseQuery` - Added support for **default** values. ## [0.3.8] - 2023-07-18 ### Added - Integration for archiving actions. - `LocationNodeInterface` -> support for `classifications` - `Treeify` to dump more data per node (classifications) ### Fixed - Silenced waning messages when redefining `Fragment`s ## [0.3.7] - 2023-05-23 ### Fixed - `Ecoportal::API::Common::GraphQL::Client` adjusted `read_timeout` and `write_timeout` to `90` seconds. ## [0.3.6] - 2023-04-17 ### Changed - Softened max version of **gem** dependencies ### Fixed - `Ecoportal::API::GraphQL::Fragment#define` was not removing previous constants - Changed check method to be `::const_defined?` ## [0.3.5] - 2023-04-03 ### Fixed - `Ecoportal::API::GraphQL::Helpers::LocationsTree#treeify` - Make it real id-case-insensitive (parents in lower case were being missed due to this) ## [0.3.4] - 2023-04-03 ### Added - `Ecoportal::API::Common::GraphQL::AuthService` - `#session_token` added **token auto-renew** functionality (when token expires in less than 90 minutes) - `#session_token_renewed` ### Fixed - Enabled to specify `host` (other than `live.ecoportal.com`) by the user ## [0.3.3] - 2023-04-02 ### Fixed - `Ecoportal::API::GraphQL::Base::LocationNode` **added** attribute `archivedToken` ## [0.3.2] - 2023-04-02 ### Changed - `Ecoportal::API::GraphQL::Helpers::LocationsTree#treeify` added support for `archived_token` ## [0.3.1] - 2023-03-09 ### Changed - Upgraded core gem dependency `ecoportal-api-v2` ## [0.2.3] - 2023-02-27 ### Fixed - Typo in tests LocationsStructures... should read `locationStructures` ## [0.2.2] - 2023-02-24 ### Fixed - Build gem correctly ## [0.2.1] - 2023-02-24 ### Changed - Migrate from TagTrees to **reporting structures** (breaking change) ### Added - Basics for reporting structure mutations ## [0.1.11] - 2022-11-29 ### Added - `Ecoportal::API::GraphQL::Base::Mutation` - Added `createContractorEntity` ### Changed - **upgraded** `graphlient` gem dependency (support for framents) - removed patch in this gem - Slight internal refactor of `Ecoportal::API::GraphQL::Base::Query` - Upgraded `ecoportal-api-v2` **gem** dependency ## [0.1.10] - 2022-09-29 ### Changed - **upgraded** `ecoportal-api-v2` gem dependency ### Fixed - Remove debugging message ## [0.1.9] - 2022-09-26 ### Added - `Ecoportal::API::GraphQL::Query::TagTree` ### Changed - **upgraded** `ecoportal-api-v2` gem dependency - added `Ecoportal::API::Common::GraphQL::QueryIntegration` - restructured `Ecoportal::API::GraphQL::Model::Organization` class - **Patch** on `Graphlient::Query` for fragments support (**pull request**: ) ## [0.1.8] - 2022-09-23 ### Added - `currentOrganization.tagTrees` query ### Changed - **upgraded** `ecoportal-api-v2` gem dependency - Restructured the `Query` inheritance chain to make things simpler ## [0.1.6] - 2022-09-19 ### Fixed - Call to **private** method `remove_const` in `Ecoportal::API::GraphQL::Fragment#define` ## [0.1.5] - 2022-09-19 ### Added - Patch `GraphQL::Query#append_node` so we can use Fragments in blocks using `___` as start of the constant, and `__` for namespace separator - Issue/feature request: - `Ecoportal::API::GraphQL::Fragment#define` provided that client scripts can create their own fragments in their own namespace - Exposed `Ecoportal::API::GraphQL#fragments` - It will always (re)define in the `Fragment` root namespace ## [0.1.4] - 2022-09-16 ### Fixed - Able to inject connection block to `each` - Error handling delegated to parent class (`QueryConnection`) - Retrieve `id` on elements of `Array` ## [0.1.3] - 2022-09-15 ### Fixed - Fixed circular reference to `org_id` in `Ecoportal::API::Common::GraphQL::Client` ## [0.1.2] - 2022-09-15 ### Changed - `Ecoportal::API::GraphQL` addded `email` and `pass` parameters on initialization - This allows for integration in some client lib ## [0.1.0] - 2022-09-15 ### Added - First commit with some basic structure