unstale

npm / @pinecone-database/pinecone

@pinecone-database/pinecone

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

40 breaking1 security6 deprecations88 new APIs and options1 performance8 behavior and defaults1 tooling19 fixes and other

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

npx @unstale/cli init

@unstale/cli on npm

@pinecone-database/pinecone 964 changes

Breaking changes 22

  • Integrated-embedding indexes accept at most 96 documents per upsert or update, rather than the usual 1,000.

    9.1.0release notes

  • HTTP 413 no longer surfaces as Errors.PineconeUnmappedHttpError; check for Errors.PineconePayloadTooLargeError instead.

    9.1.0release notes

  • An embed or sparse_embed clause must be the only clause in scoreBy.

    9.1.0release notes

  • 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 25

  • An embed clause accepts parameters that override the field's readParameters for that search only.

    9.2.0release notes

  • A string field's embed configuration accepts processingLocation to select a processing location such as the US; it applies to writes and queries and is fixed at index creation.

    9.2.0release notes

  • ModelInfo has a supportedOn field indicating where a hosted model can be used; it is undefined when the API does not report it.

    9.2.0release notes

  • A new deployment option lets you restore a serverless backup into another region of the same cloud.

    9.2.0release notes

  • The RestoreDeploymentRequest type is exported for describing restore deployment requests.

    9.2.0release notes

  • A new exported type for integrated embedding creation configuration.

    9.1.0release notes

  • A new exported type for sparse integrated embedding creation configuration.

    9.1.0release notes

  • Set the integrated embedding dimension with embed.dimension; omitted keys use the model's defaults.

    9.1.0release notes

  • Choose the integrated embedding model with embed.model; omitted keys use the model's defaults.

    9.1.0release notes

  • Declare embed on a string field to embed document text on write and query text on search with the same hosted model.

    9.1.0release notes

  • HTTP 413 responses now throw a dedicated error class, allowing oversized requests to be caught and split into smaller batches.

    9.1.0release notes

  • A new exported type for integrated embedding string fields.

    9.1.0release notes

  • A new exported type for integrated embedding configuration in responses.

    9.1.0release notes

  • A new exported type for sparse embedding configuration in responses.

    9.1.0release notes

  • Declare sparseEmbed on a string field to use integrated sparse embedding for document text and query text.

    9.1.0release notes

  • Set storeText: false to embed text without storing it; unstored fields cannot be returned or searched with text/query_string clauses.

    9.1.0release notes

  • Read responses can report usage.egressBytes, the billed response size in bytes; the field is omitted when the server does not report it.

    9.1.0release notes

  • Responses report the number of embedding tokens in usage.embedTotalTokens.

    9.1.0release notes

  • 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 8

  • The stream no longer drops its final event when the server sends it without a trailing newline.

    9.2.0release notes

  • model.dimension now reads from a string field's embed when it is the index's only dense vector, instead of throwing PineconeIndexPropertyError.

    9.1.0release notes

  • model.metric now reads from a string field's embed when it is the index's only dense vector, instead of throwing PineconeIndexPropertyError.

    9.1.0release notes

  • model.vectorType now reads from a string field's embed when it is the index's only dense vector, instead of throwing PineconeIndexPropertyError.

    9.1.0release notes

  • Requests failing with specified undici socket or timeout causes now retry with the same backoff as 5xx responses; exhausted retries still produce PineconeConnectionError with the original error as cause.

    9.1.0release notes

  • 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 821 changes

Breaking changes 2

  • Now accepts a bare fileId string instead of an object and returns an OperationModel for the in-progress deletion.

    8.0.0release notes

  • Now returns an OperationModel for the in-progress upload instead of an AssistantFileModel; poll the operation to determine when the file is ready.

    8.0.0release notes

New APIs and options 17

  • 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

  • Deletes schema-based documents by IDs or by filter.

    8.0.0release notes

  • Checks progress on a specific asynchronous file operation.

    8.0.0release notes

  • Fetches specific documents by ID from a schema-based index.

    8.0.0release notes

  • Lists recent operations across an assistant; operations are retained for 30 days.

    8.0.0release notes

  • Provides schema-based index management through create, list, describe, configure, and delete operations.

    8.0.0release notes

  • Introduces alpha control-plane and data-plane APIs for schema-based indexes, including integrated full-text search alongside dense and sparse vector search; signatures may change before graduation to stable.

    8.0.0release notes

  • Searches schema-based documents using mixed scoring methods, including BM25 text, dense and sparse vectors, and Lucene query strings.

    8.0.0release notes

  • Upserts schema-aware documents into a schema-based index; _id is the only required field.

    8.0.0release notes

  • Uploads a file at a caller-supplied stable ID, replacing existing content or creating a new file; metadata is not accepted.

    8.0.0release notes

