Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.28.0"
".": "0.29.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 10
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/perplexity-ai/perplexity-cefddb763d493b69465328583ef47cf95655d9cdb3dd0f2c8680fd9679f3c8d8.yml
openapi_spec_hash: 72274397b70c787db6db52dfd34a75ee
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/perplexity-ai/perplexity-8deeee7ec30ff9d4ce52c48452d3660f806e614f14bb8f77209ff43ac449b60e.yml
openapi_spec_hash: 2334e8ee2ebe0d944472ad9385bb79e0
config_hash: e09a1767e929614701fb498eaaac682d
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.29.0 (2026-05-13)

Full Changelog: [v0.28.0...v0.29.0](https://github.com/perplexityai/perplexity-node/compare/v0.28.0...v0.29.0)

### Features

* **search:** add search_type parameter for People Search routing ([13dbe2d](https://github.com/perplexityai/perplexity-node/commit/13dbe2dbe249d4e6371d58af5821da6afdfb62de))

## 0.28.0 (2026-05-13)

Full Changelog: [v0.27.0...v0.28.0](https://github.com/perplexityai/perplexity-node/compare/v0.27.0...v0.28.0)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@perplexity-ai/perplexity_ai",
"version": "0.28.0",
"version": "0.29.0",
"description": "The official TypeScript library for the Perplexity API",
"author": "Perplexity <api@perplexity.ai>",
"types": "dist/index.d.ts",
Expand Down
6 changes: 6 additions & 0 deletions src/resources/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ export interface SearchCreateParams {
search_mode?: 'web' | 'academic' | 'sec' | null;

search_recency_filter?: 'hour' | 'day' | 'week' | 'month' | 'year' | null;

/**
* Search type — "web" for general web search, "people" for people search.
* max_results above 20 is only supported for people search.
*/
search_type?: 'web' | 'people' | null;
}

export declare namespace Search {
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.28.0'; // x-release-please-version
export const VERSION = '0.29.0'; // x-release-please-version
1 change: 1 addition & 0 deletions tests/api-resources/search.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ describe('resource search', () => {
search_language_filter: ['string'],
search_mode: 'web',
search_recency_filter: 'hour',
search_type: 'web',
});
});
});