Skip to content

Commit db2f7fa

Browse files
committed
NEWS: Document 3Box profiles and Arweave tx data
1 parent da1f2f4 commit db2f7fa

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

NEWS.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,46 @@ For more information about the supported operators (like the `&` in the above
5959
query), please refer to the [Postgres
6060
documentation](https://www.postgresql.org/docs/10/textsearch.html).
6161

62+
### Feature: 3Box Profiles (#1574)
63+
64+
[3Box](https://3box.io) has become a popular solution for integrating user
65+
profiles into dApps. Starting with this release, it is possible to fetch profile
66+
data for Ethereum addresses and DIDs. Example usage:
67+
68+
```ts
69+
import { box } from '@graphprotocol/graph-ts'
70+
71+
let profile = box.profile("0xc8d807011058fcc0FB717dcd549b9ced09b53404")
72+
if (profile !== null) {
73+
let name = profile.get("name")
74+
...
75+
}
76+
77+
let profileFromDid = box.profile(
78+
"id:3:bafyreia7db37k7epoc4qaifound6hk7swpwfkhudvdug4bgccjw6dh77ue"
79+
)
80+
...
81+
```
82+
83+
### Feature: Arweave Transaction Data (#1574)
84+
85+
This release enables accessing [Arweave](https://arweave.org) transaction data
86+
using Arweave transaction IDs:
87+
88+
```ts
89+
import { arweave, json } from '@graphprotocol/graph-ts'
90+
91+
let data = arweave.transactionData(
92+
"W2czhcswOAe4TgL4Q8kHHqoZ1jbFBntUCrtamYX_rOU"
93+
)
94+
95+
if (data !== null) {
96+
let data = json.fromBytes(data)
97+
...
98+
}
99+
100+
```
101+
62102
### Feature: Data Source Context (#1404 via #1537)
63103

64104
Data source contexts allow passing extra configuration when creating a data
@@ -137,6 +177,7 @@ export function handleSomeEvent(event: SomeEvent): void {
137177
timeouts out (#1547).
138178
- Fix loading dynamically created data sources with `topic0` event handlers
139179
from the database (#1580).
180+
- Fix handling contract call reverts in newer versions of Ganache (#1591).
140181

141182
### IPFS
142183

@@ -177,6 +218,7 @@ export function handleSomeEvent(event: SomeEvent): void {
177218

178219
### Misc
179220

221+
- Default to IPFS 0.4.23 in the Docker Compose setup (#1592).
180222
- Support Elasticsearch endpoints without HTTP basic auth (#1576).
181223
- Fix `--version` not reporting the current version (#967 via #1567).
182224
- Convert more code to async/await and simplify async logic (#1558, #1560,
@@ -188,6 +230,7 @@ export function handleSomeEvent(event: SomeEvent): void {
188230
- Update to futures 0.3 and tokio 0.2, enabling `async`/`await` (#1448).
189231
- Log block and full transaction hash when handlers fail (#1496).
190232
- Speed up network indexer tests (#1453).
233+
- Fix Travis to always install Node.js 11.x. (#1588).
191234
- Dependency updates: bytes, chrono, crossbeam-channel, ethabi, failure,
192235
futures, hex, hyper, indexmap, jsonrpc-http-server, num-bigint,
193236
priority-queue, reqwest, rust-web3, serde, serde_json, slog-async, slog-term,

0 commit comments

Comments
 (0)