Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] feat: upgrade codebase to deno 2.1.3 #496

Open
wants to merge 79 commits into
base: main
Choose a base branch
from

Conversation

nyannyacha
Copy link
Contributor

What kind of change does this PR introduce?

Feature

Description

...WIP

@nyannyacha nyannyacha added this to the Deno 2.1 LTS milestone Feb 19, 2025
nyannyacha and others added 26 commits February 19, 2025 06:59
# Conflicts:
#	crates/base/tests/integration_tests.rs
…/tracing` feature flag is not enabled (supabase#469)

* fix(ext/event_worker): add a feature flag

* chore(cli): update `Cargo.toml`

* chore: update `Cargo.lock`
…ase#471)

* fix: allow setting static patterns when creating a user worker

* fix: clippy

* fix: make static_patterns optional

* formatting

* Trigger Build
* fix: Use entrypoint path as static file root when available.

* fix(graph): don't spawn tasks in the current runtime

* fix: fmt

* stamp: typing

* stamp(graph): use semaphore to ensure strong count is exactly one

---------

Co-authored-by: Nyannyacha <[email protected]>
…se#483)

* fix(sb_ai): prevent creation of invalid ort tensors refs

- ERROR: If a blank data `Tensor` is created and then used to feed
`Session` it will panic! with "Segmentation Fault: 11" error. So we must
prevent it by checking if the `Tensor` size reflects in its `dim shape`

* fix(ext/ai): add an utility crate

* chore: update `Cargo.lock`

* stamp: use `v8_do` instead of initialize v8 platform manually

---------

Co-authored-by: Nyannyacha <[email protected]>
* chore: update dependencies

* chore: update `Cargo.lock`

* feat(ext/node): bump up `crypto` to v1.46.3
* chore: send code coverage to Coveralls

Using llvm-cov to generate coverage reports
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.66 to 0.10.70.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](sfackler/rust-openssl@openssl-v0.10.66...openssl-v0.10.70)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	DEVELOPERS.md
#	cli/Cargo.toml
#	crates/base/src/deno_runtime.rs
#	crates/base/src/worker/pool.rs
#	crates/base/tests/integration_tests.rs
#	crates/fs/impl/deno_compile_fs.rs
#	crates/fs/impl/static_fs.rs
#	crates/fs/impl/virtual_fs.rs
#	crates/fs/lib.rs
#	crates/fs/rt.rs
#	crates/graph/graph_util.rs
#	crates/graph/lib.rs
#	crates/module_loader/standalone/mod.rs
#	examples/main/index.ts
#	examples/serve-html/index.ts
#	ext/ai/Cargo.toml
#	ext/ai/onnxruntime/tensor.rs
#	ext/ai/utilities/Cargo.toml
#	ext/ai/utilities/lib.rs
#	ext/core/js/bootstrap.js
#	ext/core/js/namespaces.js
#	ext/event_worker/Cargo.toml
#	ext/event_worker/js_interceptors.rs
#	ext/node/Cargo.toml
#	ext/node/lib.rs
#	ext/node/ops/crypto/cipher.rs
#	ext/node/ops/crypto/dh.rs
#	ext/node/ops/crypto/keys.rs
#	ext/node/ops/crypto/mod.rs
#	ext/node/ops/crypto/pkcs3.rs
#	ext/node/ops/crypto/sign.rs
#	ext/node/ops/crypto/x509.rs
#	ext/node/polyfills/internal/crypto/cipher.ts
#	ext/node/polyfills/internal/crypto/keygen.ts
#	ext/workers/lib.rs
@nyannyacha nyannyacha changed the title feat: upgrade codebase to deno 2.1.3 [DO NOT MERGE] feat: upgrade codebase to deno 2.1.3 Feb 21, 2025
@nyannyacha
Copy link
Contributor Author

nyannyacha commented Feb 21, 2025

Now develop branch is based on this PR, so we don't need to merge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants