Skip to content

v0.0.2-alpha.10

Pre-release
Pre-release

Choose a tag to compare

@mobeenabdullah mobeenabdullah released this 18 May 14:33
· 240 commits to main since this release
772dd6a

Released all 12 packages at 0.0.2-alpha.10 in lockstep (nextly, create-nextly-app, and 10 @nextlyhq/* packages).

What's changed

@nextlyhq/adapter-drizzle

Patch Changes

  • #38 04da3a7 Thanks @faisal-rx! - Fix: variant URLs in populated media.sizes[*].url are now absolutized too. The initial absolutization pass only rewrote the top-level url and thumbnailUrl fields, so on SQLite — which stores media.sizes as TEXT and returns the column as an unparsed JSON string — clients consuming getMediaVariant(media, "card") on populated entries still received relative /uploads/... paths. absolutizeMediaUrls now normalises string-encoded sizes into an object before rewriting variant URLs, so populated media on entry responses returns reachable variant URLs across every dialect. Unparseable JSON resolves to null rather than leaking the raw string to the API consumer.

    Also: toAbsoluteMediaUrl and absolutizeMediaUrls resolve baseUrl lazily — the env-backed default fires only when a relative URL actually needs prefixing. Pass-through cases (absolute URLs, null/undefined/empty) no longer touch the env proxy, so the "absolute URLs unchanged" contract holds in contexts that have not booted env validation (isolated tests, bundler-time analysis).

@nextlyhq/adapter-mysql

Patch Changes

  • #38 04da3a7 Thanks @faisal-rx! - Fix: variant URLs in populated media.sizes[*].url are now absolutized too. The initial absolutization pass only rewrote the top-level url and thumbnailUrl fields, so on SQLite — which stores media.sizes as TEXT and returns the column as an unparsed JSON string — clients consuming getMediaVariant(media, "card") on populated entries still received relative /uploads/... paths. absolutizeMediaUrls now normalises string-encoded sizes into an object before rewriting variant URLs, so populated media on entry responses returns reachable variant URLs across every dialect. Unparseable JSON resolves to null rather than leaking the raw string to the API consumer.

    Also: toAbsoluteMediaUrl and absolutizeMediaUrls resolve baseUrl lazily — the env-backed default fires only when a relative URL actually needs prefixing. Pass-through cases (absolute URLs, null/undefined/empty) no longer touch the env proxy, so the "absolute URLs unchanged" contract holds in contexts that have not booted env validation (isolated tests, bundler-time analysis).

  • Updated dependencies [04da3a7]:

    • @nextlyhq/adapter-drizzle@0.0.2-alpha.10

@nextlyhq/adapter-postgres

Patch Changes

  • #38 04da3a7 Thanks @faisal-rx! - Fix: variant URLs in populated media.sizes[*].url are now absolutized too. The initial absolutization pass only rewrote the top-level url and thumbnailUrl fields, so on SQLite — which stores media.sizes as TEXT and returns the column as an unparsed JSON string — clients consuming getMediaVariant(media, "card") on populated entries still received relative /uploads/... paths. absolutizeMediaUrls now normalises string-encoded sizes into an object before rewriting variant URLs, so populated media on entry responses returns reachable variant URLs across every dialect. Unparseable JSON resolves to null rather than leaking the raw string to the API consumer.

    Also: toAbsoluteMediaUrl and absolutizeMediaUrls resolve baseUrl lazily — the env-backed default fires only when a relative URL actually needs prefixing. Pass-through cases (absolute URLs, null/undefined/empty) no longer touch the env proxy, so the "absolute URLs unchanged" contract holds in contexts that have not booted env validation (isolated tests, bundler-time analysis).

  • Updated dependencies [04da3a7]:

    • @nextlyhq/adapter-drizzle@0.0.2-alpha.10

@nextlyhq/adapter-sqlite

Patch Changes

  • #38 04da3a7 Thanks @faisal-rx! - Fix: variant URLs in populated media.sizes[*].url are now absolutized too. The initial absolutization pass only rewrote the top-level url and thumbnailUrl fields, so on SQLite — which stores media.sizes as TEXT and returns the column as an unparsed JSON string — clients consuming getMediaVariant(media, "card") on populated entries still received relative /uploads/... paths. absolutizeMediaUrls now normalises string-encoded sizes into an object before rewriting variant URLs, so populated media on entry responses returns reachable variant URLs across every dialect. Unparseable JSON resolves to null rather than leaking the raw string to the API consumer.

    Also: toAbsoluteMediaUrl and absolutizeMediaUrls resolve baseUrl lazily — the env-backed default fires only when a relative URL actually needs prefixing. Pass-through cases (absolute URLs, null/undefined/empty) no longer touch the env proxy, so the "absolute URLs unchanged" contract holds in contexts that have not booted env validation (isolated tests, bundler-time analysis).

  • Updated dependencies [04da3a7]:

    • @nextlyhq/adapter-drizzle@0.0.2-alpha.10

@nextlyhq/admin

Patch Changes

  • #38 04da3a7 Thanks @faisal-rx! - Fix: variant URLs in populated media.sizes[*].url are now absolutized too. The initial absolutization pass only rewrote the top-level url and thumbnailUrl fields, so on SQLite — which stores media.sizes as TEXT and returns the column as an unparsed JSON string — clients consuming getMediaVariant(media, "card") on populated entries still received relative /uploads/... paths. absolutizeMediaUrls now normalises string-encoded sizes into an object before rewriting variant URLs, so populated media on entry responses returns reachable variant URLs across every dialect. Unparseable JSON resolves to null rather than leaking the raw string to the API consumer.

    Also: toAbsoluteMediaUrl and absolutizeMediaUrls resolve baseUrl lazily — the env-backed default fires only when a relative URL actually needs prefixing. Pass-through cases (absolute URLs, null/undefined/empty) no longer touch the env proxy, so the "absolute URLs unchanged" contract holds in contexts that have not booted env validation (isolated tests, bundler-time analysis).

  • Updated dependencies [04da3a7]:

    • @nextlyhq/ui@0.0.2-alpha.10

create-nextly-app

Patch Changes

  • #38 04da3a7 Thanks @faisal-rx! - Fix: variant URLs in populated media.sizes[*].url are now absolutized too. The initial absolutization pass only rewrote the top-level url and thumbnailUrl fields, so on SQLite — which stores media.sizes as TEXT and returns the column as an unparsed JSON string — clients consuming getMediaVariant(media, "card") on populated entries still received relative /uploads/... paths. absolutizeMediaUrls now normalises string-encoded sizes into an object before rewriting variant URLs, so populated media on entry responses returns reachable variant URLs across every dialect. Unparseable JSON resolves to null rather than leaking the raw string to the API consumer.

    Also: toAbsoluteMediaUrl and absolutizeMediaUrls resolve baseUrl lazily — the env-backed default fires only when a relative URL actually needs prefixing. Pass-through cases (absolute URLs, null/undefined/empty) no longer touch the env proxy, so the "absolute URLs unchanged" contract holds in contexts that have not booted env validation (isolated tests, bundler-time analysis).

nextly

Patch Changes

  • #38 04da3a7 Thanks @faisal-rx! - Fix: variant URLs in populated media.sizes[*].url are now absolutized too. The initial absolutization pass only rewrote the top-level url and thumbnailUrl fields, so on SQLite — which stores media.sizes as TEXT and returns the column as an unparsed JSON string — clients consuming getMediaVariant(media, "card") on populated entries still received relative /uploads/... paths. absolutizeMediaUrls now normalises string-encoded sizes into an object before rewriting variant URLs, so populated media on entry responses returns reachable variant URLs across every dialect. Unparseable JSON resolves to null rather than leaking the raw string to the API consumer.

    Also: toAbsoluteMediaUrl and absolutizeMediaUrls resolve baseUrl lazily — the env-backed default fires only when a relative URL actually needs prefixing. Pass-through cases (absolute URLs, null/undefined/empty) no longer touch the env proxy, so the "absolute URLs unchanged" contract holds in contexts that have not booted env validation (isolated tests, bundler-time analysis).

  • Updated dependencies [04da3a7]:

    • @nextlyhq/adapter-drizzle@0.0.2-alpha.10
    • @nextlyhq/adapter-mysql@0.0.2-alpha.10
    • @nextlyhq/adapter-postgres@0.0.2-alpha.10
    • @nextlyhq/adapter-sqlite@0.0.2-alpha.10

@nextlyhq/plugin-form-builder

Patch Changes

  • #38 04da3a7 Thanks @faisal-rx! - Fix: variant URLs in populated media.sizes[*].url are now absolutized too. The initial absolutization pass only rewrote the top-level url and thumbnailUrl fields, so on SQLite — which stores media.sizes as TEXT and returns the column as an unparsed JSON string — clients consuming getMediaVariant(media, "card") on populated entries still received relative /uploads/... paths. absolutizeMediaUrls now normalises string-encoded sizes into an object before rewriting variant URLs, so populated media on entry responses returns reachable variant URLs across every dialect. Unparseable JSON resolves to null rather than leaking the raw string to the API consumer.

    Also: toAbsoluteMediaUrl and absolutizeMediaUrls resolve baseUrl lazily — the env-backed default fires only when a relative URL actually needs prefixing. Pass-through cases (absolute URLs, null/undefined/empty) no longer touch the env proxy, so the "absolute URLs unchanged" contract holds in contexts that have not booted env validation (isolated tests, bundler-time analysis).

  • Updated dependencies [04da3a7]:

    • @nextlyhq/admin@0.0.2-alpha.10
    • nextly@0.0.2-alpha.10
    • @nextlyhq/ui@0.0.2-alpha.10

@nextlyhq/storage-s3

Patch Changes

  • #38 04da3a7 Thanks @faisal-rx! - Fix: variant URLs in populated media.sizes[*].url are now absolutized too. The initial absolutization pass only rewrote the top-level url and thumbnailUrl fields, so on SQLite — which stores media.sizes as TEXT and returns the column as an unparsed JSON string — clients consuming getMediaVariant(media, "card") on populated entries still received relative /uploads/... paths. absolutizeMediaUrls now normalises string-encoded sizes into an object before rewriting variant URLs, so populated media on entry responses returns reachable variant URLs across every dialect. Unparseable JSON resolves to null rather than leaking the raw string to the API consumer.

    Also: toAbsoluteMediaUrl and absolutizeMediaUrls resolve baseUrl lazily — the env-backed default fires only when a relative URL actually needs prefixing. Pass-through cases (absolute URLs, null/undefined/empty) no longer touch the env proxy, so the "absolute URLs unchanged" contract holds in contexts that have not booted env validation (isolated tests, bundler-time analysis).

@nextlyhq/storage-uploadthing

Patch Changes

  • #38 04da3a7 Thanks @faisal-rx! - Fix: variant URLs in populated media.sizes[*].url are now absolutized too. The initial absolutization pass only rewrote the top-level url and thumbnailUrl fields, so on SQLite — which stores media.sizes as TEXT and returns the column as an unparsed JSON string — clients consuming getMediaVariant(media, "card") on populated entries still received relative /uploads/... paths. absolutizeMediaUrls now normalises string-encoded sizes into an object before rewriting variant URLs, so populated media on entry responses returns reachable variant URLs across every dialect. Unparseable JSON resolves to null rather than leaking the raw string to the API consumer.

    Also: toAbsoluteMediaUrl and absolutizeMediaUrls resolve baseUrl lazily — the env-backed default fires only when a relative URL actually needs prefixing. Pass-through cases (absolute URLs, null/undefined/empty) no longer touch the env proxy, so the "absolute URLs unchanged" contract holds in contexts that have not booted env validation (isolated tests, bundler-time analysis).

@nextlyhq/storage-vercel-blob

Patch Changes

  • #38 04da3a7 Thanks @faisal-rx! - Fix: variant URLs in populated media.sizes[*].url are now absolutized too. The initial absolutization pass only rewrote the top-level url and thumbnailUrl fields, so on SQLite — which stores media.sizes as TEXT and returns the column as an unparsed JSON string — clients consuming getMediaVariant(media, "card") on populated entries still received relative /uploads/... paths. absolutizeMediaUrls now normalises string-encoded sizes into an object before rewriting variant URLs, so populated media on entry responses returns reachable variant URLs across every dialect. Unparseable JSON resolves to null rather than leaking the raw string to the API consumer.

    Also: toAbsoluteMediaUrl and absolutizeMediaUrls resolve baseUrl lazily — the env-backed default fires only when a relative URL actually needs prefixing. Pass-through cases (absolute URLs, null/undefined/empty) no longer touch the env proxy, so the "absolute URLs unchanged" contract holds in contexts that have not booted env validation (isolated tests, bundler-time analysis).

@nextlyhq/ui

Patch Changes

  • #38 04da3a7 Thanks @faisal-rx! - Fix: variant URLs in populated media.sizes[*].url are now absolutized too. The initial absolutization pass only rewrote the top-level url and thumbnailUrl fields, so on SQLite — which stores media.sizes as TEXT and returns the column as an unparsed JSON string — clients consuming getMediaVariant(media, "card") on populated entries still received relative /uploads/... paths. absolutizeMediaUrls now normalises string-encoded sizes into an object before rewriting variant URLs, so populated media on entry responses returns reachable variant URLs across every dialect. Unparseable JSON resolves to null rather than leaking the raw string to the API consumer.

    Also: toAbsoluteMediaUrl and absolutizeMediaUrls resolve baseUrl lazily — the env-backed default fires only when a relative URL actually needs prefixing. Pass-through cases (absolute URLs, null/undefined/empty) no longer touch the env proxy, so the "absolute URLs unchanged" contract holds in contexts that have not booted env validation (isolated tests, bundler-time analysis).