Skip to content

Commit c16b243

Browse files
authored
Merge pull request #9 from ppl-ai/release-please--branches--main--changes--next--components--perplexity_ai
2 parents 20d20ac + 003ad0e commit c16b243

File tree

8 files changed

+32
-8
lines changed

8 files changed

+32
-8
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.5.0"
2+
".": "0.6.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-deb5905eb84985f1017bc9a16c10bbca104ea0b85b46e05b68693a4f8de1aff8.yml
3-
openapi_spec_hash: 9224a8248d0a30a2d79baac3833d67d2
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/perplexity-ai%2Fperplexity-aba0c21c569842e93e17b69cae9cee58d389fce9c2482f4d251fd8727db05679.yml
3+
openapi_spec_hash: 3d01b1c1425f7d43a8acf8b99bb9b321
44
config_hash: 5eb378664dbbf04226c3eeb86103761d

CHANGELOG.md

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

3+
## 0.6.0 (2025-09-24)
4+
5+
Full Changelog: [v0.5.0...v0.6.0](https://github.com/ppl-ai/perplexity-node/compare/v0.5.0...v0.6.0)
6+
7+
### Features
8+
9+
* **api:** manual updates ([778bb2e](https://github.com/ppl-ai/perplexity-node/commit/778bb2ee170a8985e1fab3a6882318f7a402e8bb))
10+
11+
12+
### Chores
13+
14+
* do not install brew dependencies in ./scripts/bootstrap by default ([489e0d9](https://github.com/ppl-ai/perplexity-node/commit/489e0d9f189b10fc5772840bc5f9510778723286))
15+
316
## 0.5.0 (2025-09-19)
417

518
Full Changelog: [v0.4.0...v0.5.0](https://github.com/ppl-ai/perplexity-node/compare/v0.4.0...v0.5.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.5.0",
3+
"version": "0.6.0",
44
"description": "The official TypeScript library for the Perplexity API",
55
"author": "Perplexity <>",
66
"types": "dist/index.d.ts",

scripts/bootstrap

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,18 @@ set -e
44

55
cd "$(dirname "$0")/.."
66

7-
if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "$SKIP_BREW" != "1" ]; then
7+
if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "$SKIP_BREW" != "1" ] && [ -t 0 ]; then
88
brew bundle check >/dev/null 2>&1 || {
9-
echo "==> Installing Homebrew dependencies…"
10-
brew bundle
9+
echo -n "==> Install Homebrew dependencies? (y/N): "
10+
read -r response
11+
case "$response" in
12+
[yY][eE][sS]|[yY])
13+
brew bundle
14+
;;
15+
*)
16+
;;
17+
esac
18+
echo
1119
}
1220
fi
1321

src/resources/search.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ export namespace SearchCreateResponse {
3636
export interface SearchCreateParams {
3737
query: string | Array<string>;
3838

39+
country?: string | null;
40+
3941
max_results?: number;
4042

4143
max_tokens?: number;

src/version.ts

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

tests/api-resources/search.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ describe('resource search', () => {
2424
test.skip('create: required and optional params', async () => {
2525
const response = await client.search.create({
2626
query: 'string',
27+
country: 'country',
2728
max_results: 0,
2829
max_tokens: 0,
2930
max_tokens_per_page: 0,

0 commit comments

Comments
 (0)