Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow version change transactions w/o modifying version number #304

Open
2 tasks
inexorabletash opened this issue Sep 30, 2019 · 1 comment
Open
2 tasks

Comments

@inexorabletash
Copy link
Member

As discussed at TPAC 2019

  • Use case: libraries (e.g. PouchDB) wanting to manage schema at a library level, not be forced to arbitrarily bump version.
  • proposal: open(DOMString name, optional [EnforceRange] unsigned long long version, optional DOMString smersion); upgrade runs if version is greater or smersion doesn't match.
  • smersion is expected to be something like hash of database schema description; constrained to a limited length string that's okay to cache in memory
  • No, we're not serious about smersion as a name 😆 It's short for "string version" or "semantic version".

Follow-ups needed:

@sicking
Copy link
Contributor

sicking commented Jun 15, 2020

Would the proposal in #282 (comment) fix this?

@SteveBeckerMSFT SteveBeckerMSFT added the TPAC2024 Topic for discussion at TPAC 2024 label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants