Skip to content

Bump pouchdb from 7.3.1 to 8.0.0#280

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/pouchdb-8.0.0
Closed

Bump pouchdb from 7.3.1 to 8.0.0#280
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/pouchdb-8.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Dec 26, 2022

Bumps pouchdb from 7.3.1 to 8.0.0.

Release notes

Sourced from pouchdb's releases.

8.0.0

We are thrilled to announce the release of PouchDB's new major version 8.0.0. For a full changelog from 7.3.1 to 8.0.0, please see the releases page or view the latest commits. Here are the highlights:

Embracing modern ES6+ JS syntax

We have started the process of moving to ES6+ syntax. We made refactors to use native JS classes instead of prototypes, deprecated some packages that implemented features that are now built in the language (inherits, argsarray), and started in packages such as pouchdb-abstract-mapreduce and pouchdb-adapter-http. We encourage you to embrace the syntax in your new contributions and, if you can, contribute to the refactoring effort.

This might mean a potentially breaking change, therefore we bump the major version. If you need to support ES5 we recommend you use a transpiler.

Add activeTasks

#8422 #8441 Analogous to the _active_tasks feature in CouchDB, PouchDB now has activeTasks. With this functionality, PouchDB is able to list all active database tasks, like database_compaction, view_indexing, or replication. PouchDB will report the progress of these tasks to the active tasks API and remove tasks as soon as they are completed or have failed.

Example usage:

let tasks = PouchDB.activeTasks.list()

Example result:

[{
  "id": "d81fea92-8ce4-42df-bb2b-89a4e67536c3",
  "name": "database_compaction",
  "created_at": "2022-02-08T15:38:45.318Z",
  "total_items": 12,
  "completed_items": 1,
  "updated_at": "2022-02-08T15:38:45.821Z"
}]

Add purge to the indexeddb adapter

#8453 Similar to CouchDB's purge, PouchDB has now purge for its indexeddb adapter.

Purge permanently removes data from the database. Normal deletion with db.remove() does not, it only marks the document as _deleted=true and creates a new revision. This behaviour ensures that deletes can be replicated across databases, and deleted documents don’t get undeleted by syncing with a database that still has this document.

db.purge() is not intended as a regular method for deleting documents, instead, it is meant as an admin function for cases where some secret was erroneously added to the database and must now be removed completely, eg. a credit card or social security number. Purge effectively puts the database in a state where the offending write never happened.

Example usage:

try {
  const result = await db.purge('mydoc', '6-3a24009a9525bde9e4bfa8a99046b00d');
  // handle result
} catch (error) {
  // handle error
}

Example result:

... (truncated)

Commits
  • 6cebe42 build 8.0.0
  • fec3c16 Make bin/publish-packages.sh exit with non-zero status on failure
  • 5b07d18 Recover if publishing packages fails part-way through
  • 4dcaac8 docs: release post for 8.0.0
  • 07d055a refactor: use rest parameters in find utils
  • 4974b64 refactor: remove argsarray dependency
  • d02eaaf refactor: remove argsarray usage
  • 2eca392 fix: (#8471) filterInclusiveStart for nested fields
  • 45dc5ae Fix the implementation of _bulkDocs() in the http adapter without using adapt...
  • 701f96d refactor: use await in abstract-mapreduce
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 26, 2022
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/pouchdb-8.0.0 branch 6 times, most recently from 6885f2f to 50765c0 Compare January 2, 2023 13:55
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/pouchdb-8.0.0 branch 10 times, most recently from a180a8f to 1793ebe Compare January 27, 2023 14:15
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/pouchdb-8.0.0 branch from 1793ebe to a20f231 Compare January 30, 2023 12:42
Bumps [pouchdb](https://github.com/pouchdb/pouchdb) from 7.3.1 to 8.0.0.
- [Release notes](https://github.com/pouchdb/pouchdb/releases)
- [Commits](apache/pouchdb@7.3.1...8.0.0)

---
updated-dependencies:
- dependency-name: pouchdb
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/pouchdb-8.0.0 branch from a20f231 to 9a34ed9 Compare January 30, 2023 12:48
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Feb 13, 2023

Superseded by #305.

@dependabot dependabot Bot closed this Feb 13, 2023
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/pouchdb-8.0.0 branch February 13, 2023 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants