Skip to content

Commit bfd60e1

Browse files
committed
✨ feat(callapi): improve URL param and query serialization by encoding path segments, normalizing baseURL joins, preserving repeated URLSearchParams values, and replacing duplicate query keys
🧪 test(callapi): add coverage for structured query serialization, repeated query params, normalized baseURL slashes, encoded path params, and repeated placeholder resolution ✨ feat(callapi-plugins): improve logger output with method-aware prefixes, status text, durations, better error formatting, and a new Vitest logger test suite 📝 docs(apps-docs): migrate the docs source pipeline to Satteri, add a copyable Markdown link action, move shared LLM and page-image helpers, and refresh URL helper and migration guidance ⬆️ chore(deps): bump pnpm to 11.18.0, add @fumadocs/satteri, enable plugin test scripts, relax workspace build settings, and align GitHub Actions with the new pnpm version
1 parent 0f499be commit bfd60e1

41 files changed

Lines changed: 2009 additions & 782 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/forty-cameras-type.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"@zayne-labs/callapi": patch
3+
---
4+
5+
✨ feat(callapi): improve URL param and query serialization by encoding path segments, normalizing baseURL joins, preserving repeated URLSearchParams values, and replacing duplicate query keys
6+
🧪 test(callapi): add coverage for structured query serialization, repeated query params, normalized baseURL slashes, encoded path params, and repeated placeholder resolution
7+
✨ feat(callapi-plugins): improve logger output with method-aware prefixes, status text, durations, better error formatting, and a new Vitest logger test suite
8+
📝 docs(apps-docs): migrate the docs source pipeline to Satteri, add a copyable Markdown link action, move shared LLM and page-image helpers, and refresh URL helper and migration guidance
9+
⬆️ chore(deps): bump pnpm to 11.18.0, add @fumadocs/satteri, enable plugin test scripts, relax workspace build settings, and align GitHub Actions with the new pnpm version

.changeset/sour-streets-dress.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@zayne-labs/callapi-plugins": minor
3+
---
4+
5+
✨ feat(callapi-plugins): improve logger output with method-aware prefixes, status text, durations, better error formatting, and a new Vitest logger test suite

.github/workflows/autofix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup pnpm
2222
uses: pnpm/action-setup@v5
2323
with:
24-
version: 10.33.4
24+
version: 11.18.0
2525

2626
- name: Setup Node.js
2727
uses: actions/setup-node@v6 # v4

.github/workflows/lint-type-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup pnpm
2222
uses: pnpm/action-setup@v5
2323
with:
24-
version: 10.33.4
24+
version: 11.18.0
2525

2626
- name: Setup Node.js
2727
uses: actions/setup-node@v6

.github/workflows/release-and-publish(changeset).yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Setup pnpm
2929
uses: pnpm/action-setup@v5
3030
with:
31-
version: 10.33.4
31+
version: 11.18.0
3232

3333
- name: Setup Node.js 20.x
3434
uses: actions/setup-node@v6 # v4

.github/workflows/release-and-publish(pkg.pr.new).yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Setup pnpm
2727
uses: pnpm/action-setup@v5
2828
with:
29-
version: 10.33.4
29+
version: 11.18.0
3030

3131
- name: Setup Node.js 20.x
3232
uses: actions/setup-node@v6 # v4

.github/workflows/size-limit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup pnpm
2222
uses: pnpm/action-setup@v5
2323
with:
24-
version: 10.33.4
24+
version: 11.18.0
2525

2626
- name: Setup Node.js
2727
uses: actions/setup-node@v6 # v4

apps/docs/app/docs/[[...slug]]/page.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,19 @@ import {
1010
} from "fumadocs-ui/layouts/notebook/page";
1111
import type { Metadata } from "next";
1212
import { notFound } from "next/navigation";
13-
import { MarkdownCopyButton, ViewOptionsPopover } from "@/components/ai/page-actions";
13+
import {
14+
MarkdownCopyButton,
15+
MarkdownURLCopyButton,
16+
ViewOptionsPopover,
17+
} from "@/components/ai/page-actions";
1418
import { EditOnGithub } from "@/components/common/EditOnGithub";
1519
import { getMDXComponents } from "@/components/common/MdxComponents";
1620
import { HoverCard } from "@/components/ui";
1721
import { repoName, repoOwner } from "@/lib/github";
18-
import { createMetadata, defaultDescription } from "@/lib/metadata";
19-
import { getPageImage, source } from "@/lib/source";
22+
import { createMetadata, defaultDescription, getPageImage } from "@/lib/metadata";
23+
import { source } from "@/lib/source";
2024

2125
export const revalidate = false;
22-
2326
async function Page({ params }: PageProps<"/docs/[[...slug]]">) {
2427
const { slug } = await params;
2528

@@ -47,6 +50,7 @@ async function Page({ params }: PageProps<"/docs/[[...slug]]">) {
4750

4851
<div className="flex flex-row items-center gap-2 border-b pt-2 pb-6">
4952
<MarkdownCopyButton markdownURL={markdownURL} />
53+
<MarkdownURLCopyButton markdownURL={markdownURL} />
5054
<ViewOptionsPopover markdownURL={markdownURL} githubURL={githubURL} />
5155
</div>
5256

apps/docs/app/llms-full.txt/route.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { getLLMText, source } from "@/lib/source";
1+
import { getLLMText } from "@/lib/get-llm-text";
2+
import { source } from "@/lib/source";
23

34
export const revalidate = false;
45

apps/docs/app/llms.mdx/docs/[[...slug]]/route.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { notFound } from "next/navigation";
22
import { NextResponse, type NextRequest } from "next/server";
3-
import { getLLMText, source } from "@/lib/source";
3+
import { getLLMText } from "@/lib/get-llm-text";
4+
import { source } from "@/lib/source";
45

56
export const revalidate = false;
67

0 commit comments

Comments
 (0)