Skip to content

Commit

Permalink
Bump to 0.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ericwlange committed Jun 15, 2019
1 parent f24a679 commit 3e798c8
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion LiquidCore.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "LiquidCore"
s.version = "0.6.1"
s.version = "0.6.2"
s.summary = "Provides Node.js virtual machines to run inside iOS apps."
s.description = <<-DESC
LiquidCore enables Node.js virtual machines to run inside iOS apps. It provides a complete runtime environment, including a virtual file system.
Expand Down
13 changes: 6 additions & 7 deletions LiquidCoreAndroid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ LiquidCore also provides a convenient way for Android developers to [execute raw
Version
-------
[![Release](https://jitpack.io/v/LiquidPlayer/LiquidCore.svg)](https://jitpack.io/#LiquidPlayer/LiquidCore)
![Downloads](https://jitpack.io/v/LiquidPlayer/LiquidCore/week.svg)

[0.6.1](https://github.com/LiquidPlayer/LiquidCore/releases/tag/0.6.1) - Get it through [JitPack](https://jitpack.io/#LiquidPlayer/LiquidCore/0.6.1), **or**:
[0.6.2](https://github.com/LiquidPlayer/LiquidCore/releases/tag/0.6.2) - Get it through [JitPack](https://jitpack.io/#LiquidPlayer/LiquidCore/0.6.2), **or**:

In your Android project root directory:
```
Expand All @@ -20,7 +19,7 @@ And follow the directions in the output.

Javadocs
--------
[Version 0.6.1](https://liquidplayer.github.io/LiquidCoreAndroid/0.6.1/)
[Version 0.6.2](https://liquidplayer.github.io/LiquidCoreAndroid/0.6.2/)

# Table of Contents

Expand All @@ -47,7 +46,7 @@ Native add-ons enable extending the basic runtime environment with additional na

# Java / JavaScript API

[JavaDocs v0.6.1](https://liquidplayer.github.io/LiquidCoreAndroid/0.6.1/index.html?org/liquidplayer/javascript/package-summary.html)
[JavaDocs v0.6.2](https://liquidplayer.github.io/LiquidCoreAndroid/0.6.2/index.html?org/liquidplayer/javascript/package-summary.html)

You can use LiquidCore as a raw Native Javascript Engine (i.e. as a replacement for [`AndroidJSCore`](https://github.com/ericwlange/AndroidJSCore)). That topic is discussed [here](https://github.com/LiquidPlayer/LiquidCore/wiki/LiquidCore-as-a-Native-Javascript-Engine).

Expand All @@ -71,15 +70,15 @@ android.util.Log.i("LiquidCoreExample", "The factorial of 10 is " + result.toStr

# Node `Process`

[JavaDocs v0.6.1](https://liquidplayer.github.io/LiquidCoreAndroid/0.6.1/index.html?org/liquidplayer/node/Process.html)
[JavaDocs v0.6.2](https://liquidplayer.github.io/LiquidCoreAndroid/0.6.2/index.html?org/liquidplayer/node/Process.html)

LiquidCore allows creation of raw Node.js instances. Each instance runs in its own thread and is isolated from all other instances. Instances can share a [virtual file system](https://github.com/LiquidPlayer/LiquidCore/wiki/LiquidCore-File-System), by using a common unique identifier.

It is not recommended to use the `Process` API directly for most use cases. The [`MicroService`](#the-microservice) API is more robust and has additional functionality, like support for native modules and downloadable JavaScript bundles.

# The `MicroService`

[JavaDocs v0.6.1](https://liquidplayer.github.io/LiquidCoreAndroid/0.6.1/index.html?org/liquidplayer/service/MicroService.html)
[JavaDocs v0.6.2](https://liquidplayer.github.io/LiquidCoreAndroid/0.6.2/index.html?org/liquidplayer/service/MicroService.html)

A micro service is nothing more than an independent Node.js instance whose startup code is referenced by a URI. For example:

Expand Down Expand Up @@ -278,7 +277,7 @@ Then, add the LiquidCore library to your **app's `build.gradle`**:
```
dependencies {
...
implementation 'com.github.LiquidPlayer:LiquidCore:0.6.1'
implementation 'com.github.LiquidPlayer:LiquidCore:0.6.2'
}
```
Expand Down
2 changes: 1 addition & 1 deletion LiquidCoreAndroid/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ android {
minSdkVersion 16
targetSdkVersion 28
versionCode 6
versionName "0.6.1"
versionName "0.6.2"
setProperty("archivesBaseName", "LiquidCore")
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
externalNativeBuild {
Expand Down
6 changes: 3 additions & 3 deletions LiquidCoreiOS/.jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ umbrella_header: LiquidCore/Headers/LiquidCore.h
framework_root: LiquidCore
sdk: iphonesimulator
module: LiquidCore
module_version: 0.6.1
module_version: 0.6.2
author: LiquidPlayer
author_url: https://github.com/LiquidPlayer
github_url: https://github.com/LiquidPlayer/LiquidCore
copyright: © 2018-2019 LiquidPlayer
hide_documentation_coverage: true
output: ../../LiquidPlayer.github.io/LiquidCoreiOS/0.6.1
root_url: https://liquidplayer.github.io/LiquidCoreiOS/0.6.1
output: ../../LiquidPlayer.github.io/LiquidCoreiOS/0.6.2
root_url: https://liquidplayer.github.io/LiquidCoreiOS/0.6.2
8 changes: 4 additions & 4 deletions LiquidCoreiOS/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ LiquidCore enables Node.js virtual machines to run inside Android and iOS apps.

Version
-------
[0.6.1](https://github.com/LiquidPlayer/LiquidCore/releases/tag/0.6.1)
[0.6.2](https://github.com/LiquidPlayer/LiquidCore/releases/tag/0.6.2)

LiquidCore is distributed using [CocoaPods](https://cocoapods.org/). In your project's `Podfile`, add:

Expand All @@ -14,7 +14,7 @@ pod 'LiquidCore'

API Documentation
-----------------
[Version 0.6.1](https://liquidplayer.github.io/LiquidCoreiOS/0.6.1/index.html)
[Version 0.6.2](https://liquidplayer.github.io/LiquidCoreiOS/0.6.2/index.html)

# Table of Contents

Expand All @@ -40,7 +40,7 @@ Native add-ons enable extending the basic runtime environment with additional na

# Node `LCProcess`

[Jazzy API Doc v0.6.1](https://liquidplayer.github.io/LiquidCoreiOS/0.6.1/Classes/LCProcess.html)
[Jazzy API Doc v0.6.2](https://liquidplayer.github.io/LiquidCoreiOS/0.6.2/Classes/LCProcess.html)

LiquidCore allows creation of raw Node.js instances. Each instance runs in its own thread and is isolated from all other instances. Instances can share a [virtual file system](https://github.com/LiquidPlayer/LiquidCore/wiki/LiquidCore-File-System), by using a common unique identifier.

Expand All @@ -49,7 +49,7 @@ It is not recommended to use the `LCProcess` API directly for most use cases. Th

# The `LCMicroService`

[Jazzy API Doc v0.6.1](https://liquidplayer.github.io/LiquidCoreiOS/0.6.1/Classes/LCMicroService.html)
[Jazzy API Doc v0.6.2](https://liquidplayer.github.io/LiquidCoreiOS/0.6.2/Classes/LCMicroService.html)

A *micro app* is built on a *micro service*. A micro service is nothing more than an independent Node.js instance whose startup code is referenced by a URI. For example:

Expand Down
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,16 @@ For a description of how to use LiquidCore, please see the appropriate README un

Version
-------
[0.6.1](https://github.com/LiquidPlayer/LiquidCore/releases/tag/0.6.1)
[0.6.2](https://github.com/LiquidPlayer/LiquidCore/releases/tag/0.6.2)

[![Release](https://jitpack.io/v/LiquidPlayer/LiquidCore.svg)](https://jitpack.io/#LiquidPlayer/LiquidCore)
[![Downloads](https://jitpack.io/v/LiquidPlayer/LiquidCore/week.svg)](https://jitpack.io/#LiquidPlayer/LiquidCore)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

API Documentation
-----------------
**Android Javadocs**: [Version 0.6.1](https://liquidplayer.github.io/LiquidCoreAndroid/0.6.1/)
**Android Javadocs**: [Version 0.6.2](https://liquidplayer.github.io/LiquidCoreAndroid/0.6.2/index.html)

**iOS Objective-C/Swift**: [Version 0.6.1](https://liquidplayer.github.io/LiquidCoreiOS/0.6.1/index.html)
**iOS Objective-C/Swift**: [Version 0.6.2](https://liquidplayer.github.io/LiquidCoreiOS/0.6.2/index.html)

Architecture
------------
Expand All @@ -30,9 +29,9 @@ Architecture

LiquidCore for Android includes the Node.js runtime and V8 backend. In addition, it provides three APIs for apps to interact with:

* **[Java / JavaScript JNI](https://github.com/LiquidPlayer/LiquidCore/wiki/README-Android-(0.6.1)#java--javascript-api) API**, which provides a convenient way to run raw JavaScript code from within Java, without the need for a clunky `WebView`.
* **Node [`Process`](https://github.com/LiquidPlayer/LiquidCore/wiki/README-Android-(0.6.1)#node-process) API**, which allows developers to launch fast isolated instances of the Node.js runtime.
* **[`MicroService`](https://github.com/LiquidPlayer/LiquidCore/wiki/README-Android-(0.6.1)#the-microservice) API**, which is an abstraction of a Node.js process and supports dynamic code fetching and native add-ons.
* **[Java / JavaScript JNI](https://github.com/LiquidPlayer/LiquidCore/wiki/README-Android-(0.6.2)#java--javascript-api) API**, which provides a convenient way to run raw JavaScript code from within Java, without the need for a clunky `WebView`.
* **Node [`Process`](https://github.com/LiquidPlayer/LiquidCore/wiki/README-Android-(0.6.2)#node-process) API**, which allows developers to launch fast isolated instances of the Node.js runtime.
* **[`MicroService`](https://github.com/LiquidPlayer/LiquidCore/wiki/README-Android-(0.6.2)#the-microservice) API**, which is an abstraction of a Node.js process and supports dynamic code fetching and native add-ons.

Native add-ons enable extending the basic runtime environment with additional native functionality. Add-ons have access to all the above APIs, plus the ability to use [WebKit's JavaScriptCore API](https://developer.apple.com/documentation/javascriptcore?language=objc) running on top of V8. This allows projects that depend on JavaScriptCore, like [React Native](https://facebook.github.io/react-native/), to use LiquidCore directly.

Expand All @@ -42,8 +41,8 @@ Native add-ons enable extending the basic runtime environment with additional na

LiquidCore for iOS includes the Node.js runtime, but without the V8 backend. Instead, it marshalls calls to V8 through an interpreter to Apple's JavaScriptCore engine. It provides two APIs for apps to interact with:

* **Node [`LCProcess`](https://github.com/LiquidPlayer/LiquidCore/wiki/README-iOS-(0.6.1)#node-lcprocess) API**, which allows developers to launch fast isolated instances of the Node.js runtime.
* **[`LCMicroService`](https://github.com/LiquidPlayer/LiquidCore/wiki/README-iOS-(0.6.1)#the-lcmicroservice) API**, which is an abstraction of a Node.js process and supports dynamic code fetching and native add-ons.
* **Node [`LCProcess`](https://github.com/LiquidPlayer/LiquidCore/wiki/README-iOS-(0.6.2)#node-lcprocess) API**, which allows developers to launch fast isolated instances of the Node.js runtime.
* **[`LCMicroService`](https://github.com/LiquidPlayer/LiquidCore/wiki/README-iOS-(0.6.2)#the-lcmicroservice) API**, which is an abstraction of a Node.js process and supports dynamic code fetching and native add-ons.

Native add-ons enable extending the basic runtime environment with additional native functionality. Add-ons have access to the above APIs, plus the ability to use the V8 API. This allows projects that depend on V8, such native Node modules to use LiquidCore directly.

Expand Down

0 comments on commit 3e798c8

Please sign in to comment.