forked from dfinity/agent-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchangelog.html
73 lines (72 loc) · 2.48 KB
/
changelog.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Changelog</title>
</head>
<body>
<h1>Agent-JS Changelog</h1>
<section>
<h2>Version 0.10.2</h2>
<ul>
<li>
Security enhancement - adds a rewrite for urls to subdomains of
<pre>*.ic0.app/api</pre>
to
<pre>ic0.app/api</pre>
</li>
<li>Improves error messages for when HttpAgent cannot infer fetch implementation</li>
</ul>
<h2>Version 0.10.1</h2>
<ul>
<li>
Fix for the auth-client identity option and added JSDOC comment for the timeToLive option
</li>
<li>
Sets the default Internet Identity expiration to 1 day for the authClient, up from 15
minutes
</li>
<li>
No longer checks instanceof Principal in @dfinity/agent, which should allow non-identical
versions of packages to interoperate, as long as they share the same API
</li>
</ul>
<h2>Version 0.10.0</h2>
<ul>
<li>Adds changelog for agent-js packages</li>
<li>
Buffer and Pipe refactor
<ul>
<li>
In previous versions of dfinity packages, we relied on Buffer, a polyfilled version of
the Node.js Buffer utility. In a significant refactor, we have removed all cases of
this, along with Pipe and the nonstandard Blob packages, in favor of ArrayBuffer,
Uint8Array, and DataView
</li>
<li>Utility methods such as <code>blobToUint8Array</code> have been removed.</li>
<li>
Interfaces that relied on Buffer and related packages have been updated to accept
ArrayBuffer, and the type interfaces are updated to reflect this
</li>
</ul>
</li>
<li>
Secp256k1 Support
<ul>
<li>
Adds two new exports to @dfinity/identity - Secp256k1KeyIdentity and
Secp256k1PublicKey
</li>
<li>
API mirrors the ed25519 components, and relies on the
<a href="https://www.npmjs.com/package/secp256k1">secp256k1</a> npm package for
signing and verification.
</li>
</ul>
</li>
</ul>
</section>
</body>
</html>