Skip to content

Commit 0671529

Browse files
committed
chore: bump and release → 1.0.0-beta1
feat: transition to warmed preamble scripts fix: disable embedded jvm until ready for release fix: make abi validation optional fix: warning fixes to build in strict mode fix: restore python vfs support fix: package of native macos fixes fix: static args availability in cli fix: reflection metadata for pkl fix: reflection metadata for jna fix: synethetic module default exports chore: build kotlin in strict mode chore: drop checkstyle/pmd until in use chore: bump rust dependencies chore: bump `uv` → latest chore: bump `ruff` → latest chore: bump `oxc` → latest chore: bump `java` minimum → jvm21 chore: upgrade kotlin → `2.1.20-RC2` chore: adopt kdl v2 format for package lock chore: upgrade micronaut catalog → `4.5.0` chore: upgrade micronaut lib → `4.8.6` chore: upgrade disruptor → `4.0.0` chore: upgrade pnpm → `10.6.2` chore: update detekt baselines chore: upgrade oro kdl lockfile chore: update gradle lockfiles chore: update verification metadata chore: fmt Fixes and closes #1290 This revision will initially be released at tag `1.0.0-alpha15`, which will be used to bootstrap and release the `1.0.0-beta1` build. Signed-off-by: Sam Gammon <[email protected]>
1 parent d54a8fe commit 0671529

File tree

174 files changed

+17199
-21349
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

174 files changed

+17199
-21349
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#
2+
# Copyright (c) 2024 Elide Technologies, Inc.
3+
#
4+
# Licensed under the MIT license (the "License"); you may not use this file except in compliance
5+
# with the License. You may obtain a copy of the License at
6+
#
7+
# https://opensource.org/license/mit/
8+
#
9+
# Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
10+
# an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
11+
# License for the specific language governing permissions and limitations under the License.
12+
#
13+
14+
[build]
15+
rustflags = [
16+
# Enforce completely position-independent executables.
17+
"-Crelocation-model=pic",
18+
19+
# Link with LLD through clang; enable linker plugin LTO.
20+
"-Clinker=clang-19",
21+
"-Clink-arg=-fuse-ld=lld-19",
22+
"-Clinker-plugin-lto",
23+
24+
# Static linking only on musl.
25+
"-Ctarget-feature=+crt-static",
26+
27+
# Target CPU.
28+
"-Ctarget-cpu=x86-64-v3",
29+
]
30+
31+
[env]
32+
ELIDE_ROOT = { value = ".", relative = true }
33+
SQLITE3_STATIC = { value = "1" }
34+
SQLITE3_LIB_DIR = { value = "third_party/sqlite/install/lib", relative = true }
35+
SQLITE3_INCLUDE_DIR = { value = "third_party/sqlite/install/include", relative = true }

.cargo/config.x86_64.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,5 @@ ELIDE_ROOT = { value = ".", relative = true }
2525
INCLUDE = { value = "target/include", relative = true }
2626
LIB = { value = "target/lib", relative = true }
2727
SQLITE3_STATIC = { value = "1" }
28-
BORING_BSSL_PATH = { value = "target/lib/boringssl", relative = true }
29-
BORING_BSSL_INCLUDE_PATH = { value = "target/include", relative = true }
30-
OPENSSL_LIB_DIR = { value = "target/lib", relative = true }
31-
OPENSSL_INCLUDE_DIR = { value = "target/include", relative = true }
3228
SQLITE3_LIB_DIR = { value = "target/lib", relative = true }
3329
SQLITE3_INCLUDE_DIR = { value = "target/include", relative = true }

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM mcr.microsoft.com/devcontainers/base:ubuntu-24.04
55
LABEL org.opencontainers.image.vendor=Elide
66
LABEL org.opencontainers.image.title="Elide Codespace"
77
LABEL org.opencontainers.image.description="Elide runtime within a GitHub Codespace"
8-
LABEL org.opencontainers.image.version=1.0.0-alpha14
8+
LABEL org.opencontainers.image.version=1.0.0-beta1
99
LABEL org.opencontainers.image.url=https://github.com/elide-dev/elide
1010
LABEL org.opencontainers.image.base.name=mcr.microsoft.com/devcontainers/base
1111
LABEL org.opencontainers.image.source=https://github.com/elide-dev/elide/blob/main/.devcontainer/Elide.devcontainer

