Repository navigation
Release v19.167.0
Summary
The client's token file cache is locked down to the current user, and projections now notify watchers when a child removal changes a parent.
Added
FileSystemCachingTokenProviderhas a new constructor that takes a cache scope, such as the server address and client id. A cached token is only reused for the same scope. The existing constructor works as before; give each server and identity its own cache file when you use it. (#5598)
Changed
- The token cache file and its folder are readable and writable by the current user only, on Windows as well as Unix. The file is protected before the token is written and replaced atomically, and a cache file other users can read is ignored and rewritten. (#5598)
- A cached token is never kept longer than the configured lifetime, even when the token itself expires later. (#5598)
- The connection string documentation explains where the token cache lives and that, with SRV discovery, the selected target host receives the client credentials for the token request. (#5598)
Fixed
- Observable queries on a parent read model now update when a child is removed through a join (
RemoveWithJoin), and a parent's cached state is correct after many children are removed at once. (part of #1896)