Fixes and other changes 2

  • This SDK version depends on the 2026-04 Pinecone API version; the v8 release line is expected to receive fixes while that API version is supported.

    8.0.0release notes

  • The temperature option is now forwarded to the API on chat, chatStream, chatCompletion, and chatCompletionStream.

    8.0.0release notes

@pinecone-database/pinecone 731 changes

Breaking changes 10

  • Now accepts a single options object with name and configuration fields instead of an index name and options as positional arguments.

    7.0.0release notes

  • Now accepts an object with optional ids, filter, and namespace fields instead of positional ids or filter arguments.

    7.0.0release notes

  • Now accepts an object containing the id and an optional namespace instead of an id argument.

    7.0.0release notes

  • Retrieves records using metadata filters without requiring vector IDs, with pagination support.

    7.0.0release notes

  • Now accepts limit and paginationToken in an options object instead of positional arguments.

    7.0.0release notes

  • Now accepts uri, errorMode, and integration in an options object instead of positional arguments.

    7.0.0release notes

  • Now accepts an object containing records and an optional namespace instead of a records array.

    7.0.0release notes

  • Now accepts an object containing records and an optional namespace instead of a records array.

    7.0.0release notes

  • The minimum supported Node.js version increased from 18 to 20.

    7.0.0release notes

  • The SDK now uses TypeScript ~5.6.3 and is compatible with TypeScript 5.2.0 or later; previously it supported TypeScript 4.x or later.

    7.0.0release notes

Deprecations 1

  • The preferred targeting syntax now passes an options object using host or name; the legacy string syntax still works but is deprecated and will be removed in v8.

    7.0.0release notes

New APIs and options 15

  • The Uploadable type is exported for application-level type annotations and represents Buffer, Blob, or NodeJS.ReadableStream.

    7.2.0release notes

  • The file input now accepts a Buffer, Blob, or Node.js ReadableStream as well as a local file path, enabling uploads without first writing the file to disk.

    7.2.0release notes

  • The Index.query operation now supports maxCandidates for dedicated (DRN) dense indexes.

    7.1.0release notes

  • BYOC index creation now supports configuring dedicated read capacity.

    7.1.0release notes

  • The Index.query operation now supports scanFactor for dedicated (DRN) dense indexes.

    7.1.0release notes

  • Create indexes in your own cloud infrastructure using the byoc index specification.

    7.0.0release notes

  • Assistant chat and context can include base64 image data in multimodal results.

    7.0.0release notes

  • Explicitly creates namespaces with optional metadata schemas.

    7.0.0release notes

  • Now accepts an object with an optional namespace instead of no arguments.

    7.0.0release notes

  • All operations retry server errors (5xx) by default with exponential backoff; maxRetries configures the retry count, and zero disables retries.

    7.0.0release notes

  • Assistant file upload, chat, and context operations support multimodal PDF processing and image-related context snippets.

    7.0.0release notes

  • Many data plane operations accept namespace as an operation-level parameter, allowing callers to override the default namespace.

    7.0.0release notes

  • Evaluates assistant responses for quality and relevance using a question, answer, and ground truth.

    7.0.0release notes

  • Serverless indexes can be configured with dedicated read nodes for improved read performance when creating or updating an index.

    7.0.0release notes

  • Configure which metadata fields are indexed for filtering, improving performance for large-scale deployments.

    7.0.0release notes

Performance 1

  • Reading files for path-based uploads is asynchronous rather than synchronous, so reading large files no longer blocks the Node.js event loop.

    7.2.0release notes

Behavior and default changes 2

  • The update method now supports updating metadata for multiple records that match a metadata filter; filter cannot be combined with id.

    7.0.0release notes

  • Unknown request-object properties are no longer rejected, and enum values are provided for convenience but string values are accepted, improving forward compatibility.

    7.0.0release notes

Fixes and other changes 2

  • ReadableStream uploads do not support automatic retries because the stream is consumed after the first read.

    7.2.0release notes

  • This SDK release line depends on Pinecone API version 2025-10 and is supported with fixes while that API version remains supported.

    7.0.0release notes

@pinecone-database/pinecone 614 changes

New APIs and options 12

  • Adds an optional configuration for identifying AI coding agents; the information is incorporated into request User-Agent headers to help track product usage.

    6.1.4release notes

  • Adds the ability to create a backup of a serverless index.

    6.0.0release notes

  • Adds an API to create a new index from a backup, initiating a restore job.

    6.0.0release notes

  • Adds an Index method to delete a namespace, including all its record data.

    6.0.0release notes

  • Adds an API to retrieve details about a backup.

    6.0.0release notes

  • Adds an Index method to describe a namespace associated with an index.

    6.0.0release notes

  • Adds an API to check the progress of an index restoration.

    6.0.0release notes

  • Adds an inference API to retrieve details for a single model.

    6.0.0release notes

  • Adds the Inference class for browsing models hosted by Pinecone and viewing their detailed configuration options.

    6.0.0release notes

  • Adds an API to list backups for a project or for a specific index.

    6.0.0release notes

  • Adds an inference API to list all available models.

    6.0.0release notes

  • Adds an Index method to list all namespaces associated with an index.

    6.0.0release notes

