0.8.0
Pub/Sub system overhaul
This update simplifies the iOS pub/sub system for Ionic Portals, addressing the issue of Plugin subscriptions not being properly disposed when a Portal is dismissed. More details on usage can be found here. Key improvements include:
-
Utilizing Capacitor for Event Handling:
We now use Capacitor for event publishing, simplifying unsubscribing with provided handles, eliminating the need for arbitrary integers. -
Combine Integration:
The pub/sub system now utilizes Apple's Combine framework, making subscription management more straightforward and efficient. -
Introducing PortalsPubSub Class:
A new PortalsPubSub class allows scoping events to specific portals, enhancing system organization.
Portals now uses Capacitor 5
This release also moves Portals to Capacitor 5 while requiring all plugins to be manually registered. More info on usage can be found here.
Web Vitals moved to a Plugin
And finally we have moved WebVitals into a plugin that can be registered for each Portal. Usage can be found here.
To upgrade from the previous release please reference the UPGRADE GUIDE.
What's Changed
- feat!: Breaking overhauls the pub/sub system by @Steven0351 in #71
- feat!: BREAKING update to Capacitor 5 by @Steven0351 in #72
- feat!: BREAKING Required Manual Plugin Registration by @Steven0351 in #73
- feat!: BREAKING Make WebVitals a plugin by @Steven0351 in #74
Full Changelog: 0.7.3...0.8.0