Upgrading from version 6.7 to version 6.8
Consider the following information when upgrading from Diffusion™ Cloud version 6.7 to version 6.8.
Before you upgrade
Before upgrading you should backup your current configuration and persisted data files.
- etc/Logs.xml - the default Logs.xml file provided with 6.8 will not work on 6.7 due to the removal of deprecated elements.
- persistence - persistence files created by 6.8 will not work on 6.7.
Upgrading your applications
- Clients
-
You can choose not to recompile your client applications and continue to use client libraries from a previous release. If you choose to use client libraries from a previous release, ensure that the libraries are compatible with the new server. For more information, see Interoperability.
You can choose to upgrade your client applications to use the new client libraries. To do this, recompile the client applications against the client libraries located in the clients directory of your new Diffusion Cloud server installation and repackage your client application with the new library.
Your client applications may use features that have been removed or deprecated. Review the API changes information in the following section to see if these changes affect your applications.
Note that the local install method for the Python client has changed. See the Client basics page for Python for details.
API changes
Further information about removed or deprecated features is available in the release notes provided online at http://docs.pushtechnology.com/docs/6.8.5/ReleaseNotice.html
API affected | Deprecated feature | Suggested alternative |
---|---|---|
JavaScript client | All members on enum-like types. Affected types are CloseReason, ErrorReason, UnsubscribeReason, UpdateFailReason, and TopicAddFailReason | none |
Behavior changes at the Diffusion Cloud server
The deprecated store-directory item from the persistence element in Server.xsd has been removed along with the corresponding deprecated methods in the PersistenceConfig interface of the server configuration API. Use server persistence-home instead.
Diffusion uses Log4j2 as its default logging library. Previous releases included a legacy logging library, which was deprecated in Diffusion 6.4. The legacy library is no longer supported and has been removed from this release.