Skip to content

docs: document the 22.0.0 changes - #3853

Draft
armando-navarro wants to merge 2 commits into
angular:mainfrom
armando-navarro:docs-22.1.0
Draft

armando-navarro wants to merge 2 commits into
angular:mainfrom
armando-navarro:docs-22.1.0

Conversation

@armando-navarro

@armando-navarro armando-navarro commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

This is the one docs PR for 22.0.0. It works the way #3835 did for 22.0.0-rc.1: one commit per code change, and it merges only just before the 22.0.0 tag, so the docs on main and the published package change together.

It is a draft until then. Each commit can be reviewed as it arrives.

Commits so far

  • docs(messaging): say Messaging can be null, and check in the example, for fix(messaging): inject null where the browser has no service worker #3852: one sentence after the inject(Messaging) snippet in docs/messaging.md saying Messaging is null during server rendering and in a browser with no service worker support, and null checks in the example service's constructor, message$ and unregister.
  • docs: say RemoteConfig is null during server rendering, a fix for already-released behavior: one sentence after the inject(RemoteConfig) snippet in docs/remote-config.md saying RemoteConfig is null during server rendering.

Checklist

  • Issue number for this PR: none.
  • Docs included?: yes, this PR is docs only.
  • Test units included?: no, docs only.
  • Breaking change?: no
  • In a clean directory, yarn install, yarn test run successfully?: not applicable, docs only.

Messaging is null during server rendering, and with the fix for angular#3672
also in a browser with no service worker support. The page showed
inject(Messaging) with no mention of either. The example service used
the injected value in its constructor, so an app copied from it failed
to render in those browsers.

Add one sentence after the injection snippet, and null checks in the
example's constructor, message$ and unregister.

Refs angular#3672
@armando-navarro armando-navarro added backport: 21.1.x Cherry-pick onto the 21.1.x branch for a 21.1 minor release comp: docs Documentation. type: chore Maintenance with no user-facing behavior change. labels Nov 26, 2026
@armando-navarro armando-navarro added this to the 22.1.0 milestone Nov 26, 2026
@armando-navarro
armando-navarro deleted the docs-22.1.0 branch November 27, 2026 01:20
@armando-navarro
armando-navarro restored the docs-22.1.0 branch November 27, 2026 01:21
@armando-navarro armando-navarro changed the title docs: document the 22.1.0 changes docs: document the 22.0.0 changes Nov 27, 2026
@armando-navarro armando-navarro modified the milestones: 22.1.0, 22.0.0 Nov 27, 2026
AngularFire creates no Remote Config instance on the server, so
inject(RemoteConfig) returns null there while its type says
RemoteConfig. The page showed the injection without mentioning it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport: 21.1.x Cherry-pick onto the 21.1.x branch for a 21.1 minor release comp: docs Documentation. type: chore Maintenance with no user-facing behavior change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant