Releases: ethersphere/swarm-extension
swarm-extension: v0.7.1
swarm-library: v0.7.0
0.7.0 (2022-11-18)
Since manifest v2 extensions won't be allowed from June 2023, the Swarm Extension now supports manifest v3. But that brings some limitations,
including that the swarm
object won't be injected into dApp pages.
Instead each dApp should include the Swarm Extension Library into its code to comunicate with the extension.
The library supports all legacy methods of the swarm
object.
The methods can be accessed by instantiating the Swarm class of the library.
It got two new methods:
echo
: checking whether the user has Swarm Extension installed.register
: because the sessionId registration was done by the injected script, the applications integrated with the extension have to callregister
manually in order to use the swarm instance related functionalities.
The Swarm HTML elements was configured automatically with manifest-v2 but now the applications must include the corresponding HTML definitions from the library before rendering any Swarm HTML elements.
Features
swarm-extension: v0.7.0
0.7.0 (2022-11-18)
Since manifest v2 extensions won't be allowed from June 2023, the Swarm Extension now supports manifest v3. But that brings some limitations, not present in v2. Here are the key changes in v3:
- The
swarm
object won't be injected into dApp pages. Instead each dApp should include the Swarm Extension Library into its code to comunicate with the extension. - Blocking interceptors are not allowed in manifest v3, so the new implementation uses the Declarative Network Request API. This requirement prevents the extension from checking session ID for fake URL requests. That means the extension cannot check the security context of the links that are being accessed.
- If bee URL is set to
localhost
, then links are redirected to subdomain based bee URLs. For example, trying to access thebzz://site.eth
URL will result in accessing thehttp://site.swarm.localhost:1633/
URL.
Features
v0.6.0
0.6.0 (2022-10-04)
The bzz.link and bzz:// URLs will be redirected to the http://{cid}.localhost:{port} address in case of locally running Bee node.
It allows to leverage the basic security context handling on subdomains for dApps that does not require sandbox rendering anymore.
The Bee Dashboard recently released a new version that again supports running in browser environment.
Because of that, this dependency has been updated in Swarm Extension that fixes some of the problems with older version.
Features
Bug Fixes
v0.5.0
v0.4.0
v0.3.1
@ethersphere/swarm-extension v0.3.0
Features
- add extension hot reload (097565c)
- bee dashboard integration (#74) (eb7ca96)
- bee dashboard v0.12 (#88) (51dcac8)
- bzz protocol (#1) (8cc52ca)
- bzz.link (#51) (a8a1618)
- changable bee address (#9) (8a5dc40)
- cross-domain local storage (#43) (b2eacc0)
- csp header (#47) (570e283)
- dapp session id registration (#26) (9adbf14)
- fake url (#22) (6bedf5b)
- global postage stamp (#40) (40bddab)
- let's roll! (b8e552d)
- messaging (#16) (fb49955)
- new bzz link cid format (#81) (570edb5)
- postage batch on debug (#69) (273a4fb)
- session id handling (#37) (4af7a83)
- swarm html (#29) (5002d14)
- upgraded extension design (#84) (b2363ae)
Bug Fixes
- add ExtraActionsPlugin everywhere (dc5dc3c)
- fix cross platform replace (14cc869)
- fix too early initialization of bee dashboard component (#95) (#99) (9ac1146)
- hot-reload and compiling (#31) (028f1e7)
- reinit global postage batch at bee api change (#58) (7e1ef6c)
- remove compile types and fix declaration file ref (#19) (c0563fd)
- swarm.localStorage mimics window.localStorage with null and undefined set (#72) (700ac0c)