Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ipfs/js-stores
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 88363b0361358e27676263430da496482925d2cf
Choose a base ref
...
head repository: ipfs/js-stores
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6d0043cceaab83a6065d5a287b24394db6db2473
Choose a head ref
Loading
Showing with 11,919 additions and 1,194 deletions.
  1. +49 −11 .github/workflows/js-test-and-release.yml
  2. +2 −0 .gitignore
  3. +17 −16 README.md
  4. +7 −7 package.json
  5. +104 −0 packages/blockstore-core/CHANGELOG.md
  6. +4 −0 packages/blockstore-core/LICENSE
  7. +5 −0 packages/blockstore-core/LICENSE-APACHE
  8. +19 −0 packages/blockstore-core/LICENSE-MIT
  9. +94 −0 packages/blockstore-core/README.md
  10. +186 −0 packages/blockstore-core/package.json
  11. +51 −0 packages/blockstore-core/src/base.ts
  12. +41 −0 packages/blockstore-core/src/errors.ts
  13. +8 −0 packages/blockstore-core/src/index.ts
  14. +51 −0 packages/blockstore-core/src/memory.ts
  15. +15 −0 packages/blockstore-core/test/memory.spec.ts
  16. +21 −0 packages/blockstore-core/tsconfig.json
  17. +38 −0 packages/blockstore-fs/CHANGELOG.md
  18. +4 −0 packages/blockstore-fs/LICENSE
  19. +5 −0 packages/blockstore-fs/LICENSE-APACHE
  20. +19 −0 packages/blockstore-fs/LICENSE-MIT
  21. +53 −0 packages/blockstore-fs/README.md
  22. +18 −0 packages/blockstore-fs/benchmarks/encoding/package.json
  23. +31 −0 packages/blockstore-fs/benchmarks/encoding/src/README.md
  24. +73 −0 packages/blockstore-fs/benchmarks/encoding/src/index.ts
  25. +13 −0 packages/blockstore-fs/benchmarks/encoding/tsconfig.json
  26. +182 −0 packages/blockstore-fs/package.json
  27. +254 −0 packages/blockstore-fs/src/index.ts
  28. +117 −0 packages/blockstore-fs/src/sharding.ts
  29. +161 −0 packages/blockstore-fs/test/index.spec.ts
  30. +109 −0 packages/blockstore-fs/test/sharding.spec.ts
  31. +24 −0 packages/blockstore-fs/tsconfig.json
  32. +27 −0 packages/blockstore-idb/CHANGELOG.md
  33. +4 −0 packages/blockstore-idb/LICENSE
  34. +5 −0 packages/blockstore-idb/LICENSE-APACHE
  35. +19 −0 packages/blockstore-idb/LICENSE-MIT
  36. +53 −0 packages/blockstore-idb/README.md
  37. +158 −0 packages/blockstore-idb/package.json
  38. +148 −0 packages/blockstore-idb/src/index.ts
  39. +89 −0 packages/blockstore-idb/test/index.spec.ts
  40. +24 −0 packages/blockstore-idb/tsconfig.json
  41. +6 −0 packages/blockstore-level/.aegir.js
  42. +26 −0 packages/blockstore-level/CHANGELOG.md
  43. +4 −0 packages/blockstore-level/LICENSE
  44. +5 −0 packages/blockstore-level/LICENSE-APACHE
  45. +19 −0 packages/blockstore-level/LICENSE-MIT
  46. +53 −0 packages/blockstore-level/README.md
  47. +163 −0 packages/blockstore-level/package.json
  48. +146 −0 packages/blockstore-level/src/index.ts
  49. +17 −0 packages/blockstore-level/test/fixtures/test-level-iterator-destroy.ts
  50. +63 −0 packages/blockstore-level/test/index.spec.ts
  51. +52 −0 packages/blockstore-level/test/node.ts
  52. +24 −0 packages/blockstore-level/tsconfig.json
  53. +266 −0 packages/blockstore-s3/CHANGELOG.md
  54. +4 −0 packages/blockstore-s3/LICENSE
  55. +5 −0 packages/blockstore-s3/LICENSE-APACHE
  56. +19 −0 packages/blockstore-s3/LICENSE-MIT
  57. +79 −0 packages/blockstore-s3/README.md
  58. +25 −0 packages/blockstore-s3/examples/helia/README.md
  59. +55 −0 packages/blockstore-s3/examples/helia/index.js
  60. +19 −0 packages/blockstore-s3/examples/helia/package.json
  61. +163 −0 packages/blockstore-s3/package.json
  62. +251 −0 packages/blockstore-s3/src/index.ts
  63. +118 −0 packages/blockstore-s3/src/sharding.ts
  64. +183 −0 packages/blockstore-s3/test/index.spec.ts
  65. +87 −0 packages/blockstore-s3/test/utils/s3-mock.ts
  66. +24 −0 packages/blockstore-s3/tsconfig.json
  67. +343 −0 packages/datastore-core/CHANGELOG.md
  68. +4 −0 packages/datastore-core/LICENSE
  69. +5 −0 packages/datastore-core/LICENSE-APACHE
  70. +19 −0 packages/datastore-core/LICENSE-MIT
  71. +115 −0 packages/datastore-core/README.md
  72. +219 −0 packages/datastore-core/package.json
  73. +144 −0 packages/datastore-core/src/base.ts
  74. +31 −0 packages/datastore-core/src/errors.ts
  75. +28 −0 packages/datastore-core/src/index.ts
  76. +181 −0 packages/datastore-core/src/keytransform.ts
  77. +51 −0 packages/datastore-core/src/memory.ts
  78. +153 −0 packages/datastore-core/src/mount.ts
  79. +32 −0 packages/datastore-core/src/namespace.ts
  80. +115 −0 packages/datastore-core/src/shard.ts
  81. +142 −0 packages/datastore-core/src/sharding.ts
  82. +153 −0 packages/datastore-core/src/tiered.ts
  83. +5 −0 packages/datastore-core/src/utils.ts
  84. +52 −0 packages/datastore-core/test/keytransform.spec.ts
  85. +15 −0 packages/datastore-core/test/memory.spec.ts
  86. +137 −0 packages/datastore-core/test/mount.spec.ts
  87. +58 −0 packages/datastore-core/test/namespace.spec.ts
  88. +103 −0 packages/datastore-core/test/shard.spec.ts
  89. +65 −0 packages/datastore-core/test/sharding.spec.ts
  90. +72 −0 packages/datastore-core/test/tiered.spec.ts
  91. +20 −0 packages/datastore-core/test/utils.spec.ts
  92. +21 −0 packages/datastore-core/tsconfig.json
  93. +302 −0 packages/datastore-fs/CHANGELOG.md
  94. +4 −0 packages/datastore-fs/LICENSE
  95. +5 −0 packages/datastore-fs/LICENSE-APACHE
  96. +19 −0 packages/datastore-fs/LICENSE-MIT
  97. +53 −0 packages/datastore-fs/README.md
  98. +160 −0 packages/datastore-fs/package.json
  99. +285 −0 packages/datastore-fs/src/index.ts
  100. +173 −0 packages/datastore-fs/test/index.spec.ts
  101. +24 −0 packages/datastore-fs/tsconfig.json
  102. +3 −0 packages/datastore-idb/.aegir.js
  103. +253 −0 packages/datastore-idb/CHANGELOG.md
  104. +4 −0 packages/datastore-idb/LICENSE
  105. +5 −0 packages/datastore-idb/LICENSE-APACHE
  106. +19 −0 packages/datastore-idb/LICENSE-MIT
  107. +53 −0 packages/datastore-idb/README.md
  108. +21 −0 packages/datastore-idb/benchmark/datastore-level/package.json
  109. +161 −0 packages/datastore-idb/benchmark/datastore-level/src/index.ts
  110. +13 −0 packages/datastore-idb/benchmark/datastore-level/tsconfig.json
  111. +160 −0 packages/datastore-idb/package.json
  112. +230 −0 packages/datastore-idb/src/index.ts
  113. +124 −0 packages/datastore-idb/test/index.spec.ts
  114. +21 −0 packages/datastore-idb/tsconfig.json
  115. +6 −0 packages/datastore-level/.aegir.js
  116. +375 −0 packages/datastore-level/CHANGELOG.md
  117. +4 −0 packages/datastore-level/LICENSE
  118. +5 −0 packages/datastore-level/LICENSE-APACHE
  119. +19 −0 packages/datastore-level/LICENSE-MIT
  120. +94 −0 packages/datastore-level/README.md
  121. +165 −0 packages/datastore-level/package.json
  122. +263 −0 packages/datastore-level/src/index.ts
  123. +33 −0 packages/datastore-level/test/browser.ts
  124. +17 −0 packages/datastore-level/test/fixtures/test-level-iterator-destroy.ts
  125. +63 −0 packages/datastore-level/test/index.spec.ts
  126. +77 −0 packages/datastore-level/test/node.ts
  127. +21 −0 packages/datastore-level/tsconfig.json
  128. +241 −0 packages/datastore-s3/CHANGELOG.md
  129. +4 −0 packages/datastore-s3/LICENSE
  130. +5 −0 packages/datastore-s3/LICENSE-APACHE
  131. +19 −0 packages/datastore-s3/LICENSE-MIT
  132. +79 −0 packages/datastore-s3/README.md
  133. +25 −0 packages/datastore-s3/examples/helia/README.md
  134. +55 −0 packages/datastore-s3/examples/helia/index.js
  135. +19 −0 packages/datastore-s3/examples/helia/package.json
  136. +163 −0 packages/datastore-s3/package.json
  137. +290 −0 packages/datastore-s3/src/index.ts
  138. +226 −0 packages/datastore-s3/test/index.spec.ts
  139. +87 −0 packages/datastore-s3/test/utils/s3-mock.ts
  140. +24 −0 packages/datastore-s3/tsconfig.json
  141. +92 −0 packages/interface-blockstore-tests/CHANGELOG.md
  142. +5 −12 packages/interface-blockstore-tests/README.md
  143. +13 −28 packages/interface-blockstore-tests/package.json
  144. +0 −637 packages/interface-blockstore-tests/src/index.js
  145. +288 −0 packages/interface-blockstore-tests/src/index.ts
  146. +1 −2 packages/interface-blockstore-tests/tsconfig.json
  147. +77 −0 packages/interface-blockstore/CHANGELOG.md
  148. +5 −14 packages/interface-blockstore/README.md
  149. +8 −8 packages/interface-blockstore/package.json
  150. +28 −51 packages/interface-blockstore/src/index.ts
  151. +74 −0 packages/interface-datastore-tests/CHANGELOG.md
  152. +5 −12 packages/interface-datastore-tests/README.md
  153. +14 −27 packages/interface-datastore-tests/package.json
  154. +70 −155 packages/interface-datastore-tests/src/{index.js → index.ts}
  155. +1 −2 packages/interface-datastore-tests/tsconfig.json
  156. +75 −0 packages/interface-datastore/CHANGELOG.md
  157. +5 −12 packages/interface-datastore/README.md
  158. +7 −7 packages/interface-datastore/package.json
  159. +84 −39 packages/interface-datastore/src/index.ts
  160. +1 −2 packages/interface-datastore/src/key.ts
  161. +4 −14 packages/interface-datastore/test/key.spec.ts
  162. +74 −0 packages/interface-store/CHANGELOG.md
  163. +5 −14 packages/interface-store/README.md
  164. +6 −6 packages/interface-store/package.json
  165. +45 −118 packages/interface-store/src/index.ts