.github/CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,13 @@ Check the `gradle.properties` file at the project root to see all available opti
172172
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:
173173

174174
```kotlin
175-
implementation("dev.elide:elide-graalvm:1.0.0-alpha14")
175+
implementation("dev.elide:elide-graalvm:1.0.0-beta1")
176176
```
177177

178178
or for Groovy scripts:
179179

180180
```groovy
181-
implementation 'dev.elide:elide-graalvm:1.0.0-alpha14'
181+
implementation 'dev.elide:elide-graalvm:1.0.0-beta1'
182182
```
183183

184184
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:

.github/workflows/checks.apicheck.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
- name: "Setup: PNPM"
9999
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
100100
with:
101-
version: "10.5.2"
101+
version: "10.6.2"
102102
run_install: |
103103
- recursive: true
104104
args: [--frozen-lockfile, --strict-peer-dependencies]
@@ -128,7 +128,7 @@ jobs:
128128
cache-encryption-key: ${{ secrets.GRADLE_CONFIGURATION_KEY }}
129129
- name: "Analysis: API Check"
130130
run: |
131-
./gradlew apiCheck \
131+
./gradlew -Pelide.abiValidate=true apiCheck \
132132
-x test \
133133
-x nativeCompile \
134134
-x nativeOptimizedCompile \

.github/workflows/checks.formatting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
- name: "Setup: PNPM"
101101
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
102102
with:
103-
version: "10.5.2"
103+
version: "10.6.2"
104104
run_install: |
105105
- recursive: true
106106
args: [--frozen-lockfile, --strict-peer-dependencies]

.github/workflows/job.build.yml

Lines changed: 55 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ name: Framework
140140

141141
env:
142142
RUST_BACKTRACE: full
143-
ELIDE_VERSION: "1.0.0-alpha14"
143+
ELIDE_VERSION: "1.0.0-alpha15"
144144
BUILDLESS_APIKEY: ${{ secrets.BUILDLESS_APIKEY }}
145145

