Skip to content

Releases: oddsdk/ts-odd

Release 0.37.0

11 Apr 17:04
1791b3e
Compare
Choose a tag to compare

What's Changed

  • Bump undici from 5.12.0 to 5.19.1 by @dependabot in #497
  • Add browser extension support by @bgins in #504
  • Move events onto top-level program and rename them. For example, the local-change is now fileSystem:local-change. @bgins in #504
  • Add session create and destroy events. @bgins in #504
  • Rename webnative to odd by @bgins in #506

Full Changelog: 0.36.3...0.37.0

Release 0.36.3

17 Feb 14:50
6cb082e
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.36.2...0.36.3

Release 0.36.2

07 Feb 15:07
cbbdb5d
Compare
Choose a tag to compare

What's Changed

  • Allow symlinks to other file systems to be created by @icidasset in #490

Full Changelog: 0.36.1...0.36.2

Release 0.36.1

03 Feb 19:08
d0ecd0a
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.36.0...0.36.1

Release 0.36.0

02 Feb 18:00
0e32247
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.35.2...0.36.0

Release 0.35.2

06 Jan 17:07
730d8e1
Compare
Choose a tag to compare

Changelog

Fixes issue with the types of the path.appData function. Now has the correct overloads.

Release 0.35.1

06 Jan 10:12
182a815
Compare
Choose a tag to compare

Changelog

  • Fixes waitForRootDid retry issues. The function did not make enough attempts nor did it make them frequently enough.
  • Moves shareLink function to common/fission for reachability.
  • Improve capabilities documentation.

Release 0.35.0

06 Jan 10:10
6d1acf6
Compare
Choose a tag to compare

Full rewrite of webnative. 🎉

Components

We've moved to a component system to make webnative more customizable and indepent of Fission infrastructure. The system removes all global state, avoiding bundler issues. We previously had dependency injection; this is basically more of the same without global state.

The documentation should give you some information on how the various components fit together. If you want to write implementations for a component, see the directories in src/components (or the lib folder). All existing components have been expanded and refactored, and we've introduced the following:

  • Introduction of a depot component: All IPFS functionality has been moved into here. Can now be swapped out with something else. Note that webnative still uses CIDs & IPLD.
  • Introduction of a reference component: Data root lookups & updating, DID root lookups, DNS and various repositories (cid log & UCANs) have been moved in here.
  • Introduction of a manners component: Debug functionality has moved to here.
  • Introduction of a capabilities components: Responsible for accepting UCANs and filesystem secrets from external sources (eg. Fission Lobby)

Improvements

  • The program function now serves as the single entrypoint. You can customise all components and configuration via this function. It'll give you a Program with possibly a Session (and many other things) instead of the State we had before. Basically, when you get a session you're "logged in", otherwise you're not.
  • Webnative can now have many apps run on the same domain without any conflicts. This should help a lot when developing apps on the same localhost port. All storage and filesystems are namespaced by default.
  • When loading a filesystem the data root is tried multiple times (to get around the DNS issue)
  • Multiple filesystems can be loaded at the same time (conflicts with identifiers have been resolved), which allows for a temporary filesystem (progressive login).

(Re)moved

  • Removal of various confusing filesystem parameters, all data and read keys are Uint8Arrays now.
  • Removal of the webnative.initialise, app and permissionedApp functions. These have been replaced by the program function mentioned above.
  • Removal of the fs.appPath function, replaced with the appData function located in the path module.
  • Removal of the fs.addPublicExchangeKey and fs.hasPublicExchangeKey functions, replaced with non-class-instance functions located in fs/data.js.

Release 0.34.2

19 Sep 11:24
e9e71a4
Compare
Choose a tag to compare

Changelog

  • Bugfixes 🐛
    • Fixes LinkError: import object field '__wbg_putBlock_88cdb3be9020efb7' is not a Function when loading WASM.

PRs

Full Changelog: 0.34.1...0.34.2

0.34.1

29 Aug 15:11
01b57e2
Compare
Choose a tag to compare

Changelog

  • Bugfixes 🐛
    • Fixes dependency-injected lookupDnsLink function
    • Fixes an issue with IPFS peer-list storage
    • Removes Vite warning caused by a dynamic import

PRs

Full Changelog: 0.34.0...0.34.1