All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
10.0.0 (2021-02-12)
- deps: update dependency @nestjs/config to v0.6.1 (19db13c)
- deps: update dependency @nestjs/passport to v7.1.5 (8e5df18)
- deps: update dependency @nestjs/swagger to v4.7.11 (90a5a0f)
- deps: update dependency @nestjs/swagger to v4.7.12 (990033f)
- deps: update dependency @nestjs/swagger to v4.7.8 (ee20067)
- deps: update dependency @nestjs/swagger to v4.7.9 (a1d5023)
- deps: update dependency @nestjs/typeorm to v7.1.5 (2ebd4a6)
- deps: update dependency class-validator to v0.13.1 (d10cdae)
- deps: update dependency ethers to v5.0.27 (4a152d8)
- deps: update dependency ethers to v5.0.29 (149041b)
- deps: update dependency typeorm to v0.2.30 (7d1311b)
- deps: update dependency uuid to v8.3.2 (6f05397)
- deps: update nest monorepo to v7.6.11 (daee156)
- deps: update nest monorepo to v7.6.4 (97c8e99)
- deps: update nest monorepo to v7.6.5 (614ba6a)
- deps: update nest monorepo to v7.6.7 (18630b7)
- origin-backend: device management moved to separate package (99ce6ef)
- origin-backend: remove Organization reference in Device entity (670b5c0)
- origin-backend: Add new field to the File table with new migration file (b96169f)
- origin-backend: added device created event (a5cbfd6)
- origin-backend: changed country type to iso 3166 aplpha 2 (c65d107)
- origin-backend: Implement download of public documents anonymously and upload of public documents by authenticated users (fe195f2)
- origin-backend: migration to change country type to iso 3166 alpha 2 string. BREAKING CHANGE (fe47983)
- origin-ui-core: changed country type to iso 3166 alpha 2 (de05f6a)
- origin-backend: Device pod has been moved to @energyweb/origin-device-registry-irec-form-api
- origin-backend: Organization not longer returned as a part of Device entity, GET /organization/:id/devices is not longer available
9.0.2 (2020-12-04)
Note: Version bump only for package @energyweb/origin-backend
9.0.1 (2020-11-30)
- origin-backend: fix issue where controller returns empty org invites (79eb3d1)
- add a body definition to all missing @Body() in requests (6afc5a5)
- Make DeviceStatus enum a string (9506209)
9.0.0 (2020-11-20)
- deps: update dependency @nestjs/jwt to v7.2.0 (11c90e6)
- deps: update dependency ethers to v5.0.15 (7205cfd)
- deps: update dependency typeorm to v0.2.28 (8e9a26c)
- deps: update dependency typeorm to v0.2.29 (49232fb)
- deps: update dependency uuid to v8.3.1 (fc2cdf6)
- deps: update nest monorepo to v7.5.2 (adf4996)
- origin-backend: Remove having certificates and certification requests stored in the origin-backend (5388251)
- origin-backend: /certificate and /certification-request endpoints are no longer available in origin-backend. The Configuration entity no longer contains the 'contractsLookup' property
8.0.0 (2020-10-02)
- deps: update dependency @nestjs/typeorm to v7.1.1 (b2253c3)
- deps: update dependency @nestjs/typeorm to v7.1.4 (f0f39d4)
- deps: update dependency typeorm to v0.2.26 (bf1a256)
- deps: update nest monorepo to v7.4.3 (f141326)
- origin-backend: allow issuer role to access evidence documents (ec41f0e)
- origin-backend: change user role after removal from organization (80fa869)
- origin-backend: document ownership query change from IN to multiple queries (80fc9b0)
- origin-backend: filter users table for admin (de0fa95)
- origin-backend: opt-in use of pipes and interceptors (459cfea)
- origin-backend: organization roles should not be able to elevate other users to restricted roles (6e30a89)
- origin-backend: remove meterStats at newlycreated devices (92c8b81)
- origin-backend: serialize data when fetching a single device (2847c4d)
- origin-backend: should not allow to invite users from other organizations (2464ffe)
- origin-backend: smart meter reads and stats serialization (e17d325)
- origin-backend: smart meter reads serialization (87e6143)
- origin-backend: events publisher instead of notification service (658b1bb)
- origin-backend: add invitationClient (7d791cb)
- origin-backend: add return (bc7de0c)
- origin-backend: change email confirmation message (ba5f61c)
- origin-backend: download api. files ownership (f3e2311)
- origin-backend: file upload service (779c44f)
- origin-backend: organization registration documents integration (c18d833)
- origin-backend: refactor Organization into PlatformOrganization and external organizations (cedddc8)
- origin-backend: registration events. organization registration permissions (91f3c47)
- origin-backend: origin-backend no longer is providing default mail sending implementation, intead an events that requires handlers are published
- origin-backend: Organization entity replaced by PlatformOrganization
7.0.2 (2020-08-25)
- origin-backend: invitation acceptation (ca0ebb4)
7.0.1 (2020-08-12)
Note: Version bump only for package @energyweb/origin-backend
7.0.0 (2020-08-10)
- deps: update dependency ethers to v5.0.8 (c69bde0)
- origin-backend: allow non-active user to register organization (b3475a9)
- origin-backend: only active organization can register devices (b7a1c92)
- origin-backend: replace IUserWithRelationIds with IUser (c2f2f8e)
- origin-backend: findOne returns user with full organization object
6.3.0 (2020-08-06)
- deps: update dependency class-transformer to v0.3.1 (e827bbb)
- deps: update dependency rxjs to v6.6.2 (1849e03)
- deps: update dependency uuid to v8.3.0 (f672f9f)
- deps: update nest monorepo to v7.4.2 (241f045)
- origin-ui-core: allow unregistered user get and put intvitaion (bb35fb3)
- origin-ui-core: fix ui test (2e1b9c2)
- origin-ui-core: store org id for non-admin and non-support agent (7498fb4)
- origin-backend: getAll Devices with relations (b644f38)
- origin-backend: optional loadRelationsId of device (ee38568)
- origin-backend: retypify DeviceService.findOne (ee78b2c)
6.2.0 (2020-07-16)
- deps: update dependency @nestjs/jwt to v7.1.0 (3b8864d)
- deps: update nest monorepo to v7.3.2 (875bb1b)
- origin-backend: fix permissions for getting Organizations (6bee114)
- origin-backend: Confirmation Emails - auto-sending emails and confirmation endpoints (0a33d1b)
6.1.0 (2020-07-08)
- deps: update dependency @nestjs/passport to v7.1.0 (2ca9c9f)
- deps: update dependency rxjs to v6.6.0 (851151d)
- deps: update dependency uuid to v8.2.0 (20ea72e)
- deps: update nest monorepo to v7.3.1 (a7777b8)
- exchange: revert fix (b31a318)
- origin-backend: change user status to active (6ba9c20)
- origin-backend: only allow certain users to get user information (4a07737)
- origin-backend: permissioned smart meter reading PUT (54db1ab)
- origin-backend: remove active user check on user/me (764e3e8)
- origin-backend: remove ActiveUserGuard on user/me (219a211)
- origin-backend: approvedDate and revokedDate added to ICertificationRequest (b4ebd19)
- origin-backend: CertificationRequest approved and revoked events (3777847)
6.0.1 (2020-06-16)
Note: Version bump only for package @energyweb/origin-backend
6.0.0 (2020-06-16)
- origin-backend: explicit update (338f65f)
- origin-backend: fix updating device (0e0654c)
- Certification request validation handling (5e0f90b)
- deps: update dependency @nestjs/typeorm to v7.1.0 (960d52b)
- deps: update dependency typeorm to v0.2.25 (d1ce442)
- origin-backend: combine notNull default (d57a048)
- origin-backend: make certification request energy not nullable (dfb8320)
- origin-backend: make files not nullable and default to [] (62100e1)
- origin-backend: make sure files are stored as [] (cc0b799)
- origin-backend: syntax nto null and default (be8486d)
- implement a certification request data queue (78cbd4a)
- remove unused Lead User references (aaae5df)
- Updating organization user roles (c1096f2)
- Lead user is no longer needed to create an organization
5.1.1 (2020-05-29)
- origin-backend: proper auth for getting organization invitations (4d9d5c0)
- change URL to fetch invitations for organization (cc0b238)
- endpoint for fetching invitations for an organization (57e11d9)
- deps: update dependency @nestjs/config to v0.5.0 (e57cb73)
- deps: update dependency uuid to v8 (2342cae)
- deps: update dependency uuid to v8.1.0 (2bcb626)
- deps: update nest monorepo to v7.0.13 (ea1133d)
- deps: update nest monorepo to v7.1.0 (78be769)
- origin-backend: additional types casting (573b27e)
- origin-backend: allow other users to access minimal certification request data (8d310b7)
- origin-backend: deny creating certification requests for non-approved devices (d8d1756)
- certificate tests (923eb7e)
- ownership commitments permissions + store original requestor (1751d30)
5.1.0 (2020-05-15)
- fixate tslib version to 1.11.2 to avoid typeorm issue (274d4e9)
- store [] as the default for device.files (52e5fcc)
- origin-backend: add default to status and kycstatus for user (afc397f)
- origin-backend: add files default (f7a265b)
- origin-backend: add nullable:false to user statuses (090e29b)
- origin-backend: apply ownership to certificate requests (75408ea)
- origin-backend: configuration not being initialized in the tests (2bff1f0)
- origin-backend: don't run watcher service if the Issuer address is incorrect (278bcca)
- origin-backend: fix e2e test checking if certified (b319b2c)
- origin-backend: fix getting certification request (f1d766f)
- origin-backend: fix issues with registering/approving devices (9a5e066)
- origin-backend: migration dropping column (00220b8)
- origin-backend: smReads - calculating if certified or not (2a9a01e)
- add meterStats to Device for un/certified meter readings reference (627d785)
- Detect and store the whole CertificationRequest on the backend (613eb28)
- register Approved and Revoked events (e74afec)
- origin-backend: added automatic post for sale flag, API for updating settings (a871f60)
- origin-backend: price per device asset. initial e2e setup (8479b5e)
5.0.1 (2020-04-24)
- deps: update dependency class-validator to v0.12.1 (b5000af)
- deps: update dependency ts-loader to v7 (722101a)
- deps: update nest monorepo to v7.0.8 (67e8239)
- origin-backend: device update (1cd631b)
- origin-backend: fix init (1306a7e)
- origin-backend: fix storing the smart meter reads (560f1dd)
- origin-backend: registration (dffbf50)
- origin-backend: use repositry.save(enityt) instead of entity.save() (2f34ca0)
- all energy references to BigNumber (9265556)
- bin env for migration scripts (aef836e)
- migration catalog (48209a1)
- migrations path fix (54b4c67)
- store certificate energy as a string (maximum 2^256-1) (2a284a9)
- origin-backend-app: fix inconsistent build process (6795770)
5.0.0 (2020-04-08)
- deps: update dependency @nestjs/config to v0.4.0 (e7ac62d)
- deps: update dependency @nestjs/jwt to v7 (143fb82)
- deps: update dependency @nestjs/passport to v7 (be26821)
- deps: update dependency class-validator to v0.11.1 (5607f1c)
- deps: update dependency rxjs to v6.5.5 (2c19e39)
- origin-backend: fix displaying uploaded files (97bc31c)
- origin-backend: fix saving user settings (04b5361)
- origin-backend: store certificate energy as BigInt (cbaf676)
- origin-ui-core: display notification when users tries to register device without organization (ff4e0a4)
- adjust application to off-chain device registry (a3583fb)
- don't drop schema when run:origin (57ca815)
- enable editing account settings (b058828)
- make ContractsLookup part of Configuration (4fe28c4)
- remove MarketUser from UI (9d15489)
- working exchange integration (49ced59)
- device-registry: remove all off-chain components (d11c834)
- origin-backend: add grid operators (247a179)
- add ability to autogenerate external device ids (822b752)
- add ORGANIZATION_REMOVED_MEMBER and DEVICE_STATUS_CHANGED email notifications (384f90f)
- add posting certificates for sale (84a141a)
- issuer: approval process for private transfers (b285bfd)
- origin-backend: add createdAt and updatedAt to every entity (7aae8c0)
- origin-backend: add findDeviceProductInfo method (a9a380b)
- New CertificationRequest structure + use ContractsLookup instead of MarketContractLookup (cb380c0)
- store energy amount in CertificationRequest (5d756ba)
- support storing OwnershipCommitments off-chain (6586895)
- device-registry: The device registry is now entirely on-chain
4.0.0 (2020-03-16)
- origin-backend: getting lastSmartMeterReading from a device (00cea75)
- store deviceTypes as simple-json (7c330b6)
- deps: update dependency @nestjs/config to v0.3.0 (4cdd97b)
- deps: update dependency ws to v7.2.3 (14b2218)
- fetch all device smart meter readings only on-demand (0708917)
- deps: update dependency ws to v7.2.2 (f04bd68)
- deps: update nest monorepo to v6.11.11 (8d93078)
- add ExternalDeviceIdTypes to OriginConfiguration + unify all configuration items into one db table (1469e32)
- Regions and DeviceTypes in OriginConfiguration are now hard-typed (23a1f29)
- Configuration Client now works differently
3.8.0 (2020-03-02)
- deps: update dependency @nestjs/jwt to v6.1.2 (a8a1d9b)
- deps: update dependency typeorm to v0.2.24 (fb6c68b)
- deps: update nest monorepo to v6.11.8 (2934e78)
- Off-chain smart meter readings (4dfbff0)
3.7.1 (2020-02-17)
Note: Version bump only for package @energyweb/origin-backend
3.7.0 (2020-02-17)
- deps: update dependency @nestjs/config to ^0.2.0 (5f8f814)
- origin-backend: exchange module import (16417a4)
3.6.0 (2020-02-12)
- deps: pin dependencies (2088944)
- origin-backend: .env file location (ae0a812)
- fix demand matching and saving demand partially filled events (6462129)
- exchange: forwarded integration. refactoring (b2d8ac0)
- change certification requests to be off-chain evidence based (555c696)
3.5.0 (2020-02-04)
- deps: update nest monorepo to v6.11.5 (0ddc961)
- add a WebSocket-based event gateway to the backend + create entities for Demand and Device (af703ce)
- email notifications for organization status change, member invitation and removal (a2f0dae)
3.4.0 (2020-01-31)
- deps: update dependency axios to v0.19.1 (40aa752)
- deps: update dependency axios to v0.19.2 (696eb46)
- implement removing user from organization (4c62da9)
- origin-backend: implement organization invitation (b6d6609)
3.3.0 (2020-01-17)
- origin-backend: implement authentication (baa9fea)
3.2.0 (2020-01-07)
- origin-backend: fix uploads directory location (82ddef3)
- complete backend for registering organization (b0dd715)
- origin-backend: add endpoint to save organizations (7382725)
3.1.0 (2019-12-20)
- origin-backend: add possibility to store images (faf0e74)
- origin-backend: add support for storing Country (99e754e)
3.0.0 (2019-12-19)
- origin-backend: Change the way we approach POST methods + add a Compliance endpoint (f7da2d5)
- origin-backend: Changed the way we approach POST methods. Use request body parameters instead of in-URL parameters
2.1.0 (2019-12-17)
- origin-backend: New endpoint: Currency (86b59db)
2.0.0 (2019-12-12)
-
Changed the API endpoints from http://example.url/// to http://example.url////
-
feat(utils-general): use the new URL structure when fetching off-chain data
-
Changed the API endpoints of the backend from http://example.url/// to http://example.url////
-
chore(user-registry): adjust to breaking changes
-
Updated User API endpoints of the backend from http://example.url/// to http://example.url////
-
chore(asset-registry): adjust to breaking changes
-
Updated Asset API endpoints of the backend from http://example.url/// to http://example.url////
-
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/// to http://example.url////
-
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.3.4 (2019-11-26)
1.3.3 (2019-11-11)
- fix yarn clean command (#224) (e07e9d8)
- normalize API urls, fix solar simulator (#228) (aeed701)
- origin-backend: docker deployment fixes (#203) (2fc7fe9)
- origin-backend: prepare for docker setup (#200) (ca363d0)
1.3.2 (2019-10-30)
1.3.1 (2019-10-30)
Note: Version bump only for package @energyweb/origin-backend