146146
permissions:
@@ -193,39 +193,90 @@ jobs:
193193
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
194194
with:
195195
disable-sudo: false
196-
egress-policy: audit
196+
egress-policy: block
197197
allowed-endpoints: >
198198
agent.less.build:443
199199
androidx.dev:443
200+
api.codecov.io:443
201+
api.foojay.io:443
200202
api.github.com:443
203+
api.nuget.org:443
204+
api.sonarcloud.io:443
205+
apt.llvm.org:443
206+
apt.llvm.org:80
207+
azure.archive.ubuntu.com:80
208+
bun.sh:443
209+
cli.codecov.io:443
201210
cli.less.build:443
211+
crates.io:443
202212
d3ob9fqp587by1.cloudfront.net:443
213+
dc.services.visualstudio.com:443
214+
dl.elide.dev:443
203215
dl.google.com:443
204216
dl.less.build:443
205217
download-cdn.jetbrains.com:443
206218
download.jetbrains.com:443
207219
download.oracle.com:443
220+
downloads.gradle.org:443
221+
ea6ne4j2sb.execute-api.eu-central-1.amazonaws.com:443
208222
edge.pkg.st:443
209-
maven.elide.dev:443
223+
elide-snapshots.storage-download.googleapis.com:443
224+
elide.sh:80
225+
elide.zip:443
226+
esm.ubuntu.com:443
227+
files.pythonhosted.org:443
228+
github.com:22
210229
github.com:443
211230
global.less.build:443
231+
go.dev:443
232+
google.com:443
233+
gradle.less.build:443
212234
gradle.pkg.st:443
235+
ha.pool.sks-keyservers.net:11371
236+
httpbin.org:443
237+
index.crates.io:443
238+
ingest.codecov.io:443
239+
jcenter.bintray.com:443
240+
jitpack.io:443
213241
jpms.pkg.st:443
242+
keybase.io:443
214243
keys.openpgp.org:443
215244
keyserver.ubuntu.com:443
216245
local.less.build:443
246+
maven.elide.dev:443
217247
maven.pkg.jetbrains.space:443
218248
maven.pkg.st:443
249+
mirror.bazel.build:443
250+
motd.ubuntu.com:443
219251
nodejs.org:443
220252
npm.pkg.st:443
253+
o26192.ingest.us.sentry.io:443
221254
objects.githubusercontent.com:443
255+
oss.sonatype.org:443
256+
packages.microsoft.com:443
222257
pgp.mit.edu:443
223258
plugins-artifacts.gradle.org:443
224259
plugins.gradle.org:443
260+
projectlombok.org:443
261+
proxy.golang.org:443
262+
pypi.org:443
263+
raw.githubusercontent.com:443
225264
registry.npmjs.org:443
265+
registry.yarnpkg.com:443
266+
releases.bazel.build:443
226267
repo.maven.apache.org:443
268+
repo1.maven.org:443
269+
sc-cleancode-sensorcache-eu-central-1-prod.s3.amazonaws.com:443
270+
scanner.sonarcloud.io:443
227271
scans-in.gradle.com:443
228272
services.gradle.org:443
273+
sonarcloud.io:443
274+
static.crates.io:443
275+
static.rust-lang.org:443
276+
storage.googleapis.com:443
277+
www.google.com:443
278+
www.googleapis.com:443
279+
ziglang.org:443
229280
- name: "Setup: Checkout"
230281
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
231282
with:
@@ -263,7 +314,7 @@ jobs:
263314
- name: "Setup: PNPM"
264315
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
265316
with:
266-
version: "10.5.2"
317+
version: "10.6.2"
267318
- name: "Setup: Elide"
268319
run: curl -sSL --tlsv1.2 elide.sh | bash -s - --install-rev=${{ env.ELIDE_VERSION }} && echo "$HOME/elide" >> $GITHUB_PATH
269320
- name: "Setup: Dependencies"
@@ -279,8 +330,6 @@ jobs:
279330
. .venv/bin/activate
280331
echo PATH=$PATH >> $GITHUB_ENV
281332
echo "Installing dependencies..."
282-
mkdir -p $HOME/.config/orogene
283-
cp -fv ./.github/workflows/oro.kdl $HOME/.config/orogene/oro.kdl
284333
elide install
285334
- name: "Setup: Gradle"
286335
uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0

.github/workflows/job.cli.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ jobs:
205205
- name: "Setup: PNPM"
206206
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
207207
with:
208-
version: "10.5.2"
208+
version: "10.6.2"
209209
run_install: |
210210
- recursive: true
211211
args: [--frozen-lockfile, --strict-peer-dependencies]
@@ -359,7 +359,7 @@ jobs:
359359
- name: "Setup: PNPM"
360360
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
361361
with:
362-
version: "10.5.2"
362+
version: "10.6.2"
363363
run_install: |
364364
- recursive: true
365365
args: [--frozen-lockfile, --strict-peer-dependencies]

.github/workflows/job.containers.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ jobs:
209209
- name: "Setup: PNPM"
210210
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
211211
with:
212-
version: "10.5.2"
212+
version: "10.6.2"
213213
run_install: |
214214
- recursive: true
215215
args: [--frozen-lockfile, --strict-peer-dependencies]
@@ -321,7 +321,7 @@ jobs:
321321
- name: "Setup: PNPM"
322322
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
323323
with:
324-
version: "10.5.2"
324+
version: "10.6.2"
325325
run_install: |
326326
- recursive: true
327327
args: [--frozen-lockfile, --strict-peer-dependencies]

.github/workflows/job.test.yml

Lines changed: 48 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ permissions:
137137
env:
138138
CI: "true"
139139
RUST_BACKTRACE: full
140-
ELIDE_VERSION: "1.0.0-alpha14"
140+
ELIDE_VERSION: "1.0.0-alpha15"
141141

142142
jobs:
143143
##
@@ -159,48 +159,90 @@ jobs:
159159
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
160160
with:
161161
disable-sudo: false
162-
egress-policy: audit
162+
egress-policy: block
163163
allowed-endpoints: >
164164
agent.less.build:443
165-
static.rust-lang.org:443
166165
androidx.dev:443
167166
api.codecov.io:443
168167
api.foojay.io:443
169168
api.github.com:443
169+
api.nuget.org:443
170+
api.sonarcloud.io:443
171+
apt.llvm.org:443
172+
apt.llvm.org:80
173+
azure.archive.ubuntu.com:80
174+
bun.sh:443
170175
cli.codecov.io:443
171176
cli.less.build:443
177+
crates.io:443
172178
d3ob9fqp587by1.cloudfront.net:443
173179
dc.services.visualstudio.com:443
180+
dl.elide.dev:443
174181
dl.google.com:443
175182
dl.less.build:443
176183
download-cdn.jetbrains.com:443
177184
download.jetbrains.com:443
178185
download.oracle.com:443
186+
downloads.gradle.org:443
179187
ea6ne4j2sb.execute-api.eu-central-1.amazonaws.com:443
180188
edge.pkg.st:443
181-
maven.elide.dev:443
189+
elide-snapshots.storage-download.googleapis.com:443
190+
elide.sh:80
191+
elide.zip:443
192+
esm.ubuntu.com:443
193+
files.pythonhosted.org:443
182194
github.com:22
183195
github.com:443
184196
global.less.build:443
197+
go.dev:443
198+
google.com:443
199+
gradle.less.build:443
185200
gradle.pkg.st:443
201+
ha.pool.sks-keyservers.net:11371
202+
httpbin.org:443
203+
index.crates.io:443
204+
ingest.codecov.io:443
205+
jcenter.bintray.com:443
206+
jitpack.io:443
186207
jpms.pkg.st:443
208+
keybase.io:443
187209
keys.openpgp.org:443
188210
keyserver.ubuntu.com:443
189211
local.less.build:443
212+
maven.elide.dev:443
190213
maven.pkg.jetbrains.space:443
191214
maven.pkg.st:443
215+
mirror.bazel.build:443
216+
motd.ubuntu.com:443
192217
nodejs.org:443
193218
npm.pkg.st:443
219+
o26192.ingest.us.sentry.io:443
194220
objects.githubusercontent.com:443
221+
oss.sonatype.org:443
222+
packages.microsoft.com:443
195223
pgp.mit.edu:443
224+
plugins-artifacts.gradle.org:443
225+
plugins.gradle.org:443
226+
projectlombok.org:443
227+
proxy.golang.org:443
228+
pypi.org:443
229+
raw.githubusercontent.com:443
196230
registry.npmjs.org:443
231+
registry.yarnpkg.com:443
232+
releases.bazel.build:443
197233
repo.maven.apache.org:443
234+
repo1.maven.org:443
198235
sc-cleancode-sensorcache-eu-central-1-prod.s3.amazonaws.com:443
199236
scanner.sonarcloud.io:443
200237
scans-in.gradle.com:443
201238
services.gradle.org:443
202239
sonarcloud.io:443
240+
static.crates.io:443
241+
static.rust-lang.org:443
203242
storage.googleapis.com:443
243+
www.google.com:443
244+
www.googleapis.com:443
245+
ziglang.org:443
204246
- name: "Setup: Checkout"
205247
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
206248
with:
@@ -256,7 +298,7 @@ jobs:
256298
- name: "Setup: PNPM"
257299
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
258300
with:
259-
version: "10.5.2"
301+
version: "10.6.2"
260302
- name: "Setup: Elide"
261303
run: curl -sSL --tlsv1.2 elide.sh | bash -s - --install-rev=${{ env.ELIDE_VERSION }} && echo "$HOME/elide" >> $GITHUB_PATH
262304
- name: "Setup: Dependencies"
@@ -272,8 +314,6 @@ jobs:
272314
. .venv/bin/activate
273315
echo PATH=$PATH >> $GITHUB_ENV
274316
echo "Installing dependencies..."
275-
mkdir -p $HOME/.config/orogene
276-
cp -fv ./.github/workflows/oro.kdl $HOME/.config/orogene/oro.kdl
277317
elide install
278318
- name: "Setup: Artifacts"
279319
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
@@ -512,7 +552,7 @@ jobs:
512552
- name: "Setup: PNPM"
513553
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
514554
with:
515-
version: "10.5.2"
555+
version: "10.6.2"
516556
run_install: |
517557
- recursive: true
518558
args: [--frozen-lockfile, --strict-peer-dependencies]

0 commit comments

Comments
 (0)