Commit Graph

81 Commits

Author SHA1 Message Date
f9ebde4125 feat(cli/logout): Add option to revoke token 2024-07-25 14:45:48 +02:00
b35dd29461 feat(cli): Move WasmerConfig out of the registry_api create and introduce a logout subcommand 2024-07-24 18:13:16 +02:00
3a16fd76ac update 0.x package versions 2024-07-16 20:55:23 +03:30
e1b8201def fix(backend-api): Remove useless sanity checks 2024-07-16 17:03:35 +02:00
964f751099 Merge branch 'main' into edge-secrets 2024-07-16 12:01:27 +02:00
481e19fe7f Merge remote-tracking branch 'origin/main' into run-264-upgrade-to-http-10 2024-07-16 08:51:35 +00:00
1121f357ac Merge remote-tracking branch 'origin/main' into edge-secrets 2024-07-15 15:36:32 +02:00
97c6442f49 feat(cli/secrets): Add secret subcommand to wasmer app 2024-07-15 14:19:14 +02:00
53b5c3b902 Merge pull request #4920 from wasmerio/backend-api-wasm32
Compile `wasmer-api` crate to `wasm32-unknown-unknown`
2024-07-12 09:39:41 +00:00
f5bee5d474 Upgrade hyper to 1.0 across the repo 2024-07-11 15:34:48 +00:00
17b7758678 fix(backend-api): Use "wasm32-unknown-unknown" in #cfgs 2024-07-11 11:03:20 +02:00
5dcc9f8229 feat(backend-api): Take into account wasm32-wasmer-wasi targets 2024-07-10 10:52:06 +02:00
3c88d238e5 fix(backend-api): Remove unneeded dependency and fix typo in target_family cfg 2024-07-08 12:59:41 +02:00
9d458fabda fix(backend-api): Remove unused serde-wasm-bindgen dependency 2024-07-04 17:57:27 +02:00
2c77bb0242 update 0.x packages 2024-07-04 03:02:00 +03:30
ea3b707a04 chore(backend-api): Make linter happy 2024-07-03 18:46:19 +02:00
bb361389cd Merge remote-tracking branch 'origin/main' into backend-api-wasm32 2024-07-03 18:43:53 +02:00
144131f873 fix(wasmer-api): Resolve compilation issues when targeting wasm32 2024-07-03 18:41:33 +02:00
cd5f6d67f2 feat(backend-api): Add query for retrieving app versions by id 2024-06-28 11:22:07 +02:00
5750fdacc0 fix(cli/app-create): Ask for language instead of framework 2024-06-26 12:15:25 +02:00
5ff0ac611c feat(cli/app-create): Ask for framework before fetching templates 2024-06-25 16:29:33 +02:00
9fb946beb6 feat(backend-api): Add Distribution::webc_manifest field
Had to update the schema as well.
2024-06-19 21:41:53 +02:00
b15a75f45d feat(cli/package-tag): Manifest is not mandatory anymore 2024-06-14 17:28:35 +02:00
aec3aeb2bb update 0.x package versions 2024-06-11 18:57:17 +03:30
6d7d761d9a feat: Implement smarter app template caching:
* Always use the cache for a given period (1h)
* If cache is older than that, just fetch the first page, and compare
  if no changes, then can re-use the cache
* Otherwise, refetch all
2024-06-11 13:03:42 +02:00
c9061b17b5 feat(backend-api): App template improvements
* Add fetch_all_app_templates() helper
* Allow sorting of templates
* Make AppTemplate serializable

NOTE: requires a version bump due to a breaking api change
2024-06-11 12:06:54 +02:00
0bf8682daf refactor(backend-api)!: Rename GetCurrentUser, add GetCurrentUserWithNamespaces
Make the GetCurrentUser query only return a plain user without
namespaces.

Rename the current function/query to GetCurrentUserWithNamespaces,
get_current_user_with_namespaces.

This makes more sense , since the namespace query adds quite a lot of
extra work.
2024-06-08 23:54:23 +02:00
7f14008614 feat(backend-api): Add app cache purging 2024-06-05 19:21:13 +02:00
75258cda33 Use _strict so the error from backend is reported
this is necessary because otherwise, auth-related issues are
misinterpreted as backend failures.

closes #4767
2024-05-31 13:39:34 +05:45
9a6f1bc030 update 0.x package versions 2024-05-23 17:36:04 +03:30
e8c35d762d fix(cli): Actively wait for packages only after tag
Before we waited for native executables, bindings and so forth after
pushing a package. This patch moves this wait after tagging it - that
is, when a package version is actually available.
2024-05-22 17:08:18 +02:00
c7d2662333 Merge remote-tracking branch 'origin/main' into new-templates 2024-05-17 11:46:24 +02:00
459f7d0aa8 feat(cli): Don't tag twice
If a package with hash `x` was tagged with `namespace/name@version` and
the user wants (or ends up trying) to tag the package with the same
`namespace/name@version`, just conclude with a nop and don't send the
tag to the backend
2024-05-17 11:33:02 +02:00
6b9afb91cf [improvement] Support fetching logs for app-ids too
using the `AppIdentOpts` instead of `Identifier`, the `logs`
subcommand can now fetch get a `DeployApp` instance from an ID, or a
name or an alias.

misc: this commit also cleans up the formatting a little bit.
2024-05-16 12:58:47 +02:00
29610f069b Merge branch 'main' into new-templates 2024-05-15 19:24:56 +02:00
fc6471e46c feat(cli): Use registry templates to create new apps 2024-05-15 19:24:05 +02:00
b663584126 [bugfix] correct error message when app version is not found 2024-05-14 17:21:24 +02:00
5cd06f39b5 update 0.x package versions 2024-05-08 18:29:45 +03:30
3377910f26 Merge branch 'main' into 4.3.0-alpha.1-leftover-fixes 2024-05-08 17:27:13 +03:30
0f2f558fa9 [skip ci] new publish flow 2024-05-07 17:31:18 +02:00
f60ae5da13 feat(backend-api): Add permalink to DeployApp 2024-04-25 22:54:21 +02:00
265ecc9b12 Update wasmer-config dependency 2024-04-25 17:39:48 +03:30
699a8c4fcd Renamed all master -> main 2024-04-25 14:19:05 +02:00
62567444a1 Update 0.x package versions 2024-04-25 07:28:45 +03:30
ff0dc50418 fix linting 2024-04-24 18:58:25 +03:30
2bf3e75f03 deps: webc upgrade + lift to workspace deps
* Switch webc crate from git dependency to 6.0.0-alpha1
* Lift all webc crate dependencies to be a workspace dependency
2024-04-22 21:00:03 +02:00
82d248abdf feat(backend-api): Add PackageWebc::webc_v3 field 2024-04-22 18:47:43 +02:00
48f38e4114 backend-api: Some more fields 2024-04-22 18:10:08 +02:00
b52185f0af fix(backend-api): Forward variables for getAllPackageReleases query 2024-04-22 17:21:23 +02:00
f72807ef48 refactor: Replace edge-schema with wasmer-config types 2024-04-22 17:18:16 +02:00