Changes since 2.8.4
New features
-
Throw a meaningful exception if deployed into a Servlet 5 container (#14842)
Commit · Pull requestFor #14835
Fixes
-
Serve text/css/xml/javascript resources correctly outside the context of a page (#15824)
Commit · Pull request · IssueWhen the resource is served without a charset, it seems the encoding of the page is used to interpret the resource correctly as utf-8. If you load a file outside the context of a page however, the content is wrong when the charset is not specified.
-
Preserve push messages in cache until they are seen by client (#15764)
Commit · Pull request · IssueAtmospehere caches messages when the client is disconnected, but unfortunately it may happen that a message does not reach the client because of network disconnection during async response write operation. In this case the message is not cached and will be completely lost, causing a UI resynchronization request. This change preserves messages in broadcaster cache until the client confirms that they have been processed, by sending the last seen server sync identifier on reconnection. This should prevent the need for a UI resynchronization. It may happen in some cases, e.g. back to online after being offline, that messages already seen will be sent to the client, but Flow will discard them. Part of #15281
-
Pwa charset (#15844)
Commit · Pull request · IssueSet pwa character set to utf-8 instead of the default iso encoding
-
Prevent concurrent disconnect and push operations (#15767)
Commit · Pull request · IssueDisconnecting an AtmospherePushConnection while it is sending a message may result in a NullPointerException if AtmosphereResource is nullified before the message is sent. This change synchronizes operations, so that disconnect will wait until current push finishes, or push waits for disconnect to complete so that the isConnected() method reflects correctly current state.