# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [11.0.3](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@11.0.2...@energyweb/utils-general@11.0.3) (2021-08-30)


### Bug Fixes

* **deps:** update dependency ethers to v5.1.3 ([e7f4abb](https://github.com/energywebfoundation/origin/commit/e7f4abb8109303814e5727976732c528dcfa342d))
* **deps:** update dependency ethers to v5.1.4 ([71f379b](https://github.com/energywebfoundation/origin/commit/71f379b020e8e6bcd1b4b6f117d27e9babc6f93c))
* **deps:** update ethers ([785e3ef](https://github.com/energywebfoundation/origin/commit/785e3efbe95fbde1984d80d8a50293d123364803))
* **deps:** update ethers ([d40f585](https://github.com/energywebfoundation/origin/commit/d40f585815ede90cc3ce1a901aa35bb3e9ebde3d))
* **deps:** update ethers to v5.3.0 ([72c970e](https://github.com/energywebfoundation/origin/commit/72c970e69d220250e7d9d3f36ac653a3610d6825))
* revert ethers versions to working and disable updates ([49753f0](https://github.com/energywebfoundation/origin/commit/49753f0aed3f5e32e861b7bbe1d4a85bd900dce9))





## [11.0.2](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@11.0.1...@energyweb/utils-general@11.0.2) (2021-03-23)


### Bug Fixes

* **deps:** update dependency ethers to v5.0.31 ([2c4a3a0](https://github.com/energywebfoundation/origin/commit/2c4a3a002e113ab28d1a452ed77b1b4b2a8436e6))





## [11.0.1](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@11.0.0...@energyweb/utils-general@11.0.1) (2021-02-12)


### Bug Fixes

* **deps:** update dependency eth-sig-util to v2.5.4 ([9277545](https://github.com/energywebfoundation/origin/commit/9277545353ce051d8b1a9de06618f4b72e08458d))
* **deps:** update dependency ethers to v5.0.29 ([149041b](https://github.com/energywebfoundation/origin/commit/149041b4ca3648f1decf9e1acb5f7bb5d6fd721a))





# [11.0.0](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@10.0.0...@energyweb/utils-general@11.0.0) (2020-11-30)


### chore

* **utils-general:** remove Configuration ([99800a6](https://github.com/energywebfoundation/origin/commit/99800a6a2058198041e30cb110768cd0bdc1427c))


### BREAKING CHANGES

* **utils-general:** Configuration is no longer a part of utils-general





# [10.0.0](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@9.3.0...@energyweb/utils-general@10.0.0) (2020-11-20)


### Bug Fixes

* **deps:** update dependency ethers to v5.0.15 ([7205cfd](https://github.com/energywebfoundation/origin/commit/7205cfd3b823730beed77fa8195b7c9c06898a88))
* **deps:** update dependency jsonschema to v1.2.11 ([58ba331](https://github.com/energywebfoundation/origin/commit/58ba331b1c8f31a479b2287159286a1aed15c4e0))
* **deps:** update dependency jsonschema to v1.2.8 ([2858461](https://github.com/energywebfoundation/origin/commit/28584618e882f77d4ede6e1aac81adc13d22e0fe))
* **deps:** update dependency jsonschema to v1.3.0 ([52687ef](https://github.com/energywebfoundation/origin/commit/52687efb77b2d58b5b5cf3597f6c129a216f20ed))
* **deps:** update dependency jsonschema to v1.4.0 ([d382afa](https://github.com/energywebfoundation/origin/commit/d382afaddaefa5c9b801cd192a709f0ac4262f0a))


### chore

* **utils-general:** Remove BlockchainProperties from Configuration ([8e9b760](https://github.com/energywebfoundation/origin/commit/8e9b760f6f10036b73ce324e017fc2e7f6a64e48))


### BREAKING CHANGES

* **utils-general:** Configuration entity no longer contains BlockchainProperties





# [9.3.0](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@9.2.3...@energyweb/utils-general@9.3.0) (2020-10-02)


### Bug Fixes

* **deps:** update dependency jsonschema to v1.2.7 ([510e9fe](https://github.com/energywebfoundation/origin/commit/510e9fedce05cc017921300d6182723231bdeacc))


### Features

* **utils-general:** add IRec feature ([68e6b0d](https://github.com/energywebfoundation/origin/commit/68e6b0d04bac482d09fa8bbc6b9f3155bfac1137))
* **utils-general:** hide irec connect ([0ce25e6](https://github.com/energywebfoundation/origin/commit/0ce25e6242b73148cc948533798b1535ff311e8d))





## [9.2.3](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@9.2.2...@energyweb/utils-general@9.2.3) (2020-08-25)

**Note:** Version bump only for package @energyweb/utils-general





## [9.2.2](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@9.2.1...@energyweb/utils-general@9.2.2) (2020-08-12)

**Note:** Version bump only for package @energyweb/utils-general





## [9.2.1](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@9.2.0...@energyweb/utils-general@9.2.1) (2020-08-10)


### Bug Fixes

* **deps:** update dependency ethers to v5.0.8 ([c69bde0](https://github.com/energywebfoundation/origin/commit/c69bde05c4f0eba5dbc49833f266af24c84c0187))





# [9.2.0](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@9.1.5...@energyweb/utils-general@9.2.0) (2020-08-06)


### Features

* **utils-general:** add support for Origin Features ([86b8681](https://github.com/energywebfoundation/origin/commit/86b86819227cacbe361ef75f1c425311e1770ec1))





## [9.1.5](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@9.1.4...@energyweb/utils-general@9.1.5) (2020-07-16)

**Note:** Version bump only for package @energyweb/utils-general





## [9.1.4](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@9.1.3...@energyweb/utils-general@9.1.4) (2020-07-08)


### Bug Fixes

* **deps:** update dependency winston to v3.3.0 ([12f111e](https://github.com/energywebfoundation/origin/commit/12f111ed16274e40d9ccbb4c3d6f9d8d222cb2fe))
* **deps:** update dependency winston to v3.3.3 ([d66ad8e](https://github.com/energywebfoundation/origin/commit/d66ad8e4f8f65a8c6bed6ec95303a175771ed230))





## [9.1.3](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@9.1.2...@energyweb/utils-general@9.1.3) (2020-06-16)

**Note:** Version bump only for package @energyweb/utils-general





## [9.1.2](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@9.1.1...@energyweb/utils-general@9.1.2) (2020-06-16)

**Note:** Version bump only for package @energyweb/utils-general





## [9.1.1](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@9.1.0...@energyweb/utils-general@9.1.1) (2020-05-29)

**Note:** Version bump only for package @energyweb/utils-general





# [9.1.0](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@9.0.0...@energyweb/utils-general@9.1.0) (2020-05-15)


### Features

* **utils-general:** enable signing messages using private keys ([492a562](https://github.com/energywebfoundation/origin/commit/492a5624bec9a418b8cffc29d2e684ec5ed73aea))





# [9.0.0](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@8.0.0...@energyweb/utils-general@9.0.0) (2020-04-24)


### Bug Fixes

* **deps:** update dependency precise-proofs-js to v1.1.0 ([b1f0bb7](https://github.com/energywebfoundation/origin/commit/b1f0bb723a4a006357ed3b7dcad7494c70b0c5b4))


### chore

* **utils-general:** transition from web3 to ethers ([4679d96](https://github.com/energywebfoundation/origin/commit/4679d9625c9cf65f726af7447977d76cc45c5789))


### BREAKING CHANGES

* **utils-general:** transition to ethers





# [8.0.0](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@7.0.2...@energyweb/utils-general@8.0.0) (2020-04-08)


### Bug Fixes

* **deps:** update dependency jsonschema to v1.2.6 ([8a8d429](https://github.com/energywebfoundation/origin/commit/8a8d429541d60a2df6dc583e7c996aa79f17bb41))
* **origin-ui-core:** fix displaying certificates ([aed5142](https://github.com/energywebfoundation/origin/commit/aed51423ec13d11800029ba736b44e1e7fb6a449))
* adjust application to off-chain device registry ([a3583fb](https://github.com/energywebfoundation/origin/commit/a3583fb6c80604c88ef69724c69229a74320ff95))


### chore

* **utils-general:** rm BlockchainDataModelEntity ([898bf13](https://github.com/energywebfoundation/origin/commit/898bf13013b7cf38378498945b43f033531ce870))


### Features

* **issuer:** multi-owner private certificates ([e3c23cf](https://github.com/energywebfoundation/origin/commit/e3c23cf48d5acd1b0c68aa88d79fabf499b89b48))
* **utils-general:** demandstatus enum ([83c4ce4](https://github.com/energywebfoundation/origin/commit/83c4ce4a52fedaafd5914aa0b38672d7893b6ed2))
* **utils-general:** new precise proofs structure + new Configuration contracts structure ([721e16c](https://github.com/energywebfoundation/origin/commit/721e16c2c610574c4003aee249ead2e2e60e2ce4))


### BREAKING CHANGES

* **utils-general:** Removes BlockchainDataModelEntity, it will no longer be needed in future versions
* **utils-general:** new precise proofs structure + new Configuration contracts structure





## [7.0.2](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@7.0.1...@energyweb/utils-general@7.0.2) (2020-03-16)

**Note:** Version bump only for package @energyweb/utils-general





## [7.0.1](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@7.0.0...@energyweb/utils-general@7.0.1) (2020-03-02)

**Note:** Version bump only for package @energyweb/utils-general





# [7.0.0](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@6.0.0...@energyweb/utils-general@7.0.0) (2020-02-12)


### chore

* **utils-general:** configurable DeviceTypeService ([94694eb](https://github.com/energywebfoundation/origin/commit/94694ebc3437bcc4abea7ffc3ff5905e9bc9f06e))


### BREAKING CHANGES

* **utils-general:** Rename IRECDeviceService to DeviceTypeService and make it configurable





# [6.0.0](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@5.0.0...@energyweb/utils-general@6.0.0) (2020-02-04)


### Features

* easier OffChainDataSource definition ([4f7fff0](https://github.com/energywebfoundation/origin/commit/4f7fff0801dcef7e918ae76e6adb12d8b3f46d75))
* **utils-general:** multiple locations matching ([fede4d7](https://github.com/energywebfoundation/origin/commit/fede4d7a2604e0a4bb13069b67edd0e7c9ec7e5d))


### BREAKING CHANGES

* Configuration.Entity now requires a different (simpler) OffChainDataSource definition





# [5.0.0](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@4.1.1...@energyweb/utils-general@5.0.0) (2020-01-31)


### Features

* **issuer:** add JS wrappers for PublicIssuer and Certificate ([6511677](https://github.com/energywebfoundation/origin/commit/6511677012aaa8ec8239fa951f6311811bf030a2))
* **utils-general:** add userClient requirement and typed signing ([24d4325](https://github.com/energywebfoundation/origin/commit/24d432591bced0ef967aa01fffe0e9870384d98e))
* **utils-general:** added location service ([365d7f6](https://github.com/energywebfoundation/origin/commit/365d7f63fffeb4679d5c99ea12d8d923c9aff111))
* **utils-general:** includesSomeDeviceType ([aa209b7](https://github.com/energywebfoundation/origin/commit/aa209b78ed6a649bef348dcf762a71ac9bb67571))
* **utils-general:** solidity-compatible precise-proofs ([b47fb4b](https://github.com/energywebfoundation/origin/commit/b47fb4bad74a345032393bc5d869512e7ee9582c))


### BREAKING CHANGES

* **utils-general:** require UserClient in configuration





## [4.1.1](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@4.1.0...@energyweb/utils-general@4.1.1) (2020-01-17)

**Note:** Version bump only for package @energyweb/utils-general





# [4.1.0](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@4.0.0...@energyweb/utils-general@4.1.0) (2020-01-07)


### Features

* **origin-ui:** input form for registering an organization ([a6c95eb](https://github.com/energywebfoundation/origin/commit/a6c95eb17f15b571fb3f869cdc35e289471d77f7))





# [4.0.0](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@3.0.0...@energyweb/utils-general@4.0.0) (2019-12-20)


### chore

* **utils-general:** move LocationService to device-registry, add configurationClient to Configuration.Entity ([38f7a91](https://github.com/energywebfoundation/origin/commit/38f7a91ddf71faaf3e50c7990692b66277f90cfa))


### Features

* add region and province form fields to device registration ([f71feff](https://github.com/energywebfoundation/origin/commit/f71feff224a087459d4d36f938feae82c8f7ff48))
* **utils-general:** export more units for convenience ([9335302](https://github.com/energywebfoundation/origin/commit/9335302c36b92d9c771f656c91c9157efa2273c0))


### BREAKING CHANGES

* **utils-general:** Use the @energyweb/device-registry package if you need LocationService





# [3.0.0](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@2.1.0...@energyweb/utils-general@3.0.0) (2019-12-19)


### chore

* **utils-general:** replace Compliance enums with a type ([603502c](https://github.com/energywebfoundation/origin/commit/603502c40bf4b7fa467fb7e51495365af0a4923a))


### BREAKING CHANGES

* **utils-general:** The Compliance enum has been replaced with a simple string-based compliance definition





# [2.1.0](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@2.0.0...@energyweb/utils-general@2.1.0) (2019-12-17)


### Features

* **utils-general:** added createFilter method ([90d72f8](https://github.com/energywebfoundation/origin/commit/90d72f823c25d96f58c713a49a2050532d66a8c5))





# [2.0.0](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@1.4.0...@energyweb/utils-general@2.0.0) (2019-12-12)


* [FIX] Backend hash storing (#341) ([b239101](https://github.com/energywebfoundation/origin/commit/b239101f51cffd7e37c9ea51654a75804cf502ed)), closes [#341](https://github.com/energywebfoundation/origin/issues/341)


### Bug Fixes

* **deps:** update dependency jsonschema to v1.2.5 ([#336](https://github.com/energywebfoundation/origin/issues/336)) ([17ac397](https://github.com/energywebfoundation/origin/commit/17ac397805180fb40541cebd11462e1866eb740b))


### Features

* **utils-general:** add common types ([0bd53df](https://github.com/energywebfoundation/origin/commit/0bd53dfa5d766c06b4a946894cff17cc7cee2131))


### BREAKING CHANGES

* Changed the API endpoints from http://example.url/<marketLogicAddress>/<entity>/<id> to http://example.url/<marketLogicAddress>/<entity>/<id>/<offChainDataHash>

* feat(utils-general): use the new URL structure when fetching off-chain data
* Changed the API endpoints of the backend from http://example.url/<marketLogicAddress>/<entity>/<id> to http://example.url/<marketLogicAddress>/<entity>/<id>/<offChainDataHash>

* chore(user-registry): adjust to breaking changes
* Updated User API endpoints of the backend from http://example.url/<marketLogicAddress>/<entity>/<id> to http://example.url/<marketLogicAddress>/<entity>/<id>/<offChainDataHash>

* chore(asset-registry): adjust to breaking changes
* Updated Asset API endpoints of the backend from http://example.url/<marketLogicAddress>/<entity>/<id> to http://example.url/<marketLogicAddress>/<entity>/<id>/<offChainDataHash>

* chore(origin): fix constructor weird formatting

* fix(market): storing off-chain data references on-chain
* New contracts for PurchasableCertificate + Updated Market API endpoints of the backend from http://example.url/<marketLogicAddress>/<entity>/<id> to http://example.url/<marketLogicAddress>/<entity>/<id>/<offChainDataHash>

* chore(event-listener): more understandable tests

* fix(event-listener): make scan interval faster for tests

* feat(origin-backend): use a simpler URL structure
* The URL structure of the API changed to only store hashes, omitting IDs, entity types and market lookup contracts used previously

* chore(origin-backend-client): use only POST methods instead of POST and PUT
* Use the .insert() method instead of .insertOrUpdate()

* chore(utils-general): use .insert instead of .insertOrUpdate

* fix(origin-backend): return 200 on POSTing the same entity

* chore(utils-general): remove abstract getUrl()

* chore(user-registry): remove specific getUrl()

* chore(device-registry): remove specific getUrl()

* chore(origin): remove specific getUrl()

* chore(market): remove specific getUrl()

* chore(monorepo): reorder test:serial

* fix(origin-backend): adjust tests to new POST behaviour

* chore(monorepo): Add an ADR for simplifying off-chain data storage





# [1.4.0](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@1.3.1...@energyweb/utils-general@1.4.0) (2019-11-26)


### Bug Fixes

* **market:** Updating off-chain properties - Handle cases where on-chain transactions fail ([#318](https://github.com/energywebfoundation/origin/issues/318)) ([324e1ee](https://github.com/energywebfoundation/origin/commit/324e1ee8605a122c54a41bec752333b0ac56b8dd))
* **utils-general:** Alternative ways to extract asset location ([#317](https://github.com/energywebfoundation/origin/issues/317)) ([73d2e84](https://github.com/energywebfoundation/origin/commit/73d2e842f043d019194f42eb5abf3b4a9494a72a))


### Features

* **origin-ui:** Add process indicator while executing tx ([#256](https://github.com/energywebfoundation/origin/issues/256)) ([21e1649](https://github.com/energywebfoundation/origin/commit/21e1649ad7ef026b7cf935701c966340f650789b))
* **origin-ui:** show certificate generation timeframe ([#287](https://github.com/energywebfoundation/origin/issues/287)) ([8c2bf43](https://github.com/energywebfoundation/origin/commit/8c2bf439970fcaea3ddfee5a9f92fdc2d4e435a5))





## [1.3.1](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@1.3.0...@energyweb/utils-general@1.3.1) (2019-11-11)


### Bug Fixes

* fix yarn clean command ([#224](https://github.com/energywebfoundation/origin/issues/224)) ([e07e9d8](https://github.com/energywebfoundation/origin/commit/e07e9d85de1b80c9f1a721398e41d82db580049c))
* **origin-ui:** fix persisting demand location ([#205](https://github.com/energywebfoundation/origin/issues/205)) ([33eeb75](https://github.com/energywebfoundation/origin/commit/33eeb75a3866667fa2ecbb67b5eb5b4943e28693))





# [1.3.0](https://github.com/energywebfoundation/origin/compare/@energyweb/utils-general@1.2.0...@energyweb/utils-general@1.3.0) (2019-10-25)


### Bug Fixes

* rm old prepare scripts ([a9aec09](https://github.com/energywebfoundation/origin/commit/a9aec098c36e3ed0763855bb8ab29789e6fbf118))
* use npm solc instead of downloading it every time ([#170](https://github.com/energywebfoundation/origin/issues/170)) ([e5ef574](https://github.com/energywebfoundation/origin/commit/e5ef574f6d297107606a1d035a56da01806a07d1))


### Features

* **backend:** Replace testbackend with the new origin-backend ([#137](https://github.com/energywebfoundation/origin/issues/137)) ([c428e7d](https://github.com/energywebfoundation/origin/commit/c428e7d44300ae306a9e759fc8897135e9d0e1be))





# 1.2.0 (2019-10-23)


### Bug Fixes

* **deps:** update dependency fs-extra to v8.1.0 ([#64](https://github.com/energywebfoundation/origin/issues/64)) ([ccd9ed5](https://github.com/energywebfoundation/origin/commit/ccd9ed5))
* **utils-general:** force strings as IDs in Entity ([#19](https://github.com/energywebfoundation/origin/issues/19)) ([9417ff8](https://github.com/energywebfoundation/origin/commit/9417ff8))
* certificate price is always per MWh ([#142](https://github.com/energywebfoundation/origin/issues/142)) ([a253036](https://github.com/energywebfoundation/origin/commit/a253036))
* fix asset type overlap checking logic ([#94](https://github.com/energywebfoundation/origin/issues/94)) ([dc84251](https://github.com/energywebfoundation/origin/commit/dc84251))
* partial matching ([#90](https://github.com/energywebfoundation/origin/issues/90)) ([7ea2d5c](https://github.com/energywebfoundation/origin/commit/7ea2d5c))
* publish access configs ([bd4fa2b](https://github.com/energywebfoundation/origin/commit/bd4fa2b))
* publish access configs ([ecc00a2](https://github.com/energywebfoundation/origin/commit/ecc00a2))


### Features

* **origin-ui:** Duplicating and editing demands ([#32](https://github.com/energywebfoundation/origin/issues/32)) ([66cec2c](https://github.com/energywebfoundation/origin/commit/66cec2c))
* **origin-ui:** filter, search claimed certificates, bulk claim in inbox ([#44](https://github.com/energywebfoundation/origin/issues/44)) ([c80145a](https://github.com/energywebfoundation/origin/commit/c80145a))
* **origin-ui:** using in-browser private key ([#136](https://github.com/energywebfoundation/origin/issues/136)) ([818d2f5](https://github.com/energywebfoundation/origin/commit/818d2f5))
* Automatic demand matching ([#41](https://github.com/energywebfoundation/origin/issues/41)) ([d706629](https://github.com/energywebfoundation/origin/commit/d706629))
* **solar-simulator:** generate accounts from mnemonic ([#16](https://github.com/energywebfoundation/origin/issues/16)) ([89562ea](https://github.com/energywebfoundation/origin/commit/89562ea))
* **user-registry:** User Off-Chain Properties ([#15](https://github.com/energywebfoundation/origin/issues/15)) ([b6c2a31](https://github.com/energywebfoundation/origin/commit/b6c2a31))
* asset/demand location based matching ([#46](https://github.com/energywebfoundation/origin/issues/46)) ([00255bd](https://github.com/energywebfoundation/origin/commit/00255bd))
* demand fill tracking ([#82](https://github.com/energywebfoundation/origin/issues/82)) ([2948e17](https://github.com/energywebfoundation/origin/commit/2948e17))
* demands filtering ([#26](https://github.com/energywebfoundation/origin/issues/26)) ([337e584](https://github.com/energywebfoundation/origin/commit/337e584))
* matcher improvements  ([#159](https://github.com/energywebfoundation/origin/issues/159)) ([3ef5465](https://github.com/energywebfoundation/origin/commit/3ef5465))
* new demand creation view and asset types integration ([#14](https://github.com/energywebfoundation/origin/issues/14)) ([229e68b](https://github.com/energywebfoundation/origin/commit/229e68b))
* setup prettier and lint config for Origin UI ([#20](https://github.com/energywebfoundation/origin/issues/20)) ([9cb4486](https://github.com/energywebfoundation/origin/commit/9cb4486))
* Use I-REC asset types across system ([#89](https://github.com/energywebfoundation/origin/issues/89)) ([2a4b45a](https://github.com/energywebfoundation/origin/commit/2a4b45a))