Fixes and other changes 2

  • Fixes filtering files: the filter object no longer needs a top-level metadata key.

    6.1.3release notes

  • The Node SDK depends on version 2025-04 of the Pinecone API; the v6 SDK release line should receive fixes while that API version is supported.

    6.0.0release notes

@pinecone-database/pinecone 56 changes

New APIs and options 5

  • Chat with an Assistant and consume its response as a stream.

    5.0.0release notes

  • Check an uploaded Assistant file's status, including its percent done.

    5.0.0release notes

  • Sparse vectors can be upserted with sparseValues containing indices and values.

    5.0.0release notes

  • Upload a document file to an Assistant, with optional metadata.

    5.0.0release notes

  • Set vectorType to 'sparse' when creating a sparse-only index, enabling direct indexing and retrieval of sparse vectors.

    5.0.0release notes

Fixes and other changes 1

  • The SDK now depends on version 2025-01 of the Pinecone API; the v5 release line should continue receiving fixes while that API version is supported.

    5.0.0release notes

@pinecone-database/pinecone 42 changes

New APIs and options 2

  • Adds pc.inference.rerank to rerank documents in descending relevance order against a query, supporting documents as strings or objects.

    4.0.0release notes

  • Adds index.startImport to asynchronously import vectors directly from object storage into a Pinecone index for large-scale jobs.

    4.0.0release notes

@pinecone-database/pinecone 35 changes

Breaking changes 1

  • The minimum supported Node version moves from 14.0.0 to 18.0.0 because earlier versions reached end of life and no longer receive security support.

    3.0.0release notes

New APIs and options 2

  • Use configureIndex or createIndex to enable or disable deletion protection for indexes; it is disabled by default, and protected indexes cannot be deleted until protection is disabled.

    3.0.0release notes

  • The SDK adds access to Pinecone's Inference API, currently in public preview.

    3.0.0release notes

Fixes and other changes 2

  • The v3 SDK depends on API version 2024-07, and this release line should continue receiving fixes while that API version is supported.

    3.0.0release notes

  • The QueryByVectorValues type now correctly represents sparseValues.

    3.0.0release notes

@pinecone-database/pinecone 27 changes

Breaking changes 4

  • Now accepts an object conforming to PodSpec or ServerlessSpec, enabling deployment of pod or serverless indexes; pod-specific properties are moved into PodSpec.

    2.0.0release notes

  • Keeps the same index-name argument but returns a different shape, moving some configurations under spec and elevating host to the top level.

    2.0.0release notes

  • Now returns an array of full resource descriptions instead of names, changing the response shape.

    2.0.0release notes

  • Now returns an array of full resource descriptions instead of names, changing the response shape.

    2.0.0release notes

Behavior and default changes 3

  • The SDK uses the new Control Plane API hosted at api.pinecone.io, allowing more flexibility in how API keys are used than the former rigid project-to-environment relationship.

    2.0.0release notes

  • Serverless fetch responses now include the quantity of read units consumed, helping developers understand cost.

    2.0.0release notes

  • Serverless query responses now include the quantity of read units consumed, helping developers understand cost.

    2.0.0release notes

@pinecone-database/pinecone 114 changes

Breaking changes 1

  • Method parameters no longer require the legacy top-level createRequest key; pass index properties such as name and dimension directly.

    1.0.0release notes

Deprecations 1

  • The legacy export remains usable for now, but the notes say it will be removed in a future release and encourage migration to Pinecone.

    1.0.0release notes

New APIs and options 10

  • Set waitUntilReady to make the create method wait to resolve its promise until the index is ready to receive data.

    1.0.0release notes

  • A convenience method is available to delete all items more easily.

    1.0.0release notes

  • A convenience method is available to delete many items more easily.

    1.0.0release notes

  • A convenience method is available to delete one item more easily.

    1.0.0release notes

  • Create a scoped index client so data operations target the same namespace without passing the namespace to every method call.

    1.0.0release notes

  • A new client export provides a normal TypeScript client that can be instantiated with new Pinecone(), without asynchronous initialization.

    1.0.0release notes

  • The new client can read this environment variable instead of requiring the API key in a config argument.

    1.0.0release notes

  • Set this environment variable to true to disable runtime validations.

    1.0.0release notes

  • The new client can read this environment variable instead of requiring the environment in a config argument.

    1.0.0release notes

  • Published TypeScript types support generics for metadata, typing query and fetch results and reporting metadata that does not match the declared type.

    1.0.0release notes

Fixes and other changes 2

  • The library migrated from the MIT license to the Apache 2 open source license; the notes say this is a distinction without a difference for most users.

    1.0.0release notes

  • Incorrect parameters receive runtime validation with improved user feedback and stacktraces.

    1.0.0release notes