Skip to content

Commit

Permalink
🐳 chore: Upgrade V8 to v12.0.267.5
Browse files Browse the repository at this point in the history
  • Loading branch information
caoccao committed Nov 17, 2023
1 parent d696b0e commit f8e5453
Show file tree
Hide file tree
Showing 15 changed files with 23 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/android_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

env:
JAVET_NODE_VERSION: 20.9.0
JAVET_V8_VERSION: 11.9.169.6
JAVET_V8_VERSION: 12.0.267.5
JAVET_VERSION: 3.0.2
ROOT: /home/runner/work/Javet

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux_build_artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_REPO_JAVET: ${{ secrets.DOCKERHUB_REPO_JAVET }}
JAVET_NODE_VERSION: 20.9.0
JAVET_V8_VERSION: 11.9.169.6
JAVET_V8_VERSION: 12.0.267.5
JAVET_VERSION: 3.0.2

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux_build_node_v8_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_REPO_JAVET: ${{ secrets.DOCKERHUB_REPO_JAVET }}
JAVET_NODE_VERSION: 20.9.0
JAVET_V8_VERSION: 11.9.169.6
JAVET_V8_VERSION: 12.0.267.5
JAVET_VERSION: 3.0.2

# if we skip a job using a job level `if` condition, then any dependent jobs also don't run.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux_x86_64_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
JAVET_NODE_VERSION: 20.9.0
JAVET_V8_VERSION: 11.9.169.6
JAVET_V8_VERSION: 12.0.267.5
JAVET_VERSION: 3.0.2
ROOT: /home/runner/work/Javet

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos_x86_64_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
JAVET_NODE_VERSION: 20.9.0
JAVET_V8_VERSION: 11.9.169.6
JAVET_V8_VERSION: 12.0.267.5
JAVET_VERSION: 3.0.2
ROOT: /Users/runner/work/Javet

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ arm ✔️ ❌ ❌ ❌
arm64 ✔️ ✔️ ✔️ ❌
=========== ======= ======= ======= =======

* Node.js ``v20.9.0`` + V8 ``v11.9.169.6``
* Node.js ``v20.9.0`` + V8 ``v12.0.267.5``
* Dynamic switch between Node.js and V8 mode (`Which mode do you prefer? <https://github.com/caoccao/Javet/discussions/92>`_)
* Polyfill V8 mode with `Javenode <https://github.com/caoccao/Javenode>`_
* V8 API exposure in JVM
Expand Down
2 changes: 1 addition & 1 deletion docker/android/base.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# Usage: docker build -t sjtucaocao/javet-android:3.0.2 -f docker/android/base.Dockerfile .

ARG JAVET_V8_VERSION=11.9.169.6
ARG JAVET_V8_VERSION=12.0.267.5

FROM ubuntu:20.04
WORKDIR /
Expand Down
2 changes: 1 addition & 1 deletion docker/linux-arm64/base_all_in_one.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# Usage: docker build -t sjtucaocao/javet-arm64:3.0.2 -f docker/linux-arm64/base_all_in_one.Dockerfile .

ARG JAVET_NODE_VERSION=18.15.0
ARG JAVET_V8_VERSION=11.9.169.6
ARG JAVET_V8_VERSION=12.0.267.5

FROM ubuntu:20.04
WORKDIR /
Expand Down
6 changes: 3 additions & 3 deletions docker/linux-arm64/base_v8.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
# limitations under the License.

# Usage: docker build \
# -t sjtucaocao/javet:arm64-base-v8_11.9.169.6 \
# -t sjtucaocao/javet:arm64-base-v8_12.0.267.5 \
# --build-arg JAVET_REPO=sjtucaocao/javet \
# --build-arg JAVET_V8_VERSION=11.9.169.6 \
# --build-arg JAVET_V8_VERSION=12.0.267.5 \
# -f docker/linux-arm64/base_v8.Dockerfile .

ARG JAVET_REPO=sjtucaocao/javet
ARG JAVET_V8_VERSION=11.9.169.6
ARG JAVET_V8_VERSION=12.0.267.5

FROM ${JAVET_REPO}:arm64-base-jvm

Expand Down
2 changes: 1 addition & 1 deletion docker/linux-x86_64/base_all_in_one.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# Usage: docker build -t sjtucaocao/javet:3.0.2 -f docker/linux-x86_64/base_all_in_one.Dockerfile .

ARG JAVET_NODE_VERSION=20.9.0
ARG JAVET_V8_VERSION=11.9.169.6
ARG JAVET_V8_VERSION=12.0.267.5

FROM ubuntu:20.04
WORKDIR /
Expand Down
6 changes: 3 additions & 3 deletions docker/linux-x86_64/base_v8.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
# limitations under the License.

# Usage: docker build \
# -t sjtucaocao/javet:x86_64-base-v8_11.9.169.6 \
# -t sjtucaocao/javet:x86_64-base-v8_12.0.267.5 \
# --build-arg JAVET_REPO=sjtucaocao/javet \
# --build-arg JAVET_V8_VERSION=11.9.169.6 \
# --build-arg JAVET_V8_VERSION=12.0.267.5 \
# -f docker/linux-x86_64/base_v8.Dockerfile .

ARG JAVET_REPO=sjtucaocao/javet
ARG JAVET_V8_VERSION=11.9.169.6
ARG JAVET_V8_VERSION=12.0.267.5

FROM ${JAVET_REPO}:x86_64-base-jvm

Expand Down
2 changes: 1 addition & 1 deletion docker/windows-x86_64/base.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
# Usage: docker build -t sjtucaocao/javet-windows:3.0.2 -m 4G -f docker/windows-x86_64/base.Dockerfile .

ARG JAVET_NODE_VERSION=20.9.0
ARG JAVET_V8_VERSION=11.9.169.6
ARG JAVET_V8_VERSION=12.0.267.5

# https://hub.docker.com/_/microsoft-windows
FROM mcr.microsoft.com/windows:20H2-amd64
Expand Down
5 changes: 5 additions & 0 deletions docs/release_notes/release_notes_3_0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Release Notes 3.0.x
===================

3.0.2 V8 v12.0
--------------

* Upgraded V8 to ``v12.0.267.5`` (2023-11-14)

3.0.1 V8 v11.9
--------------

Expand Down
2 changes: 1 addition & 1 deletion scripts/python/change_node_v8_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def update(self) -> None:
def main():
change_node_version = ChangeNodeVersion('20.9.0')
change_node_version.update()
change_v8_version = ChangeV8Version('11.9.169.6')
change_v8_version = ChangeV8Version('12.0.267.5')
change_v8_version.update()
return 0

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/caoccao/javet/enums/JSRuntimeType.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public enum JSRuntimeType {
*/
V8(
"v8",
"11.9.169.6",
"12.0.267.5",
V8RuntimeOptions::new,
o -> o instanceof V8RuntimeOptions);

Expand Down

0 comments on commit f8e5453

Please sign in to comment.