Skip to content

Update CHANGELOG.md #1198

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

Merged
merged 6 commits into from
Sep 6, 2018
Merged

Update CHANGELOG.md #1198

merged 6 commits into from
Sep 6, 2018

Conversation

schmidt-sebastian
Copy link
Contributor

Firestore change log for held write acks change.

@@ -1,4 +1,9 @@
# Unreleased
# Unreleased (0.8.1)
- [changed] The internal handling for locally updated documents that haven't yet
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of these notes start with the verb (i.e. "Changed" in this case).

If possible it would be worthwhile to vaguely describe what the differences might be. Something like: SnapshotMetadata.hasPendingWrites may now be cleared earlier than it used to (or whatever the actual change is).

One key difference here is that after restart an acknowledged but unobserved document will have hasPendingWrites: false but fromCache: true. Should we make note that users wanting to make sure documents are non-dirty should check for either condition?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated Changelog per our discussion:

  • Changed the wording slightly to start with "Changed", but didn't mention the restart case since that hasn't actually changed in behavior. I also shied away from adding more detail since it is really hard to describe to external users.
  • Added a section on how we no longer rebase mutations as we get outdated document updates.

Copy link
Contributor

@wilhuff wilhuff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@schmidt-sebastian schmidt-sebastian merged commit eea6851 into master Sep 6, 2018
@schmidt-sebastian schmidt-sebastian deleted the schmidt-sebastian-changelog branch October 2, 2018 17:00
@firebase firebase locked and limited conversation to collaborators Oct 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants