GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore(deps): upgrade @pierre/diffs to 1.5.2 and @pierre/trees to beta.6 by juliusmarminge · Pull Request #16644 · pingdotgg/t3code

chore(deps): upgrade @pierre/diffs to 1.5.2 and @pierre/trees to beta.6 #16644

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Sign up for GitHub

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
juliusmarminge merged 1 commit into main from t3code/bump-pierre-diffs-1.5
Oct 7, 2026
+505 −951
Merged

chore(deps): upgrade @pierre/diffs to 1.5.2 and @pierre/trees to beta.6 #16644

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1 commit
Select commit
799d365
chore(deps): upgrade @pierre/diffs to 1.5.2 and @pierre/trees to 1.0.…
juliusmarminge Oct 6, 2026
File filter
Filter by extension


Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view
chore(deps): upgrade @pierre/diffs to 1.5.2 and @pierre/trees to 1.0.…
…0-beta.6

Move the editable Files surface to the 1.4 edit API. Pierre highlights an
edit session on the main thread, so the panel stays read-only until the
worker's highlight has painted, then attaches the editor.

Upstream now covers the stale-highlight, grammar-readiness and
option-forcing hunks of our patch. The rest shrinks to the subpath exports
and the wrapped-row height retention from #10018.

The parser now decodes git-quoted names itself, so drop our second decode,
which turned a literal backslash into nothing.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
  • Loading branch information

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge @claude
juliusmarminge and claude committed Oct 6, 2026
commit 799d36569e149ec994ea3f658604cda71ee239f7

There are no files selected for viewing

2 changes: 1 addition & 1 deletion 2 apps/mobile/package.json
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
},
"devDependencies": {
"@effect/vitest": "catalog:",
"@pierre/trees": "1.0.0-beta.4",
"@pierre/trees": "1.0.0-beta.6",
"@types/react": "~19.3.0",
"@types/react-dom": "~19.2.3",
"babel-preset-expo": "~58.0.8",
Expand Down
5 changes: 2 additions & 3 deletions 5 apps/mobile/src/features/review/reviewModel.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { parsePatchFiles } from "@pierre/diffs/utils/parsePatchFiles";
import type { ChangeTypes, FileDiffMetadata } from "@pierre/diffs/types";
import type { ThreadCheckpointSummary } from "@t3tools/client-runtime/state/thread-checkpoints";
import type { ReviewDiffPreviewSource } from "@t3tools/contracts";
import { unquoteGitPatchPath } from "@t3tools/shared/gitPatchPath";
import * as Arr from "effect/Array";
import { pipe } from "effect/Function";
import * as Order from "effect/Order";
Expand Down Expand Up @@ -374,8 +373,8 @@ function buildRenderableRows(file: FileDiffMetadata): ReadonlyArray<ReviewRender
}

function mapRenderableFile(file: FileDiffMetadata): ReviewRenderableFile {
const path = unquoteGitPatchPath(file.name || file.prevName || "");
const previousPath = file.prevName ? unquoteGitPatchPath(file.prevName) : null;
const path = file.name || file.prevName || "";
const previousPath = file.prevName || null;
const additions = file.hunks.reduce((total, hunk) => total + hunk.additionLines, 0);
const deletions = file.hunks.reduce((total, hunk) => total + hunk.deletionLines, 0);
const cacheKey = file.cacheKey ?? `${previousPath ?? "none"}:${path}:${file.type}`;
Expand Down
2 changes: 1 addition & 1 deletion 2 apps/web/package.json
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@legendapp/list": "catalog:",
"@noble/hashes": "catalog:",
"@pierre/diffs": "catalog:",
"@pierre/trees": "1.0.0-beta.4",
"@pierre/trees": "1.0.0-beta.6",
"@t3tools/client-runtime": "workspace:*",
"@t3tools/contracts": "workspace:*",
"@t3tools/shared": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion 2 apps/web/src/components/diffs/AnnotatableCodeView.tsx
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ interface DiffCommentAnnotationGroup {
}

type DiffCommentLineAnnotation = DiffLineAnnotation<DiffCommentAnnotationGroup>;
export type AnnotatableCodeViewHandle = CodeViewHandle<DiffCommentAnnotationGroup>;
export type AnnotatableCodeViewHandle = CodeViewHandle<DiffCommentAnnotationGroup, undefined>;
const EMPTY_REVIEW_COMMENTS: ReadonlyArray<ReviewCommentContext> = [];

function annotationSide(range: SelectedLineRange): AnnotationSide {
Expand Down
7 changes: 5 additions & 2 deletions 7 apps/web/src/components/diffs/StyledDiffCodeView.test.tsx
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ vi.mock("@pierre/diffs/worker/worker.js?worker", async () => {

vi.mock("@pierre/diffs/react", async (importOriginal) => ({
...(await importOriginal<typeof import("@pierre/diffs/react")>()),
CodeView: (props: CodeViewProps) => {
CodeView: (props: CodeViewProps<undefined, undefined>) => {
return props.items?.map((item) =>
item.type === "file" ? <FileOutput key={item.id} file={item.file} /> : null,
);
Expand All @@ -115,6 +115,7 @@ function FileOutput({ file }: { file: FileContents }) {
testState.renderPools.push(pool);
const renderer = new FileRenderer(
{ theme: "pierre-dark", preferredHighlighter: "shiki-wasm" },
undefined,
render,
pool,
);
Expand Down Expand Up @@ -301,8 +302,10 @@ describe("code-view worker lifecycle", () => {
expect(pool.getStats().totalWorkers).toBe(2);
expect(testState.terminations).toHaveLength(0);
await act(async () => renderer!.update(renderViews(0)));
// Pierre gives up on a held startup after 10 seconds; the idle timer then tears the pool down.
const timedOut = expect(pending).rejects.toThrow("worker initialization timed out");
await vi.advanceTimersByTimeAsync(30_000);
await pending;
await timedOut;
await Promise.all(testState.terminations);
await act(async () => {
for (const deliver of testState.heldResponses) deliver();
Expand Down
8 changes: 4 additions & 4 deletions 8 apps/web/src/components/diffs/StyledDiffCodeView.tsx
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -261,16 +261,16 @@ const DIFF_VIEW_UNSAFE_CSS = `${DIFF_SURFACE_THEME_UNSAFE_CSS}
`;

export type StyledDiffCodeViewOptions<LAnnotation> = Omit<
NonNullable<CodeViewProps<LAnnotation>["options"]>,
NonNullable<CodeViewProps<LAnnotation, undefined>["options"]>,
"unsafeCSS" | "itemMetrics" | "layout"
>;

type StyledDiffCodeViewProps<LAnnotation> = (
| Omit<ControlledCodeViewProps<LAnnotation>, "options">
| Omit<UncontrolledCodeViewProps<LAnnotation>, "options">
| Omit<ControlledCodeViewProps<LAnnotation, undefined>, "options">
| Omit<UncontrolledCodeViewProps<LAnnotation, undefined>, "options">
) & {
readonly options?: StyledDiffCodeViewOptions<LAnnotation>;
readonly viewerRef?: Ref<CodeViewHandle<LAnnotation>>;
readonly viewerRef?: Ref<CodeViewHandle<LAnnotation, undefined>>;
/**
* Appended to the shared stylesheet inside the viewer's shadow root, for a surface that has
* to restyle chrome the viewer owns — such as replacing its per-file line counts.
Expand Down
Loading
Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Loading
Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.