Explorar el Código

Ephesus version bump and CHANGELOG update (#111)

Leszek Wiesner hace 1 año
padre
commit
c38601dc08
Se han modificado 3 ficheros con 30 adiciones y 3 borrados
  1. 27 0
      CHANGELOG.md
  2. 2 2
      package-lock.json
  3. 1 1
      package.json

+ 27 - 0
CHANGELOG.md

@@ -1,3 +1,30 @@
+# 2.1.0 (Ephesus release)
+
+### Schema/Query changes:
+- `cumulativeRewardClaimed` field has been added to `Channel`
+- new `event.data` types are now supported:
+    - `ChannelRewardClaimedEventData`
+    - `ChannelRewardClaimedAndWithdrawnEventData`
+    - `ChannelFundsWithdrawnEventData`
+    - `ChannelPayoutsUpdatedEventData`
+    - `ChannelPaymentMadeEventData`
+- New `MetaprotocolTransactionResult` variant: `MetaprotocolTransactionResultChannelPaid`
+- New `DataObjectType` variant: `DataObjectTypeChannelPayoutsPayload`
+
+### Mappings:
+- Added support for handling both pre and post-Ephesus version of the following events updated in Ephesus:
+    - `Members.MemberInvited`
+    - `Members.MemberRemarked`
+- New mappings for the following events:
+    - `Content.ChannelPayoutsUpdated`
+    - `Content.ChannelRewardUpdated`
+    - `Content.ChannelRewardClaimedAndWithdrawn`
+    - `Content.ChannelFundsWithdrawn`
+- Support for new `MemberRemark` metaprotocol transaction type: `makeChannelPayment` (direct channel payment) 
+
+### Bug fixes:
+- Fixed: Events that had a relationship to an auction bid through `data->>'winningBid'` were not properly hidden when the bid was excluded from the visible data thorugh `excludeContent` functionality. This was causing errors such as `Cannot return null for non-nullable field OpenAuctionBidAcceptedEventData.winningBid` when querying for `OpenAuctionBidAcceptedEventData` events.
+
 # 2.0.0
 
 Orion v2 is a major architecture change compared to Orion v1:

+ 2 - 2
package-lock.json

@@ -1,12 +1,12 @@
 {
   "name": "orion",
-  "version": "2.0.0",
+  "version": "2.1.0",
   "lockfileVersion": 2,
   "requires": true,
   "packages": {
     "": {
       "name": "orion",
-      "version": "2.0.0",
+      "version": "2.1.0",
       "hasInstallScript": true,
       "dependencies": {
         "@joystream/js": "^1.4.0",

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "orion",
-  "version": "2.0.0",
+  "version": "2.1.0",
   "engines": {
     "node": ">=16"
   },