unstale

npm / @pinecone-database/pinecone

@pinecone-database/pinecone

What changed in @pinecone-database/pinecone 8 to 9, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

19 breaking1 security4 deprecations15 new APIs and options3 behavior and defaults1 tooling3 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.1.1 on npm

@pinecone-database/pinecone 938 changes

Breaking changes 19

  • Use BackupListPagination instead of the removed BackupPaginationResponse type.

    9.0.0release notes

  • createdAt now decodes to an optional Date; use toISOString instead of string methods.

    9.0.0release notes

  • Backup dimension and metric fields move into the optional schema.

    9.0.0release notes

  • Document update and delete now return response objects instead of void, which may require updating explicitly typed wrappers.

    9.0.0release notes

  • Top-level configuration embed is rejected; update semantic fields through a schema.fields patch or create an integrated-embedding index with createForModel.

    9.0.0release notes

  • Pod creation, legacy metadata-indexing schemas, and sourceCollection/sourceBackupId creation options are rejected; use the backup restoration resource method for restoration.

    9.0.0release notes

  • Do not mix legacy dimension, metric, vectorType, or spec fields with native schema or deployment fields in one creation request.

    9.0.0release notes

  • recordCount and sizeBytes are now optional decimal strings instead of optional numbers; convert explicitly for arithmetic and handle missing values.

    9.0.0release notes

  • Node.js 22 or later is required to use v9.

    9.0.0release notes

  • next is required when a pagination object exists; omit an empty pagination envelope or provide a real cursor.

    9.0.0release notes

  • Use this resource method to restore an index from a backup.

    9.0.0release notes

  • Preview document methods are removed; migrate document operations to the index namespace documents accessor and stable request and response types.

    9.0.0release notes

  • Preview exports are removed; migrate preview request and response types to their stable equivalents.

    9.0.0release notes

  • Use ReadCapacityDedicated instead of ReadCapacityDedicatedSpec.

    9.0.0release notes

  • Response declarations now require nodeType, scaling, and manual replicas and shards; capacity status counts can be null.

    9.0.0release notes

  • Use ReadCapacityOnDemand instead of ReadCapacityOnDemandSpec.

    9.0.0release notes

  • Requests reject resource identifiers whose dot segments would resolve to a different URL path.

    9.0.0release notes

  • Timestamps and several response fields can now be null or absent, so check values before accessing them.

    9.0.0release notes

  • SearchMatchTerms now requires both strategy and terms; omit optional matchTerms when no filter is intended.

    9.0.0release notes

Security 1

  • Request-header logging redacts Api-Key and Authorization across header casing and supported header container formats.

    9.0.0release notes

Deprecations 4

  • Flat control methods remain available as deprecated delegates; use pc.indexes.configure for new code.

    9.0.0release notes

  • Use pc.backups.create instead of the deprecated flat control method.

    9.0.0release notes

  • Use pc.backups.createIndex instead of the deprecated flat control method.

    9.0.0release notes

  • Use pc.backups.listByIndex or pc.backups.list instead of the deprecated flat control method.

    9.0.0release notes

New APIs and options 7

  • Assistant uploads accept Uint8Array, Blob, and async iterables of byte or string chunks, including Node Buffer and Readable inputs; iterable uploads require Node.js and are sent once.

    9.0.0release notes

  • The main client now provides document upsert, search, fetch, update, delete, and list operations through the index namespace documents accessor.

    9.0.0release notes

  • HTTP 412 errors now have a dedicated error class.

    9.0.0release notes

  • HTTP 402 errors now have a dedicated error class.

    9.0.0release notes

  • Legacy properties derive values from schema and deployment, are non-enumerable, and can be undefined or throw when values are unavailable or ambiguous.

    9.0.0release notes

  • Create and manage daily, weekly, or monthly backup schedules with retention periods and inspect their run history.

    9.0.0release notes

  • Define searchable fields when creating an index for schema-based document operations.

    9.0.0release notes

Behavior and default changes 3

  • Client additionalHeaders now propagate to index and assistant clients, including upload and streaming calls; target-specific exact-key matches take precedence.

    9.0.0release notes

  • Client construction now uses globalThis.fetch, and importing the package no longer eagerly loads Node built-ins.

    9.0.0release notes

  • An exact X-Pinecone-Api-Version header key now overrides the default API version.

    9.0.0release notes

Tooling 1

  • Published declarations support TypeScript 5.2 through 7.x, including CommonJS and ESM consumer configurations.

    9.0.0release notes

Fixes and other changes 3

  • Chat streams now preserve multibyte UTF-8 characters split across byte chunks.

    9.0.0release notes

  • Operation Content-Type remains protected regardless of header casing.

    9.0.0release notes

  • Nested API error envelopes now expose the server's message correctly.

    9.0.0release notes

@pinecone-database/pinecone 88 changes

New APIs and options 8

  • Adds a top-level client for managing organizations, projects, API keys, service accounts, role bindings, invites, and users through the Pinecone Admin API.

    8.2.0release notes

  • Uses service-account OAuth2 instead of a project Api-Key; fetches and caches the bearer token on the first admin request, with no proactive refresh.

    8.2.0release notes

  • Adds an initAdmin() helper to npm run repl for spinning up an AdminClient.

    8.2.0release notes

  • Can be set in the environment to provide the service-account client ID used by AdminClient.

    8.2.0release notes

  • Can be set in the environment to provide the service-account client secret used by AdminClient.

    8.2.0release notes

  • Adds an n-gram tokenizer option for full-text search string fields, enabling substring matching; it cannot be combined with stemming or stopWords.

    8.1.0release notes

  • Adds an alpha preview method to list document IDs for a namespace, with prefix filtering, a result limit, and cursor-based pagination.

    8.1.0release notes

  • Adds an alpha preview method for partial updates to existing documents by _id, including setting values or removing fields; updates to nonexistent documents are accepted as a no-op.

    8.1.0release notes