Skip to content

Commit 9b3967a

Browse files
authored
Merge pull request #9 from perplexityai/release-please--branches--main--changes--next--components--perplexity_ai
2 parents 2fa37d8 + f15312c commit 9b3967a

File tree

7 files changed

+22
-5
lines changed

7 files changed

+22
-5
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.11.0"
2+
".": "0.12.0"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 5
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/perplexity-ai%2Fperplexity-a5b37a929bd593ff0817459fc9a9c59f7c6a3af614c0485f00a212f2668f846b.yml
3-
openapi_spec_hash: e25bde2df8fd479ea1e591c07adac8b6
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/perplexity-ai%2Fperplexity-cf9f981e30f8c9739f337a8b20436cebdbf35fffc70d6db5a09ec5a3b68cddef.yml
3+
openapi_spec_hash: d0cdcfdde0a0046e6451305475060748
44
config_hash: 29552caca3e91432ed1a14f4a38487cc

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.12.0 (2025-10-16)
4+
5+
Full Changelog: [v0.11.0...v0.12.0](https://github.com/perplexityai/perplexity-node/compare/v0.11.0...v0.12.0)
6+
7+
### Features
8+
9+
* **api:** manual updates ([2e04383](https://github.com/perplexityai/perplexity-node/commit/2e04383069b2aa04011def4ea5850a350db08583))
10+
311
## 0.11.0 (2025-10-10)
412

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@perplexity-ai/perplexity_ai",
3-
"version": "0.11.0",
3+
"version": "0.12.0",
44
"description": "The official TypeScript library for the Perplexity API",
55
"author": "Perplexity <[email protected]>",
66
"types": "dist/index.d.ts",

src/resources/search.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,15 @@ export interface SearchCreateParams {
4646

4747
max_tokens_per_page?: number;
4848

49+
search_after_date_filter?: string | null;
50+
51+
search_before_date_filter?: string | null;
52+
4953
search_domain_filter?: Array<string> | null;
5054

5155
search_mode?: 'web' | 'academic' | 'sec' | null;
56+
57+
search_recency_filter?: 'hour' | 'day' | 'week' | 'month' | 'year' | null;
5258
}
5359

5460
export declare namespace Search {

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '0.11.0'; // x-release-please-version
1+
export const VERSION = '0.12.0'; // x-release-please-version

tests/api-resources/search.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ describe('resource search', () => {
2828
max_results: 0,
2929
max_tokens: 0,
3030
max_tokens_per_page: 0,
31+
search_after_date_filter: 'search_after_date_filter',
32+
search_before_date_filter: 'search_before_date_filter',
3133
search_domain_filter: ['string'],
3234
search_mode: 'web',
35+
search_recency_filter: 'hour',
3336
});
3437
});
3538
});

0 commit comments

Comments
 (0)