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.11.0"
".": "0.12.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: 5
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/perplexity-ai%2Fperplexity-a5b37a929bd593ff0817459fc9a9c59f7c6a3af614c0485f00a212f2668f846b.yml
openapi_spec_hash: e25bde2df8fd479ea1e591c07adac8b6
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/perplexity-ai%2Fperplexity-cf9f981e30f8c9739f337a8b20436cebdbf35fffc70d6db5a09ec5a3b68cddef.yml
openapi_spec_hash: d0cdcfdde0a0046e6451305475060748
config_hash: 29552caca3e91432ed1a14f4a38487cc
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.12.0 (2025-10-16)

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

### Features

* **api:** manual updates ([2e04383](https://github.com/perplexityai/perplexity-node/commit/2e04383069b2aa04011def4ea5850a350db08583))

## 0.11.0 (2025-10-10)

Full Changelog: [v0.10.0...v0.11.0](https://github.com/perplexityai/perplexity-node/compare/v0.10.0...v0.11.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.11.0",
"version": "0.12.0",
"description": "The official TypeScript library for the Perplexity API",
"author": "Perplexity <[email protected]>",
"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 @@ -46,9 +46,15 @@ export interface SearchCreateParams {

max_tokens_per_page?: number;

search_after_date_filter?: string | null;

search_before_date_filter?: string | null;

search_domain_filter?: Array<string> | null;

search_mode?: 'web' | 'academic' | 'sec' | null;

search_recency_filter?: 'hour' | 'day' | 'week' | 'month' | 'year' | 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.11.0'; // x-release-please-version
export const VERSION = '0.12.0'; // x-release-please-version
3 changes: 3 additions & 0 deletions tests/api-resources/search.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ describe('resource search', () => {
max_results: 0,
max_tokens: 0,
max_tokens_per_page: 0,
search_after_date_filter: 'search_after_date_filter',
search_before_date_filter: 'search_before_date_filter',
search_domain_filter: ['string'],
search_mode: 'web',
search_recency_filter: 'hour',
});
});
});