v5.5.0
Main Changes to previous release version:
Interface changes:
- Carrier:
- remove Carrier.getInstance();
- remove Carrier.initializeInstance(options, handler);
- Create the Carrier instance and return it,using Carrier.createInstance(options, handler);
- Group:
- Replace carrier.newGroup(groupHandler) with carrier.newGroup();
- Session/FileTransfer Manager:
- remove Manager.initializeInstance(carrier) and Manager.initializeInstance(carrier, handler);
- remove Manager.getInstance();
- Create the Manager instance and return it,using Manager.createInstance(carrier) or Manager.createInstance(carrier, handler);
Other changes:
- Be able to create multiple carrier instances now, which required by Trinity (or elastOS). General application over Carrier network should still keep using singleton carrier instance under application context.
- All groups in Carrier context updated to share one GroupHandler, and become part of CarrierHandler .
Native carrier lib changes:
- Correct default port value for IPFS node service.
- Fix cmake typo.
- Update cygwin.
- Allow ela_get_groups() to be called in the whole lifecycle of carrier due to introduction of persistent group.