Closed penalosa closed 2 years ago
Latest commit: 3dd31bf009c6944444b670c7b91c5700e49582bf
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
For instance, this is the last changelog (ignore the links, they only work from the context of release notes):
interface D1Database {
prepare(query: string): D1PreparedStatement;
dump(): Promise<ArrayBuffer>;
batch<T = unknown>(statements: D1PreparedStatement[]): Promise<D1Result<T>[]>;
exec<T = unknown>(query: string): Promise<D1Result<T>>;
}
interface D1PreparedStatement {
bind(...values: any[]): D1PreparedStatement;
first<T = unknown>(colName?: string): Promise<T>;
run<T = unknown>(): Promise<D1Result<T>>;
all<T = unknown>(): Promise<D1Result<T[]>>;
raw<T = unknown>(): Promise<T[]>;
}
declare type D1Result<T = unknown> = {
results?: T[];
lastRowId: number | null;
changes: number;
duration: number;
error?: string;
};
interface EventTargetHandlerObject {
handleEvent(arg1: Event): any | undefined;
}
declare class TextDecoderStream extends TransformStream {
constructor(label?: string, options?: TextDecoderStreamTextDecoderStreamInit);
}
interface TextDecoderStreamTextDecoderStreamInit {
fatal?: boolean;
}
declare class TextEncoderStream extends TransformStream {
constructor();
}
interface DurableObjectState {
...
- readonly id: DurableObjectId | string;
+ id: DurableObjectId;
...
}
interface DurableObjectTransaction {
- get<T = unknown>(key: string, options?: DurableObjectGetOptions): Promise<T>;
+ get<T = unknown>(
+ key: string,
+ options?: DurableObjectGetOptions
+ ): Promise<T | undefined>;
...
}
declare class FormData {
...
- values(): IterableIterator<File | string>;
+ values(): IterableIterator<string | File>;
...
}
interface IncomingRequestCfProperties {
...
+ isEUCountry?: string;
...
}
interface IncomingRequestCfPropertiesTLSClientAuth {
...
+ certIssuerDNRFC2253: string;
+ certIssuerSKI: string;
+ certIssuerSerial: string;
...
+ certSubjectDNRFC2253: string;
...
+ certRevoked: string;
+ certSKI: string;
}
interface R2Conditional {
...
+ secondsGranularity?: boolean;
}
interface R2GetOptions {
...
- range?: R2Range;
+ range?: R2Range | Headers;
}
interface R2ListOptions {
...
+ startAfter?: string;
...
}
declare abstract class R2Object {
...
- readonly httpMetadata: R2HTTPMetadata;
- readonly customMetadata: Record<string, string>;
+ readonly httpMetadata?: R2HTTPMetadata;
+ readonly customMetadata?: Record<string, string>;
...
}
declare abstract class SubtleCrypto {
...
+ timingSafeEqual(
+ a: ArrayBuffer | ArrayBufferView,
+ b: ArrayBuffer | ArrayBufferView
+ ): boolean;
}
Adds a GitHub workflow to generate detailed changelogs to add to the release notes. It uses a typescript script (
prettydiff.ts
), that shells out togit diff
and modifies it to look slightly better.