60 changes: 49 additions & 11 deletions .github/workflows/js-test-and-release.yml
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ name: test & maybe release
on:
push:
branches:
- master # with #262 - ${{{ github.default_branch }}}
- main
pull_request:

jobs:
@@ -36,7 +36,7 @@ jobs:
node-version: ${{ matrix.node }}
- uses: ipfs/aegir/actions/cache-node-modules@master
- run: npm run --if-present test:node
- uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0
- uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1
with:
flags: node

@@ -50,7 +50,7 @@ jobs:
node-version: lts/*
- uses: ipfs/aegir/actions/cache-node-modules@master
- run: npm run --if-present test:chrome
- uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0
- uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1
with:
flags: chrome

@@ -64,7 +64,7 @@ jobs:
node-version: lts/*
- uses: ipfs/aegir/actions/cache-node-modules@master
- run: npm run --if-present test:chrome-webworker
- uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0
- uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1
with:
flags: chrome-webworker

@@ -78,7 +78,7 @@ jobs:
node-version: lts/*
- uses: ipfs/aegir/actions/cache-node-modules@master
- run: npm run --if-present test:firefox
- uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0
- uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1
with:
flags: firefox

@@ -92,10 +92,48 @@ jobs:
node-version: lts/*
- uses: ipfs/aegir/actions/cache-node-modules@master
- run: npm run --if-present test:firefox-webworker
- uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0
- uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1
with:
flags: firefox-webworker

test-webkit:
needs: check
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
node: [lts/*]
fail-fast: true
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts/*
- uses: ipfs/aegir/actions/cache-node-modules@master
- run: npm run --if-present test:webkit
- uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1
with:
flags: webkit

test-webkit-webworker:
needs: check
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
node: [lts/*]
fail-fast: true
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts/*
- uses: ipfs/aegir/actions/cache-node-modules@master
- run: npm run --if-present test:webkit-webworker
- uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1
with:
flags: webkit-webworker

test-electron-main:
needs: check
runs-on: ubuntu-latest
@@ -106,7 +144,7 @@ jobs:
node-version: lts/*
- uses: ipfs/aegir/actions/cache-node-modules@master
- run: npx xvfb-maybe npm run --if-present test:electron-main
- uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0
- uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1
with:
flags: electron-main

@@ -120,14 +158,14 @@ jobs:
node-version: lts/*
- uses: ipfs/aegir/actions/cache-node-modules@master
- run: npx xvfb-maybe npm run --if-present test:electron-renderer
- uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0
- uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1
with:
flags: electron-renderer

release:
needs: [test-node, test-chrome, test-chrome-webworker, test-firefox, test-firefox-webworker, test-electron-main, test-electron-renderer]
needs: [test-node, test-chrome, test-chrome-webworker, test-firefox, test-firefox-webworker, test-webkit, test-webkit-webworker, test-electron-main, test-electron-renderer]
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/master' # with #262 - 'refs/heads/${{{ github.default_branch }}}'
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v3
with:
@@ -142,5 +180,5 @@ jobs:
docker-username: ${{ secrets.DOCKER_USERNAME }}
- run: npm run --if-present release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.UCI_GITHUB_TOKEN || github.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
node_modules
build
dist
.docs
.coverage
node_modules
package-lock.json
yarn.lock
.vscode
33 changes: 17 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,32 @@
# ipfs-interfaces <!-- omit in toc -->
# stores <!-- omit in toc -->

[![ipfs.tech](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](https://ipfs.tech)
[![Discuss](https://img.shields.io/discourse/https/discuss.ipfs.tech/posts.svg?style=flat-square)](https://discuss.ipfs.tech)
[![codecov](https://img.shields.io/codecov/c/github/ipfs/js-ipfs-interfaces.svg?style=flat-square)](https://codecov.io/gh/ipfs/js-ipfs-interfaces)
[![CI](https://img.shields.io/github/actions/workflow/status/ipfs/js-ipfs-interfaces/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/ipfs/js-ipfs-interfaces/actions/workflows/js-test-and-release.yml?query=branch%3Amaster)
[![codecov](https://img.shields.io/codecov/c/github/ipfs/js-stores.svg?style=flat-square)](https://codecov.io/gh/ipfs/js-stores)
[![CI](https://img.shields.io/github/actions/workflow/status/ipfs/js-stores/js-test-and-release.yml?branch=main\&style=flat-square)](https://github.com/ipfs/js-stores/actions/workflows/js-test-and-release.yml?query=branch%3Amain)

> TypeScript interfaces used by IPFS internals
> Blockstores and datastores used by IP-JS internals
## Table of contents <!-- omit in toc -->

- [Structure](#structure)
- [Packages](#packages)
- [Contribute](#contribute)
- [API Docs](#api-docs)
- [License](#license)
- [Contribute](#contribute-1)
- [Contribute](#contribute)

## Structure

- [`/packages/blockstore-core`](./packages/blockstore-core) Contains various implementations of the API contract described in interface-blockstore
- [`/packages/blockstore-fs`](./packages/blockstore-fs) Blockstore implementation with file system backend
- [`/packages/blockstore-idb`](./packages/blockstore-idb) Blockstore implementation with IndexedDB backend
- [`/packages/blockstore-level`](./packages/blockstore-level) Blockstore implementation with level(up|down) backend
- [`/packages/blockstore-s3`](./packages/blockstore-s3) IPFS blockstore implementation backed by s3
- [`/packages/datastore-core`](./packages/datastore-core) Wrapper implementation for interface-datastore
- [`/packages/datastore-fs`](./packages/datastore-fs) Datastore implementation with file system backend
- [`/packages/datastore-idb`](./packages/datastore-idb) Datastore implementation with IndexedDB backend.
- [`/packages/datastore-level`](./packages/datastore-level) Datastore implementation with level(up|down) backend
- [`/packages/datastore-s3`](./packages/datastore-s3) IPFS datastore implementation backed by s3
- [`/packages/interface-blockstore`](./packages/interface-blockstore) An interface for storing and retrieving blocks
- [`/packages/interface-blockstore-tests`](./packages/interface-blockstore-tests) Compliance tests for the blockstore interface
- [`/packages/interface-datastore`](./packages/interface-datastore) datastore interface
@@ -28,17 +37,9 @@

See the [./packages](./packages) directory for the various interfaces.

## Contribute

Feel free to join in. All welcome. Open an [issue](https://github.com/ipfs/js-ipfs-bitswap/issues)!

This repository falls under the IPFS [Code of Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md).

[![](https://cdn.rawgit.com/jbenet/contribute-ipfs-gif/master/img/contribute.gif)](https://github.com/ipfs/community/blob/master/CONTRIBUTING.md)

## API Docs

- <https://ipfs.github.io/js-ipfs-interfaces>
- <https://ipfs.github.io/js-stores>

## License

@@ -49,7 +50,7 @@ Licensed under either of

## Contribute

Contributions welcome! Please check out [the issues](https://github.com/ipfs/js-ipfs-interfaces/issues).
Contributions welcome! Please check out [the issues](https://github.com/ipfs/js-stores/issues).

Also see our [contributing document](https://github.com/ipfs/community/blob/master/CONTRIBUTING_JS.md) for more information on how we work, and about contributing in general.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "ipfs-interfaces",
"name": "stores",
"version": "1.0.0",
"description": "TypeScript interfaces used by IPFS internals",
"description": "Blockstores and datastores used by IP-JS internals",
"license": "Apache-2.0 OR MIT",
"homepage": "https://github.com/ipfs/js-ipfs-interfaces#readme",
"homepage": "https://github.com/ipfs/js-stores#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/ipfs/js-ipfs-interfaces.git"
"url": "git+https://github.com/ipfs/js-stores.git"
},
"bugs": {
"url": "https://github.com/ipfs/js-ipfs-interfaces/issues"
"url": "https://github.com/ipfs/js-stores/issues"
},
"engines": {
"node": ">=16.0.0",
@@ -34,8 +34,8 @@
"dep-check": "aegir run dep-check",
"release": "npm run docs:no-publish && aegir run release && npm run docs"
},
"dependencies": {
"aegir": "^37.9.0"
"devDependencies": {
"aegir": "^39.0.9"
},
"workspaces": [
"packages/*"
104 changes: 104 additions & 0 deletions packages/blockstore-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
## [blockstore-core-v4.1.0](https://github.com/ipfs/js-stores/compare/blockstore-core-v4.0.2...blockstore-core-v4.1.0) (2023-03-23)


### Features

* add all blockstore and datastore implementations ([#197](https://github.com/ipfs/js-stores/issues/197)) ([0d85128](https://github.com/ipfs/js-stores/commit/0d851286d48c357b07df3f7419c1e903ed0e7fac))

## [4.0.2](https://github.com/ipfs/js-blockstore-core/compare/v4.0.1...v4.0.2) (2023-03-23)


### Dependencies

* update interface-store to 5.x.x ([#74](https://github.com/ipfs/js-blockstore-core/issues/74)) ([32e0e52](https://github.com/ipfs/js-blockstore-core/commit/32e0e52e87c1ec9c245edeec20b3df369d479034))

## [4.0.1](https://github.com/ipfs/js-blockstore-core/compare/v4.0.0...v4.0.1) (2023-03-14)


### Bug Fixes

* add errors for get and has failed ([#71](https://github.com/ipfs/js-blockstore-core/issues/71)) ([cd990dd](https://github.com/ipfs/js-blockstore-core/commit/cd990dd6ebd4cb0d399b225e501365a3b8653f67))

## [4.0.0](https://github.com/ipfs/js-blockstore-core/compare/v3.0.0...v4.0.0) (2023-03-13)


### ⚠ BREAKING CHANGES

* `interface-blockstore@5` removes query/batch methods and adds getAll

### Features

* update to latest blockstore interface ([#70](https://github.com/ipfs/js-blockstore-core/issues/70)) ([273397d](https://github.com/ipfs/js-blockstore-core/commit/273397d7fca96db8cf95afc07ed0ea1a7d4239f3))

## [3.0.0](https://github.com/ipfs/js-blockstore-core/compare/v2.0.2...v3.0.0) (2023-01-06)


### ⚠ BREAKING CHANGES

* update blockstore deps (#59)

### Dependencies

* update blockstore deps ([#59](https://github.com/ipfs/js-blockstore-core/issues/59)) ([0299bf5](https://github.com/ipfs/js-blockstore-core/commit/0299bf558bc7f2ff3d63ce69a4dee55775f4389a))

## [2.0.2](https://github.com/ipfs/js-blockstore-core/compare/v2.0.1...v2.0.2) (2022-10-14)


### Dependencies

* bump multiformats from 9.9.0 to 10.0.0 ([#49](https://github.com/ipfs/js-blockstore-core/issues/49)) ([65b9c3f](https://github.com/ipfs/js-blockstore-core/commit/65b9c3ffeb0d1db1e13ee31104cf693aece9fc28))

## [2.0.1](https://github.com/ipfs/js-blockstore-core/compare/v2.0.0...v2.0.1) (2022-08-13)


### Dependencies

* bump interface-blockstore from 2.0.3 to 3.0.0 ([#41](https://github.com/ipfs/js-blockstore-core/issues/41)) ([be1323a](https://github.com/ipfs/js-blockstore-core/commit/be1323a7c4f6deb9d19163c3f6d3ecd57296a25c))
* bump interface-store from 2.0.2 to 3.0.0 ([#42](https://github.com/ipfs/js-blockstore-core/issues/42)) ([54caf74](https://github.com/ipfs/js-blockstore-core/commit/54caf748cf4277abb7f82a1eefb91bd48141c307))
* **dev:** bump interface-blockstore-tests from 2.0.4 to 3.0.0 ([#44](https://github.com/ipfs/js-blockstore-core/issues/44)) ([232033d](https://github.com/ipfs/js-blockstore-core/commit/232033db6a8204e2852d4ad29e6d4ff8d1c9a685))

## [2.0.0](https://github.com/ipfs/js-blockstore-core/compare/v1.0.5...v2.0.0) (2022-08-13)


### ⚠ BREAKING CHANGES

* this module is now ESM-only

### Features

* publish as ESM-only ([#45](https://github.com/ipfs/js-blockstore-core/issues/45)) ([01009f6](https://github.com/ipfs/js-blockstore-core/commit/01009f683bbc8b50c202919c448dc0d4cbb86249))


### Trivial Changes

* Update .github/workflows/stale.yml [skip ci] ([9e7d0d6](https://github.com/ipfs/js-blockstore-core/commit/9e7d0d6a2e2900b7739a956c371a3a0dcb623f92))

### [1.0.5](https://github.com/ipfs/js-blockstore-core/compare/v1.0.4...v1.0.5) (2022-01-07)


### Bug Fixes

* add semantic release config ([#13](https://github.com/ipfs/js-blockstore-core/issues/13)) ([de1e758](https://github.com/ipfs/js-blockstore-core/commit/de1e758decc2af2ec5e85e99c9b05d2110ade86f))

## [1.0.2](https://github.com/ipfs/js-blockstore-core/compare/v1.0.1...v1.0.2) (2021-09-09)



## [1.0.1](https://github.com/ipfs/js-blockstore-core/compare/v1.0.0...v1.0.1) (2021-09-09)



# [1.0.0](https://github.com/ipfs/js-blockstore-core/compare/v0.0.2...v1.0.0) (2021-09-09)



## [0.0.2](https://github.com/ipfs/js-blockstore-core/compare/v0.0.1...v0.0.2) (2021-09-09)


### Bug Fixes

* add types versions ([#1](https://github.com/ipfs/js-blockstore-core/issues/1)) ([fa8ce28](https://github.com/ipfs/js-blockstore-core/commit/fa8ce287da9e2528f7581151e6fa3ac86fcd4196))



## 0.0.1 (2021-09-09)
4 changes: 4 additions & 0 deletions packages/blockstore-core/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
This project is dual licensed under MIT and Apache-2.0.

MIT: https://www.opensource.org/licenses/mit
Apache-2.0: https://www.apache.org/licenses/license-2.0
5 changes: 5 additions & 0 deletions packages/blockstore-core/LICENSE-APACHE
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
19 changes: 19 additions & 0 deletions packages/blockstore-core/LICENSE-MIT
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
The MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Loading