From 59d0ebd30c0bbbdd5b878c841d6cdfd31ad10aa6 Mon Sep 17 00:00:00 2001 From: web3-bot <81333946+web3-bot@users.noreply.github.com> Date: Tue, 15 Nov 2022 15:11:47 +0100 Subject: [PATCH 1/6] sync: update CI config files (#61) --- .github/workflows/automerge.yml | 3 +++ .github/workflows/js-test-and-release.yml | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index d57c2a0..3833fc2 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -1,3 +1,6 @@ +# File managed by web3-bot. DO NOT EDIT. +# See https://github.com/protocol/.github/ for details. + name: Automerge on: [ pull_request ] diff --git a/.github/workflows/js-test-and-release.yml b/.github/workflows/js-test-and-release.yml index d155996..ed17349 100644 --- a/.github/workflows/js-test-and-release.yml +++ b/.github/workflows/js-test-and-release.yml @@ -1,11 +1,12 @@ +# File managed by web3-bot. DO NOT EDIT. +# See https://github.com/protocol/.github/ for details. + name: test & maybe release on: push: branches: - master # with #262 - ${{{ github.default_branch }}} pull_request: - branches: - - master # with #262 - ${{{ github.default_branch }}} jobs: From 9a44c9e3f320566653e314cceead0610179532a2 Mon Sep 17 00:00:00 2001 From: web3-bot <81333946+web3-bot@users.noreply.github.com> Date: Fri, 25 Nov 2022 19:13:07 +0100 Subject: [PATCH 2/6] update .github/workflows/js-test-and-release.yml (#62) --- .github/workflows/js-test-and-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/js-test-and-release.yml b/.github/workflows/js-test-and-release.yml index ed17349..c6897e3 100644 --- a/.github/workflows/js-test-and-release.yml +++ b/.github/workflows/js-test-and-release.yml @@ -27,7 +27,7 @@ jobs: strategy: matrix: os: [windows-latest, ubuntu-latest, macos-latest] - node: [16] + node: [lts/*] fail-fast: true steps: - uses: actions/checkout@v3 From 9f07a5b661ad3e0bc746d587ea4b64552df11479 Mon Sep 17 00:00:00 2001 From: web3-bot <81333946+web3-bot@users.noreply.github.com> Date: Wed, 14 Dec 2022 12:42:03 +0100 Subject: [PATCH 3/6] update .github/workflows/js-test-and-release.yml (#63) --- .github/workflows/js-test-and-release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/js-test-and-release.yml b/.github/workflows/js-test-and-release.yml index c6897e3..da74793 100644 --- a/.github/workflows/js-test-and-release.yml +++ b/.github/workflows/js-test-and-release.yml @@ -144,3 +144,6 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + - run: npm run --if-present docs + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From de7690270f377b1b04dec534dfd8516ab3e6b033 Mon Sep 17 00:00:00 2001 From: web3-bot <81333946+web3-bot@users.noreply.github.com> Date: Thu, 15 Dec 2022 10:03:17 +0100 Subject: [PATCH 4/6] update .github/workflows/js-test-and-release.yml (#64) --- .github/workflows/js-test-and-release.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/js-test-and-release.yml b/.github/workflows/js-test-and-release.yml index da74793..c6897e3 100644 --- a/.github/workflows/js-test-and-release.yml +++ b/.github/workflows/js-test-and-release.yml @@ -144,6 +144,3 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - - run: npm run --if-present docs - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 4c8edb4bc3431ae7bda430263232e5a5aaf0e63f Mon Sep 17 00:00:00 2001 From: Alex Potsides Date: Fri, 6 Jan 2023 13:56:45 +0000 Subject: [PATCH 5/6] fix!: update all deps including multiformats (#66) The CID class in multiformats has had a breaking change so update all deps. --- .gitignore | 50 +++++++++++++------------------------------------- README.md | 23 ++++++++++++++--------- package.json | 11 ++++++----- 3 files changed, 33 insertions(+), 51 deletions(-) diff --git a/.gitignore b/.gitignore index d1e881e..2633772 100644 --- a/.gitignore +++ b/.gitignore @@ -1,40 +1,16 @@ -yarn.lock -package-lock.json - -**/node_modules/ -**/*.log -test/repo-tests* - -# Logs -logs -*.log - -coverage -.nyc_output - -# Runtime data -pids -*.pid -*.seed - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage - -# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# node-waf configuration -.lock-wscript - +node_modules build - -# Dependency directory -# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git +dist +.docs +.coverage node_modules - +package-lock.json +yarn.lock +node_modules +build dist -docs -types +.docs +.coverage +node_modules +package-lock.json +yarn.lock diff --git a/README.md b/README.md index 1a46751..650ebe1 100644 --- a/README.md +++ b/README.md @@ -3,17 +3,18 @@ [![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-blockstore-datastore-adapter.svg?style=flat-square)](https://codecov.io/gh/ipfs/js-blockstore-datastore-adapter) -[![CI](https://img.shields.io/github/workflow/status/ipfs/js-blockstore-datastore-adapter/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/ipfs/js-blockstore-datastore-adapter/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/ipfs/js-blockstore-datastore-adapter/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/ipfs/js-blockstore-datastore-adapter/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > datastore interface ## Table of contents - [Install](#install) + - [Browser ` +``` + ## Usage ```js @@ -30,13 +39,9 @@ import { BlockstoreDatastoreAdapter } from 'blockstore-datastore-adapter' const store = new BlockstoreDatastoreAdapter(new MemoryDatastore()) ``` -## Contribute - -Feel free to join in. All welcome. Open an [issue](https://github.com/ipfs/js-ipfs-bitswap/issues)! +## API Docs -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) +- ## License diff --git a/package.json b/package.json index cd0d917..8b8e64a 100644 --- a/package.json +++ b/package.json @@ -153,20 +153,21 @@ "test:chrome-webworker": "aegir test -t webworker", "test:firefox": "aegir test -t browser -- --browser firefox", "test:firefox-webworker": "aegir test -t webworker -- --browser firefox", - "release": "aegir release" + "release": "aegir release", + "docs": "aegir docs" }, "dependencies": { - "blockstore-core": "^2.0.0", + "blockstore-core": "^3.0.0", "err-code": "^3.0.1", - "interface-blockstore": "^3.0.0", + "interface-blockstore": "^4.0.0", "interface-datastore": "^7.0.0", "it-drain": "^2.0.0", "it-pushable": "^3.1.0", - "multiformats": "^10.0.1" + "multiformats": "^11.0.0" }, "devDependencies": { "aegir": "^37.5.1", "datastore-core": "^8.0.1", - "interface-blockstore-tests": "^3.0.0" + "interface-blockstore-tests": "^4.0.0" } } From be9283db86c357119d023941433c1e9cd43ea0cb Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 6 Jan 2023 14:00:40 +0000 Subject: [PATCH 6/6] chore(release): 5.0.0 [skip ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [5.0.0](https://github.com/ipfs/js-blockstore-datastore-adapter/compare/v4.0.0...v5.0.0) (2023-01-06) ### ⚠ BREAKING CHANGES * update all deps including multiformats (#66) ### Bug Fixes * update all deps including multiformats ([#66](https://github.com/ipfs/js-blockstore-datastore-adapter/issues/66)) ([4c8edb4](https://github.com/ipfs/js-blockstore-datastore-adapter/commit/4c8edb4bc3431ae7bda430263232e5a5aaf0e63f)) --- CHANGELOG.md | 11 +++++++++++ package.json | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a4f412..144fd93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +## [5.0.0](https://github.com/ipfs/js-blockstore-datastore-adapter/compare/v4.0.0...v5.0.0) (2023-01-06) + + +### ⚠ BREAKING CHANGES + +* update all deps including multiformats (#66) + +### Bug Fixes + +* update all deps including multiformats ([#66](https://github.com/ipfs/js-blockstore-datastore-adapter/issues/66)) ([4c8edb4](https://github.com/ipfs/js-blockstore-datastore-adapter/commit/4c8edb4bc3431ae7bda430263232e5a5aaf0e63f)) + ## [4.0.0](https://github.com/ipfs/js-blockstore-datastore-adapter/compare/v3.0.1...v4.0.0) (2022-10-18) diff --git a/package.json b/package.json index 8b8e64a..cce6ae7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "blockstore-datastore-adapter", - "version": "4.0.0", + "version": "5.0.0", "description": "datastore interface", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/ipfs/js-blockstore-datastore-adapter#readme",