release(v4.0.0): Shade GA — V3.x consolidation + audit prep
Some checks failed
Test / test (push) Has been cancelled
Cross-platform vectors / TypeScript vectors (bun) (push) Has been cancelled
Cross-platform vectors / Kotlin vectors (gradle) (push) Has been cancelled
Docker build and publish / docker (push) Has been cancelled
Publish / publish (push) Has been cancelled
Some checks failed
Test / test (push) Has been cancelled
Cross-platform vectors / TypeScript vectors (bun) (push) Has been cancelled
Cross-platform vectors / Kotlin vectors (gradle) (push) Has been cancelled
Docker build and publish / docker (push) Has been cancelled
Publish / publish (push) Has been cancelled
V3.1 → V3.12 consolidated and tagged for the first GA release. Wire format unchanged from 0.4.x — 4.0 peers interoperate with 0.4.x peers byte-for-byte. The version bump is semantic: audit-cycle complete, opt-in surface fully exposed, threat model refreshed for every new surface. Highlights: - All 24 @shade/* packages bumped to 4.0.0 in lockstep. - CHANGELOG 4.0.0 section is the canonical manifest of what landed. - THREAT-MODEL extended (§10 fingerprint gates, §11 WebRTC P2P, §12 Web-Worker boundary) + residual-risks table refreshed. - OpenAPI now covers all 27 routes: prekey, transfer, KT, inbox, bridge, observer, /metrics, /healthz, /ready. - MIGRATION 0.3.x → 4.0 documented + smoke-tested against shade migrate-storage on a real SQLite DB. - docs/audit/REVIEW-BUNDLE.md + SCOPE.md ready for external reviewer. - scripts/soak.ts harness for the GA-stable 2-week soak window. - All V*.md plans archived under docs/archive/ with Status: Done. - Voice/Video carved out into V5.0; 4.0 audit focuses on the frozen non-realtime stack. Tests: TS 1000/1000 + Kotlin 11/11 cross-platform vectors green. Docker: gt.zyon.no/stian/shade-prekey:4.0.0 builds and reports version 4.0.0 on /health. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,14 +1,33 @@
|
||||
export { createShade } from './create-shade.js';
|
||||
export { Shade } from './shade.js';
|
||||
export type {
|
||||
ShadeUploadOptions,
|
||||
ShadeWebRtcConfig,
|
||||
ShadeWebRtcRuntime,
|
||||
} from './shade.js';
|
||||
export { generateThumbnail } from './thumbnail.js';
|
||||
export type { GeneratedThumbnail, ThumbnailGenerationOptions } from './thumbnail.js';
|
||||
export { ShadeThumbnailCache } from './thumbnail-cache.js';
|
||||
export type { ThumbnailHit } from './thumbnail-cache.js';
|
||||
export { resolveConfig, parseRotationInterval } from './config.js';
|
||||
export { BackgroundTasks } from './background.js';
|
||||
export {
|
||||
exportBackup,
|
||||
importBackup,
|
||||
decryptBackup,
|
||||
applyBackupPayload,
|
||||
backupToString,
|
||||
backupFromString,
|
||||
} from './backup.js';
|
||||
export type { ShadeConfig, ResolvedConfig } from './config.js';
|
||||
export {
|
||||
FingerprintGateRegistry,
|
||||
} from './gates.js';
|
||||
export type {
|
||||
FingerprintGate,
|
||||
FingerprintGateContext,
|
||||
FingerprintGateHandler,
|
||||
} from './gates.js';
|
||||
export type { ShadeConfig, ResolvedConfig, ShadeKTConfig, ResolvedKTConfig } from './config.js';
|
||||
export type { BackgroundHooks } from './background.js';
|
||||
export type { BackupBlob, BackupPayload } from './backup.js';
|
||||
|
||||
@@ -25,6 +44,7 @@ export {
|
||||
MemoryControlChannel,
|
||||
MemoryTransferTransport,
|
||||
ShadeTransferHttpTransport,
|
||||
MultiTransportFallback,
|
||||
createTransferRoutes,
|
||||
PermissiveAuthenticator,
|
||||
TransferError,
|
||||
@@ -34,6 +54,7 @@ export {
|
||||
TransferOfflineError,
|
||||
TransferResumeError,
|
||||
} from '@shade/transfer';
|
||||
export type { NamedTransport } from '@shade/transfer';
|
||||
export type {
|
||||
TransferOptions,
|
||||
TransferProgress,
|
||||
@@ -54,4 +75,37 @@ export type {
|
||||
TransferResumeState,
|
||||
LaneProgress,
|
||||
} from '@shade/transfer';
|
||||
export type { StreamMetadata, LaneInitSpec, LanePartition } from '@shade/streams';
|
||||
export type {
|
||||
StreamMetadata,
|
||||
StreamFileMetadata,
|
||||
ThumbnailMime,
|
||||
LaneInitSpec,
|
||||
LanePartition,
|
||||
} from '@shade/streams';
|
||||
export {
|
||||
THUMBNAIL_MAX_BYTES,
|
||||
THUMBNAIL_MIME_ALLOWLIST,
|
||||
isAllowedThumbnailMime,
|
||||
validateFileMetadata,
|
||||
declaresThumbnail,
|
||||
thumbnailStreamIdFor,
|
||||
mainStreamIdForThumbnail,
|
||||
} from '@shade/streams';
|
||||
|
||||
// ─── Web Workers crypto (V3.8) ─────────────────────────────
|
||||
export {
|
||||
createWorkerCryptoProvider,
|
||||
WorkerCryptoProvider,
|
||||
WorkerStreamSender,
|
||||
WorkerStreamReceiver,
|
||||
createEncryptStream,
|
||||
createDecryptStream,
|
||||
DEFAULT_STREAM_CHUNK_SIZE,
|
||||
WORKER_PROTOCOL_VERSION,
|
||||
} from '@shade/crypto-web';
|
||||
export type {
|
||||
WorkerCryptoProviderOptions,
|
||||
WorkerLike,
|
||||
CreateEncryptStreamOptions,
|
||||
CreateDecryptStreamOptions,
|
||||
} from '@shade/crypto-web';
|
||||
|
||||
Reference in New Issue
Block a user