@adonis-agora/media 0.30.0 → 1.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/README.md +1 -3
- package/dist/assets/spa/assets/index-C-7cKQuV.js +12 -0
- package/dist/assets/spa/assets/index-C-7cKQuV.js.map +1 -0
- package/dist/assets/spa/assets/index-Db6cSeO5.css +2 -0
- package/dist/assets/spa/index.html +2 -2
- package/dist/configure.d.ts +1 -2
- package/dist/configure.d.ts.map +1 -1
- package/dist/configure.js +1 -2
- package/dist/configure.js.map +1 -1
- package/dist/providers/dashboard_provider.d.ts +1 -2
- package/dist/providers/dashboard_provider.d.ts.map +1 -1
- package/dist/providers/dashboard_provider.js +3 -4
- package/dist/providers/dashboard_provider.js.map +1 -1
- package/dist/src/dashboard/define_config.d.ts +1 -4
- package/dist/src/dashboard/define_config.d.ts.map +1 -1
- package/dist/src/dashboard/define_config.js.map +1 -1
- package/dist/src/dashboard/index.d.ts +1 -1
- package/dist/src/dashboard/index.d.ts.map +1 -1
- package/dist/src/dashboard/service.d.ts +7 -0
- package/dist/src/dashboard/service.d.ts.map +1 -1
- package/dist/src/dashboard/service.js +31 -5
- package/dist/src/dashboard/service.js.map +1 -1
- package/dist/src/dashboard/spa.d.ts +4 -9
- package/dist/src/dashboard/spa.d.ts.map +1 -1
- package/dist/src/dashboard/spa.js +4 -9
- package/dist/src/dashboard/spa.js.map +1 -1
- package/dist/src/stores/lucid-schema.d.ts.map +1 -1
- package/dist/src/stores/lucid-schema.js +11 -0
- package/dist/src/stores/lucid-schema.js.map +1 -1
- package/package.json +10 -10
- package/dist/assets/spa/assets/index-B48tE8sr.js +0 -12
- package/dist/assets/spa/assets/index-B48tE8sr.js.map +0 -1
- package/dist/assets/spa/assets/index-CjblUKFX.css +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @adonis-agora/media
|
|
2
2
|
|
|
3
|
+
## 1.0.0-rc.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#281](https://github.com/DavideCarvalho/adonis-agora-media/pull/281) [`94f8af1`](https://github.com/DavideCarvalho/adonis-agora-media/commit/94f8af12bb87bf614a8ff0262958dd6120708851) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - Release 1.0. Every export, option, subpath and ace command of `@adonis-agora/media` and `@adonis-agora/media-react` from 0.x works unchanged (see "Migrating to 1.0" in the docs). One behaviour is gone: the embedded console no longer reads a `window.__MEDIA_DASHBOARD__` global, only the JSON data block the provider injects.
|
|
8
|
+
|
|
9
|
+
- Node.js 24 or later is required (`engines.node: ">=24"`, unchanged).
|
|
10
|
+
- `@adonis-agora/media` accepts `@adonis-agora/authz`, `@adonis-agora/authkit-client`, `@adonis-agora/authkit-server` and `@adonis-agora/telescope` 1.x, including the 1.0 release candidates (`<lower> <2.0.0 || >=1.0.0-rc.0 <2.0.0`, lower bounds unchanged).
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [#281](https://github.com/DavideCarvalho/adonis-agora-media/pull/281) [`94f8af1`](https://github.com/DavideCarvalho/adonis-agora-media/commit/94f8af12bb87bf614a8ff0262958dd6120708851) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - Console fixes:
|
|
15
|
+
|
|
16
|
+
- The console now sends shield's CSRF token (`x-xsrf-token`, from the `XSRF-TOKEN` cookie) on every POST, including uploads from the Upload tab, so actions work in apps that use `@adonisjs/shield`. A redirected or non-2xx response now shows as an error instead of a silent success.
|
|
17
|
+
- The Uploads tab shows `upload sessions table missing — run the media migration (node ace migration:run)` (HTTP 503) instead of a 500 when the `lucid` upload-session store's tables do not exist.
|
|
18
|
+
- `FolderBody` is exported from `@adonis-agora/media/dashboard` and `@adonis-agora/media-dashboard`.
|
|
19
|
+
|
|
3
20
|
## 0.30.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -327,9 +327,7 @@ The console reads/writes through the real `@adonis-agora/media` surface (disk
|
|
|
327
327
|
`list`/`stat`/`copy`/`move`/`deleteMany`, the resumable session store, the `MediaStore`) — nothing
|
|
328
328
|
about storage is reimplemented. Full config reference, routes, and folder-operations semantics are
|
|
329
329
|
documented in [`@adonis-agora/media-dashboard`](https://github.com/DavideCarvalho/adonis-agora-media/tree/master/packages/dashboard),
|
|
330
|
-
which is
|
|
331
|
-
remains installable **standalone** — its own provider is a thin delegate to this one, kept for hosts
|
|
332
|
-
that already register it directly. Don't register both providers in the same app.
|
|
330
|
+
which is the **build-time source** of the console's SPA bundle (embedded here at build time).
|
|
333
331
|
|
|
334
332
|
## Diagnostics
|
|
335
333
|
|