Commit Graph

320 Commits

Author SHA1 Message Date
866d86ccf7 Update 0.x package versions 2024-04-05 19:15:29 +03:30
a180dade7f Release 4.2.8 2024-04-05 18:45:47 +03:30
999109c006 Minor leftover fixes 2024-04-03 13:44:27 +11:00
cfc80c82b6 Update 0.x package versions 2024-03-19 11:44:09 +03:30
b5000207b4 Release 4.2.7 2024-03-19 11:44:09 +03:30
03ca2dc7ea Update 0.x package versions 2024-03-03 11:46:58 +03:30
209968b205 Release 4.2.6 2024-03-03 11:26:50 +03:30
e2cd9a97ce Fixed all linting errors 2024-02-07 14:06:26 +01:00
a478f81d02 deps: Unify wasmparser usage to a single version
Upgrade the wasmparser version used by all crates to 0.121.0, and switch
to a shared workspace dependency.
2024-01-31 22:14:27 +01:00
5ecd2e5a72 fix(cli): publish: Fix panick + Make waiting for build results more modular
* Fixes a panic due to nested tokio runtimes

* Exposes a --wait flag, which only waits for the container, and a
--wait-all flag, which also waits for bindings and native executables.
2024-01-26 16:02:37 +01:00
c140724a32 chore: Merge backend-cli and cli crates 2024-01-25 14:32:56 +01:00
b5ce997b1c Update Cargo.toml to be more in line with the rest of the repo 2024-01-04 16:36:11 +08:00
72457d0ae8 Fix cli integration tests 2024-01-04 16:36:11 +08:00
acd63b15ec Don't use native TLS feature in tokio tungstenite 2024-01-04 16:36:10 +08:00
ca69dac8f0 Check for webc, bindings, exe generation with --wait flag
when the `--wait` flag is specified, subscribe to the `packageVersionReady`
subscription and wait for webc, bindings, exes to be generated.
2024-01-04 16:34:56 +08:00
febb108e6f Update backend schema 2024-01-04 16:34:56 +08:00
e9f28967e8 Make publish command call async 2024-01-04 16:34:56 +08:00
dd6acd6f02 Add ability to call graphql subscriptions 2024-01-04 16:34:55 +08:00
67c060b1f6 Setup dependencies to add subscription support
Update graphql-client version, update `tokio` version, and add `graphql-ws-client` and
`tokio-tungstenite` as new dependencies.
2024-01-04 16:34:54 +08:00
04c49aee4e Update 0.x package versions 2023-12-23 12:12:20 +03:30
893f96acae Release 4.2.5 2023-12-23 11:45:27 +03:30
4d63febf9d Release 4.2.4 (#4337) 2023-11-30 21:16:20 +03:30
e6438738d8 Merge pull request #4328 from wasmerio/packge-publish-wait-flag 2023-11-29 00:32:14 +05:45
c6e08a71c1 Make linter happy 2023-11-28 19:32:33 +05:45
f2caffd5d0 Use humantime for timeout duration 2023-11-28 19:32:10 +05:45
141db45437 fix: Visibility validation no longer fails when publishing a new package 2023-11-28 14:30:19 +08:00
d4bee712d3 Split the try_chunked_uploading function into smaller ones
This makes it much more readable
2023-11-25 05:02:51 +05:45
66cf4f5f8b use timeout (defaulting to 30 seconds) for chunked upload of targz file 2023-11-25 04:25:21 +05:45
62a6b734c6 Use execute_query_with_timeout to fetch the signed url as well 2023-11-25 04:18:48 +05:45
ad152541ed minor renaming of variables 2023-11-25 04:18:36 +05:45
375c589f7d Introduce --wait flage to package publish
The wait flag gets propagated to the backend via graphql params. This makes it
so publish package waits for webc generation too pass.
2023-11-24 20:50:02 +05:45
2de48f4ab9 fix(cli): Pass auth token when querying packages
Need to pass an auth token to the package query, otherwise it would fail
due to not being able to query the private package.
2023-11-13 12:36:05 +01:00
9f7b7eb8ec feat(cli): Add package build/download/unpack commands
Adds a new CLI command for working with packages:

* package download: download a package from a registry
* build: build a package from a wasmer.toml manifest
* unpack: extract package contents
2023-11-13 12:26:20 +01:00
c4e4a23663 Added an interactive prompt so users can decide whether validation errors abort publishing 2023-11-08 16:02:42 +08:00
51874448d7 Introduced a ValidationPolicy for dictating user interactions with the validator code 2023-11-08 16:02:41 +08:00
ed7eb674bd feat: The wasmer publish command now tells the registry when a package is private 2023-11-08 16:02:41 +08:00
1811dccaac chore: Updated the registry's GraphQL schema 2023-11-08 16:02:40 +08:00
cbf29c7723 Update 0.x package versions 2023-10-26 20:10:07 +03:30
3068bf9363 Release 4.2.3 2023-10-26 18:19:08 +03:30
64a041b7b8 refactor: remove personal username 2023-10-24 14:13:02 +01:00
fbb4355a30 add: tests for wai tar gz 2023-10-24 14:11:20 +01:00
fe3613e29a fix: module path using stripping a prefix 2023-10-24 13:30:02 +01:00
be7e04e0f9 Update package versions 2023-10-04 17:23:04 +03:30
c3f215859d Release 4.2.2 2023-10-04 17:06:23 +03:30
9302066d32 Update package versions 2023-09-28 16:37:08 +04:00
1f7004d659 Release 4.2.1 2023-09-28 16:15:57 +04:00
c6f5e2405b Updating to the latest wasmer-toml and webc versions 2023-09-27 09:22:31 +08:00
524c94c71f Bumped 0.x crates and downgrade a few other cratest that needed rust 1.70 2023-09-05 15:41:51 +02:00
6213c0d8e5 Release 4.2.0 2023-09-05 15:08:50 +02:00
771014d2db Bumped v0.x crate version 2023-08-21 15:01:10 +02:00