You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Add Missing Method Documentation
## Problem
Several methods implemented in the codebase were missing from the Sphinx
documentation files (`rest.rst`, `grpc.rst`, and `asyncio.rst`). This
made it difficult for users to discover available functionality through
the generated documentation.
## Solution
Added documentation entries for all missing methods across all three
documentation files, ensuring complete coverage of the API surface.
## Changes
### `docs/rest.rst` (Pinecone and Index classes)
- **Vectors section**: Added `fetch_by_metadata`, `update`,
`upsert_from_dataframe`
- **Records section**: Added `upsert_records` (was previously missing)
- **Namespaces section** (new): Added `create_namespace`,
`describe_namespace`, `delete_namespace`, `list_namespaces`,
`list_namespaces_paginated`
### `docs/grpc.rst` (PineconeGRPC and GRPCIndex classes)
- **PineconeGRPC**: Added `Index` method documentation
- **GRPCIndex Vectors section**: Added `fetch_by_metadata`, `update`,
`upsert_from_dataframe`
- **GRPCIndex Namespaces section**: Added `create_namespace` and
reordered namespace methods for consistency
### `docs/asyncio.rst` (PineconeAsyncio and IndexAsyncio classes)
- **PineconeAsyncio**: Added `IndexAsyncio` and `close` method
documentation
- **IndexAsyncio Vectors section**: Added `fetch_by_metadata`, `update`,
`upsert_from_dataframe`
- **IndexAsyncio Bulk Import section** (new): Added `start_import`,
`list_imports`, `list_imports_paginated`, `describe_import`,
`cancel_import`
- **IndexAsyncio Records section**: Added `upsert_records` (was
previously missing)
- **IndexAsyncio Namespaces section** (new): Added `create_namespace`,
`describe_namespace`, `delete_namespace`, `list_namespaces`,
`list_namespaces_paginated`
## Impact
Users can now discover all available methods through the generated
Sphinx documentation. The documentation is now complete and accurately
reflects the full API surface across all client implementations (REST,
gRPC, and asyncio).
## Breaking Changes
None. This is a documentation-only change that adds missing entries
without modifying any code or existing documentation.
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ For notes on changes between major versions, see [Upgrading](./docs/upgrading.md
19
19
20
20
## Prerequisites
21
21
22
-
- The Pinecone Python SDK is compatible with Python 3.10 and greater. It has been tested with CPython versions from 3.10 to 3.13.
22
+
- The Pinecone Python SDK requires Python 3.10 or greater. It has been tested with CPython versions from 3.10 to 3.13.
23
23
- Before you can use the Pinecone SDK, you must sign up for an account and find your API key in the Pinecone console dashboard at [https://app.pinecone.io](https://app.pinecone.io).
Copy file name to clipboardExpand all lines: docs/upgrading.md
+155Lines changed: 155 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,161 @@ The official SDK package was renamed from `pinecone-client` to `pinecone` beginn
4
4
Please remove `pinecone-client` from your project dependencies and add `pinecone` instead to get
5
5
the latest updates.
6
6
7
+
## Upgrading from `7.x` to `8.x`
8
+
9
+
### Breaking changes in 8.x
10
+
11
+
⚠️ **Python 3.9 is no longer supported.** The SDK now requires Python 3.10 or later. Python 3.9 reached end-of-life on October 2, 2025. Users must upgrade to Python 3.10+ to continue using the SDK.
12
+
13
+
⚠️ **Namespace parameter default behavior changed.** The SDK no longer applies default values for the `namespace` parameter in GRPC methods. When `namespace=None`, the parameter is omitted from requests, allowing the API to handle namespace defaults appropriately. This change affects `upsert_from_dataframe` methods in GRPC clients. The API is moving toward `"__default__"` as the default namespace value, and this change ensures the SDK doesn't override API defaults.
14
+
15
+
### Useful additions in `8.x`
16
+
17
+
**Most Important Features:**
18
+
19
+
1.**Dedicated Read Capacity for Serverless Indexes**: Configure dedicated read nodes with manual scaling control for better performance and capacity planning. You can create indexes with dedicated read capacity or configure existing indexes to switch between OnDemand and Dedicated modes.
20
+
21
+
2.**Fetch and Update by Metadata**:
22
+
-`fetch_by_metadata()`: Retrieve vectors using metadata filters instead of vector IDs, with pagination support
23
+
-`update()` with `filter` parameter: Bulk update vectors matching metadata criteria
24
+
-`FilterBuilder`: Fluent, type-safe interface for constructing metadata filters with AND/OR logic
25
+
26
+
**Other New Features:**
27
+
28
+
-`create_namespace()`: Programmatically create namespaces in serverless indexes
29
+
-`match_terms` parameter: Specify required terms in search operations for sparse indexes
30
+
- Admin API enhancements: Update API keys, projects, and organizations; delete organizations
31
+
- Metadata schema configuration: Control which metadata fields are filterable when creating indexes
32
+
- LSN header information: Access Log Sequence Number information from API responses
33
+
34
+
**Performance Improvements:**
35
+
36
+
-**orjson adoption**: 10-23x faster JSON serialization/deserialization (see [PR #556](https://github.com/pinecone-io/pinecone-python-client/pull/556))
- Comprehensive type hints with Python 3.10+ syntax throughout the SDK
42
+
- Updated docstrings with RST formatting and code examples
43
+
- Updated protobuf to 5.29.5 for security
44
+
- Migrated from poetry to uv for faster dependency management
45
+
46
+
### Dedicated Read Capacity for Serverless Indexes
47
+
48
+
You can now configure dedicated read nodes for your serverless indexes. By default, serverless indexes use OnDemand read capacity, which automatically scales based on demand. With dedicated read capacity, you can allocate specific read nodes with manual scaling control.
There are no intentional breaking changes when moving from v6 to v7 of the SDK. The major version bump reflects the move from calling the `2025-01` to the `2025-04` version of the underlying API.
0 commit comments