Skip to content

Releases: electrode-io/electrode-native

v0.10.2

27 Nov 19:11
Compare
Choose a tag to compare
  • Fix a few bugs impacting Android container generation when using scoped NPM packages 3933fb0

v0.10.1

07 Nov 19:52
Compare
Choose a tag to compare
  • Fix a bug in v0.10.0 that was making a lot of commands fail #319

v0.10.0

07 Nov 07:14
Compare
Choose a tag to compare

Improvements

APIs

  • #233 #296 [Android] Set read only file permissions for files part of an API implementation project that are not meant to be modified manually

Cauldron

  • #229 Improve Cauldron commit messages

Container

  • #249 [Android] Add default Maven publisher is none is defined

Commands

  • #266 create-api-impl command now verifies if the target API for implementation exists in NPM registry before proceeding
  • #274 Improve robustness ofcreate-miniapp command
  • #264 run-ios can now launch the application on a connected device (not limited to simulators only)
  • #284 Improve robustness of create-api-impl command
  • #286 Misc improvements of create-api command

New features

APIs

  • #282 #308 [iOS] Work toward getting parity for API implementation generation and proper injection in Container. Full feature TBA in v0.11.0.


Commands

  • #225 Introduce new command regen-api-impl to regenerate an existing API implementation project
  • #262 Add some new options to create-api-impl and create-api commands

Bug fixes

  • #232 regen-api command now properly clear existing directories before regeneration, to make sure there are no left over files
  • #295 [iOS] Fix Runner build failure when making direct or indirect use of RCTStatusBarManager in a MiniApp

Platform Internals

  • #237 lerna rebuild script is now properly cleaning platform modules dist directories to make sure that not left over files are left (fix “ghost command” issue)
  • #240 Introduce childProces utils to centralize exec/spawn logic across platform modules
  • #243 Introduce gitCli to centralize access to git across platform modules
  • #244 standard and flow versions are now logged during CI execution
  • #246 #247 Add a git post-merge hook to platform that will automatically update platform dependencies if needed
  • #251 Add more system tests
  • #252 All commands are now exiting with the proper success / error code
  • #253 Improve system tests and run them as part of a daily CI job (cron)
  • #275 Allow for independent test run of ern modules
  • #276 Upgrade flow version to 0.58.0
  • #277 Upgrade test related dependencies (mocha/chai/sinon/nyc ..) versions
  • #278 Upgrade chalk version to 2.3.0
  • #285 Fix code coverage scripting
  • #290 Setup coveralls and CI to send code coverage reports to coveralls service
  • #310 Run system tests coverage part of the daily CI execution

Thanks

Kudos to all external contributors to this version (code, doc or bug reports) 👏

@swashcap

v0.9.0 - Windows Support

24 Oct 05:56
Compare
Choose a tag to compare

This new version does not contain any breaking change.

This release contains many internal refactorings not surfaced to the user (and therefore not part of the release notes) but contributing to the effort of making the platform more stable overall.

This release brings Electrode Native to Windows 🎉 !

It is now be possible to install and use Electrode Native on Windows and Linux in addition to Mac.
The only restriction is the run-ios command that is disabled on Linux and Windows platforms. All other ern commands are available on these platforms.

This release marks the initial one for Windows / Linux (linux was already somewhat supported), therefore some bugs might still be present. Do not hesitate to open an issue to let us know of any bugs you might face on these platforms.

Improvements

APIs

  • [Android] Add proper API implementation project generation along with API implementation project Container injection support. Remaining vague for now, but this is a big one. We are waiting for iOS to be on parity to announce it in more details and update our Getting Started guide with some more magic ! Looking forward to Electrode Native 0.10.0 to reveal more about this exciting feature. #210 #221

Container

  • [iOS] addProject plugin injection directive now allow adding projects that have a Framework target (in addition to project having a static lib (.a) target). #224

  • [Android] A Maven publisher is not required anymore. It is now possible to use GitHub publisher only for Android Container publication #180

  • The replaceInFile plugin injection configuration directive now does a global replace (i.e it replaces all occurences matching a string and not only the first match) #199

Commands

  • Thecreate-miniapp, create-api and create-api-impl commands are now checking if the name used for the project npm package already exists in npm registry to avoid name collisions upon publication #181

  • It is now possible to provide extra JavaScript dependencies to be added to the MiniApps Composite project created through start command. It can be useful to pass in some development dependencies that otherwise wouldn't be included, because devDependencies of MiniApps are not part of the MiniApps Composite. #183

  • A new option flag, --usePreviousEmulator/-u can be passed to run-ios and run-android commands to use the same emulator that was used on previous run of the command and bypass emulator selection prompt. If this option is not provided, the emulator selection prompt will still be shown. #207

New features

Container

  • [iOS] Add new addFrameworkSearchPath plugin injection directive. #224

  • [iOS] Add new plugin injection directive addFrameworkReference to allow injecting external Frameworks references in a Container #182

Commands

  • Introduce cauldron regen-container command. This command can be used to trigger the generation and publication of a new Container version for a native application version stored in the Cauldron. This command can be useful during development, or in case a Container generation failed (maybe because of an invalid plugin configuration). It allows triggering container generation even if there is no state change to the Container (no MiniApp(s) added/removed/updated and/or no Dependency(ies) added/removed/updated) #191

Platform

  • Improve shelljs usage. #197

  • All shell commands executed via shelljs are now logged in trace log level. (by default ern log level is set to info. Log level can be changed through ern --log-level <level>). #204

  • Spinners are now disabled for debug and trace log level as they are not adding any valuable log information and pollute the log output. #201

Thanks

Kudos to all external contributors to this version (code, doc or bug reports) 👏

@sachinjha1
@wbowlin
@anthonywebb
@caoyangs
@swashcap
@jyaunches
@minsoe
@kevinlho
@briviere

v0.8.0

11 Oct 02:10
Compare
Choose a tag to compare

Breaking Changes

Commands

  • Rename upgrade command to upgrade-miniapp #124

Bug fixes

Container

  • Fix a bug that was making container generation fails when assets were included in the container #121

APIs

Commands

  • Fix start command that was not working properly due to a wrong export #113

  • Fix a bug that was causing run-ios and run-android commands to fail if the MiniApp was in a directory containing one or more spaces #153

Platform

  • Fix an issue that was causing any ern commands to fail under some circumstances due to a missing package #172

Misc

#126

Improvements

Container

  • Update Android Container with support fo React Native 0.49 #146

Commands

  • Theadd command can now add multiple packages at a time #110

  • The add command now properly handle packages that contain transitive native dependencies #144

  • Add --skipConfirmation flag to code-push command #118

  • platform list command now displays a link to the release notes next to each platform version #135

  • All cauldron subcommands now properly ensure that a Cauldron is active #139

  • All commands that generate a project to be published on NPM (api-gen, api-impl-gen and create-miniapp) now verify before-hand that the package name to be used for the project does not already exists in NPM #173

  • start command now allows for launching the associated mobile application version binary if any exists in the binary store for this mobile application version #175

Misc

#137 #140 #144 #162

Platform

  • .ernrc local platform configuration file is now prettified to please human readers #168

New features

Commands

  • Introduce --version flag for ern root command #129

  • Introduce binarystore commands #142

Platform

  • Introduce Binary Store support. The Binary Store allows to store mobile application binaries to ease MiniApp development within a host mobile application. More documentation to be released soon ! #138

Thanks

Kudos to all external contributors to this version 👏

@AndyIsaacson
@Eric-Tran
@kevinlho
@pedromartinez11
@swashcap