v0.19.0
Add new target React Native version : 0.55.4
Breaking Changes
- #779 Due to the introduction of custom Container publishers (see below), the
ern cauldron add publisher
command has been refactored to make it easier to use and to allow to add any type of publisher. It now accepts pretty much similar options as theern publish-container
command.
Upcoming Deprecations
- #779 If you were using
github
publisher name from your Cauldron, please update the name of this publisher togit
. A warning message will appear if usinggithub
as we will deprecate this publisher name soon, in favor ofgit
New Features
-
#779 Custom Container publishers
In an effort of adding extensibility points to Electrode Native, starting with Container Publishers, it is now possible to create your own custom Electrode Native Container Publisher, for your needs, and distribute it easily. The three publishers that were shipped with Electrode Native (git/maven/jcenter) have been extracted from Electrode Native, and are now shipped on their own as dedicated packages coming with their documentation (as ern-container-publisher-git, ern-container-publisher-maven and ern-container-publisher-jcenter). These publishers are not distributed with Electrode Native any-longer but are instead lazily retrieved when used. -
#783 Local Cauldrons
Given that a Cauldron can be considered as a workspace, it makes sense to offer the option to have a local workspace, not shared with anyone. A local cauldron can be created by usinglocal
keyword instead of a remote repository url. Local Cauldrons are also much faster than Remote Cauldrons as they don't require any kind of synchronization with a remote.
Improvements
-
#782 Support
latest
version keyword forern platform use
andern platform install
commands. Usinglatest
for the version, instead of a specific version, will install the latest available version of Electrode Native. -
#772 [MiniApps] Generate a
.npmignore
file for MiniApps, when usingern create-miniapp
command to excludeios
andandroid
directories (for the most part), to reduce the size of published packages. -
#775 [Android Container]
startActivitySafely
method now returns a boolean (instead of void) to indicate the result of the operation. -
#777 Store two new properties in the Container Metadata document (
container-metadata.json
) :platform
(ios
orandroid
), identifying the target platform of the Container, andernVersion
to store the version of Electrode Native that was used to generate the Container. -
#781 Store in Cauldron, in the Container object, the Electrode Native version that was used to generate this Container. This is for tracking only and troubleshooting. Electrode Native does not make use of this yet, but soon might.
Misc.
- #760 Change prefix of iOS bundle id of Container/APIs from
com.walmart.electronics
tocom.walmartlabs.ern
, more generic naming, and now on parity with our Android namespace.