Skip to content

Instantly share code, notes, and snippets.

@AlbaHerrerias
Last active April 19, 2022 15:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlbaHerrerias/140c3410323e47b9f8616f0786d95462 to your computer and use it in GitHub Desktop.
Save AlbaHerrerias/140c3410323e47b9f8616f0786d95462 to your computer and use it in GitHub Desktop.
layout title author
post
PouchDB 8.0.0 - modernizing PouchDB
Alba Herrerias

Yes, you read it right! We are happy to announce the release of PouchDB's new major version 8.0.0. For a full changelog from 7.3.0 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 slow 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, 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. If you need to support ES5 we recommend you to use a transpiler.

Changelog

New features

Bugfixes

Documentation

Testing

Dependency updates

Refactor

Other changes

Get in touch

As always, we welcome feedback from the community and would love to hear what you think of this release as well as PouchDB's future direction. Please don't hesitate to file issues, open discussions or get in touch. And of course, a big thanks to all of our new and existing contributors!

@janl
Copy link

janl commented Mar 16, 2022

one more highlight:

  • the indexeddb adapter is now available by default. INSERT SOME EXPLANATION FOR HOW TO USE IT. — it is considered BETA quality, use this carefully and please [report](LINK TO GH ISSUES) any issues you find.

@AlbaHerrerias
Copy link
Author

I'm not sure if we should add more info/how to use the indexeddb adapter since I think it should have been done when it was first released https://pouchdb.com/2020/02/12/pouchdb-7.2.0.html
Let me know what you think, thanks

@janl
Copy link

janl commented Apr 8, 2022

let’s leave it then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment