Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
fc4859f
chore: bump and release → `1.0.0-beta1`
sgammon Mar 10, 2025
add415f
chore: use default runner / ci updates
sgammon Mar 15, 2025
6c4d90d
fix: python startup latency
sgammon Mar 15, 2025
7619840
fix: re-enable aux cache
sgammon Mar 15, 2025
eddb68a
docs: fixes for apidocs
sgammon Mar 15, 2025
dae67b8
fix: relative js module imports
sgammon Mar 15, 2025
1ec9ae1
fix: defer `structuredClone` parse and setup
sgammon Mar 16, 2025
e7fdee5
chore: cleanup unused jars
sgammon Mar 16, 2025
9c5fe76
fix: relative ts module imports
sgammon Mar 16, 2025
f2529c4
test: enhance smoke testing
sgammon Mar 16, 2025
377dcad
fix: async fs access via guest executor
sgammon Mar 16, 2025
7687a44
fix: brotli loader on jvm
sgammon Mar 16, 2025
ac9e858
fix: ugly messages for simple runner errors
sgammon Mar 16, 2025
e92f8da
fix: path to test scripts (via root)
sgammon Mar 16, 2025
bef091c
test: python/ts interop smoke tests
sgammon Mar 16, 2025
aa77f9d
feat: python esm imports in js/ts
sgammon Mar 16, 2025
6f46918
chore: update detekt baseline
sgammon Mar 16, 2025
a7795ea
chore: update api pins
sgammon Mar 16, 2025
c02272b
chore: crate updates
sgammon Mar 16, 2025
208ac5b
chore: `pnpm update -r --latest`
sgammon Mar 16, 2025
4f5273f
fix: reflection metadata for http intrinsic
sgammon Mar 16, 2025
aeb2010
chore: cleanup/reorgnize root files
sgammon Mar 16, 2025
a93ad77
chore: move protos to `packages/proto`
sgammon Mar 16, 2025
f062e7a
fix: pnpm in ci
sgammon Mar 16, 2025
90ad2d5
fix: native test metadata
sgammon Mar 16, 2025
b23dc9d
fix: `AbortSignal` factory
sgammon Mar 16, 2025
606c4de
feat: installation analytics
sgammon Mar 16, 2025
2abcac1
chore: readme updates for `beta1`
sgammon Mar 16, 2025
a23d863
chore: adopt `beta1` in ci, deploy as latest
sgammon Mar 16, 2025
e7b5a3f
chore: ci updates for `beta1`
sgammon Mar 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
35 changes: 35 additions & 0 deletions .cargo/config.clang-musl-x86_64.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#
# Copyright (c) 2024 Elide Technologies, Inc.
#
# Licensed under the MIT license (the "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# https://opensource.org/license/mit/
#
# Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
# an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under the License.
#

[build]
rustflags = [
# Enforce completely position-independent executables.
"-Crelocation-model=pic",

# Link with LLD through clang; enable linker plugin LTO.
"-Clinker=clang-19",
"-Clink-arg=-fuse-ld=lld-19",
"-Clinker-plugin-lto",

# Static linking only on musl.
"-Ctarget-feature=+crt-static",

# Target CPU.
"-Ctarget-cpu=x86-64-v3",
]

[env]
ELIDE_ROOT = { value = ".", relative = true }
SQLITE3_STATIC = { value = "1" }
SQLITE3_LIB_DIR = { value = "third_party/sqlite/install/lib", relative = true }
SQLITE3_INCLUDE_DIR = { value = "third_party/sqlite/install/include", relative = true }
4 changes: 0 additions & 4 deletions .cargo/config.x86_64.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,5 @@ ELIDE_ROOT = { value = ".", relative = true }
INCLUDE = { value = "target/include", relative = true }
LIB = { value = "target/lib", relative = true }
SQLITE3_STATIC = { value = "1" }
BORING_BSSL_PATH = { value = "target/lib/boringssl", relative = true }
BORING_BSSL_INCLUDE_PATH = { value = "target/include", relative = true }
OPENSSL_LIB_DIR = { value = "target/lib", relative = true }
OPENSSL_INCLUDE_DIR = { value = "target/include", relative = true }
SQLITE3_LIB_DIR = { value = "target/lib", relative = true }
SQLITE3_INCLUDE_DIR = { value = "target/include", relative = true }
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM mcr.microsoft.com/devcontainers/base:ubuntu-24.04
LABEL org.opencontainers.image.vendor=Elide
LABEL org.opencontainers.image.title="Elide Codespace"
LABEL org.opencontainers.image.description="Elide runtime within a GitHub Codespace"
LABEL org.opencontainers.image.version=1.0.0-alpha14
LABEL org.opencontainers.image.version=1.0.0-beta1
LABEL org.opencontainers.image.url=https://github.com/elide-dev/elide
LABEL org.opencontainers.image.base.name=mcr.microsoft.com/devcontainers/base
LABEL org.opencontainers.image.source=https://github.com/elide-dev/elide/blob/main/.devcontainer/Elide.devcontainer
Expand Down
26 changes: 0 additions & 26 deletions .eslintrc.js

This file was deleted.

4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,13 @@ Check the `gradle.properties` file at the project root to see all available opti
If you are building a JVM application that runs guest code in one of the languages supported by Elide, you can use the Runtime DSL to configure your own embedded polyglot engine:

```kotlin
implementation("dev.elide:elide-graalvm:1.0.0-alpha14")
implementation("dev.elide:elide-graalvm:1.0.0-beta1")
```

or for Groovy scripts:

```groovy
implementation 'dev.elide:elide-graalvm:1.0.0-alpha14'
implementation 'dev.elide:elide-graalvm:1.0.0-beta1'
```

The DSL is used internally by the Elide binaries and by the SSR packages and provides a simplified API to harness the power of the underlying [GraalVM](https://graalvm.org) engine:
Expand Down
File renamed without changes.
File renamed without changes.
17 changes: 8 additions & 9 deletions .github/workflows/checks.apicheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,15 @@ jobs:
- name: "Setup: Bun"
uses: oven-sh/setup-bun@4bc047ad259df6fc24a6c9b0f9a0cb08cf17fbe5 # v2.0.1
with:
bun-version-file: .bun-version
bun-version-file: config/bun-version
- name: "Setup: Elide"
uses: elide-dev/setup-elide@990b915b2974a70e7654acb1303607b4cd1d3538 # v2
with:
version: "1.0.0-alpha15" # unlisted (interim)
- name: "Setup: PNPM"
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
with:
version: "10.5.2"
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- name: "Setup: Yarn"
run: pnpm install -g [email protected]
version: "10.6.2"
- name: "Setup: GraalVM (Java 23)"
uses: graalvm/setup-graalvm@01ed653ac833fe80569f1ef9f25585ba2811baab # v1.3.3
with:
Expand All @@ -124,11 +123,11 @@ jobs:
BUILDLESS_APIKEY: ${{ secrets.BUILDLESS_APIKEY }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
cache-read-only: true
cache-read-only: false
cache-encryption-key: ${{ secrets.GRADLE_CONFIGURATION_KEY }}
- name: "Analysis: API Check"
run: |
./gradlew apiCheck \
./gradlew -Pelide.abiValidate=true apiCheck \
-x test \
-x nativeCompile \
-x nativeOptimizedCompile \
Expand Down
25 changes: 22 additions & 3 deletions .github/workflows/checks.dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,26 @@
name: "Dependencies"

"on":
workflow_dispatch: {}
workflow_call: {}
workflow_dispatch:
inputs:
head-ref:
required: true
type: string
description: "Head Ref"
base-ref:
required: false
type: string
default: 'main'
description: "Main Ref"
workflow_call:
inputs:
head-ref:
required: true
type: string
base-ref:
required: false
type: string
default: 'main'

permissions:
contents: read
Expand Down Expand Up @@ -49,4 +67,5 @@ jobs:
license-check: true
vulnerability-check: true
fail-on-severity: "low"
base-ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || 'v3' }}
head-ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || inputs.head-ref }}
base-ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || inputs.base-ref }}
2 changes: 1 addition & 1 deletion .github/workflows/checks.detekt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
BUILDLESS_APIKEY: ${{ secrets.BUILDLESS_APIKEY }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
cache-read-only: true
cache-read-only: false
cache-encryption-key: ${{ secrets.GRADLE_CONFIGURATION_KEY }}
- name: "Analysis: Detekt"
run: |
Expand Down
19 changes: 10 additions & 9 deletions .github/workflows/checks.formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,22 +90,23 @@ jobs:
- name: "Setup: Bun"
uses: oven-sh/setup-bun@4bc047ad259df6fc24a6c9b0f9a0cb08cf17fbe5 # v2.0.1
with:
bun-version-file: .bun-version
bun-version-file: config/bun-version
- name: "Setup: GraalVM (Java 23)"
uses: graalvm/setup-graalvm@01ed653ac833fe80569f1ef9f25585ba2811baab # v1.3.3
with:
distribution: "graalvm"
java-version: "23"
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: "Setup: Elide"
uses: elide-dev/setup-elide@990b915b2974a70e7654acb1303607b4cd1d3538 # v2
with:
version: "1.0.0-alpha15" # unlisted (interim)
- name: "Setup: PNPM"
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
with:
version: "10.5.2"
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- name: "Setup: Yarn"
run: pnpm install -g [email protected]
version: "10.6.2"
- name: "Setup: Dependencies"
run: pnpm install --no-lockfile --no-frozen-lockfile
- name: "Setup: Rust"
uses: actions-rust-lang/setup-rust-toolchain@9399c7bb15d4c7d47b27263d024f0a4978346ba4 # v1.11.0
with:
Expand All @@ -120,15 +121,15 @@ jobs:
BUILDLESS_APIKEY: ${{ secrets.BUILDLESS_APIKEY }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
cache-read-only: true
cache-read-only: false
cache-encryption-key: ${{ secrets.GRADLE_CONFIGURATION_KEY }}
- name: "Setup: Artifacts"
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
continue-on-error: true
with:
merge-multiple: true
- name: "Analysis: Formatting (Biome)"
run: pnpm biome check .
run: pnpm run fmt:check
- name: "Analysis: Formatting (Cargo)"
run: cargo fmt -- --check
- name: "Analysis: Formatting (Spotless)"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/checks.gradle-wrapper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
fetch-depth: 0
persist-credentials: false
- name: "Check: Gradle Wrapper"
uses: gradle/wrapper-validation-action@f9c9c575b8b21b6485636a91ffecd10e558c62f6 # v3.5.0
uses: gradle/actions/wrapper-validation@v4
4 changes: 2 additions & 2 deletions .github/workflows/checks.model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
- name: "Check: Buf Lint"
uses: bufbuild/buf-lint-action@06f9dd823d873146471cfaaf108a993fe00e5325 # v1.1.1
with:
input: proto
input: packages/proto

##
## Job: Buf Breaking
Expand Down Expand Up @@ -142,4 +142,4 @@ jobs:
continue-on-error: ${{ inputs.ignore_breaking }}
with:
against: https://github.com/elide-dev/elide.git#branch=main
input: proto
input: packages/proto
12 changes: 12 additions & 0 deletions .github/workflows/gradle-ci.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
org.gradle.daemon=true
org.gradle.parallel=true
org.gradle.caching=true
org.gradle.workers.max=8
org.gradle.configuration-cache=true
org.gradle.configuration-cache.parallel=false
org.gradle.jvmargs = -XX:MaxMetaspaceSize=512m -XX:+UseG1GC -Xmx24g --add-opens=java.base/java.util.function=ALL-UNNAMED \
--add-opens=java.base/java.util.stream=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.\
base/java.nio.channels=ALL-UNNAMED --add-opens=java.base/java.nio.channels.spi=ALL-UNNAMED --add-opens=java.base/java.\
util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED --add-opens=java.base/java.\
lang.ref=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED \
--enable-native-access=ALL-UNNAMED
Loading
Loading