Js-ipfs: repo doesn't persist in browser on upgrade from v0.38.1 to v0.39.0

Created on 24 Nov 2019  路  3Comments  路  Source: ipfs/js-ipfs

  • Version: js-ipfs 0.38.1 and 0.39.0
  • Platform: latest Firefox and Brave (Chromium)
  • Subsystem: js-ipfs

Type: Bug

Severity: high

Description:

default repo doesn't persist in browser when you upgrade from v0.38.1 to v0.39.0

this is a big problem for serverless apps where the browser is the only place user data is stored :P

Steps to reproduce the error:

clone this repo and follow the simple three step readme: https://github.com/npfoss/js-ipfs-bug-2

P0 dieasy kinbug statuready

Most helpful comment

The defaults passed to level-js changed with the upgrade to level so a few changes need to be made:

All 3 comments

Screenshot 2019-11-25 at 09 16 29

Looks like between the two versions the level datastores gained a "level-js-" prefix.

@achingbrain do you have a sec to look into this?

The defaults passed to level-js changed with the upgrade to level so a few changes need to be made:

fixed in 0.39.1 and 0.40.0

Was this page helpful?
0 / 5 - 0 ratings