[1.x] Delete Firebase nodes for stale topics #205
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Prior to 1.9.0 release, all
Topic
s that were detected as "stale" (meaning there was no active subscription for a topic), were forcefully removed from Firebase RDB by deleting their corresponding nodes.In 1.9.0, this behaviour was changed, and such a forceful removal became no longer the case.
This PR addresses the issue, as it turns out, there are no other convenient means to clear outdated Firebase nodes.
Also, due to a critical vulnerability in
protobuf-js
, its parent NPM dependencyfirebase
was updated to the latest available 9.x release. We don't use the latest 10.x branch of NPMfirebase
artifact, as it may not be fully compatible with our library code inspine-web
1.9.0.The library version is set to 1.9.1.