Packages

@ai-sdk/perplexity

5.0.37 · 20 Nov 2026Apache-2.01.9M / weekRepositoryHomepagenpmAtom feed

Your version

247 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 5.x · latest line
  2. 5.0.36 – 5.0.372 releases that only update dependencies@ai-sdk/provider-utils 5.0.83@ai-sdk/provider 4.0.39Show each
  3. 5.0.35

    13 Nov 2026
    • Derive known model ID suggestions from each provider's model catalog declarations so catalog updates automatically update autocomplete, while preserving existing suggestions, endpoint-specific model lists, and support for custom model IDs.

  4. 5.0.34

    13 Nov 2026

    Only updates a dependency:@ai-sdk/provider-utils 5.0.81

  5. 5.0.33

    12 Nov 2026
    • Add web grounding and page freshness options to decision models, and expose search evidence, fetched pages, and tool invocation counts in provider metadata.

  6. 5.0.30 – 5.0.323 releases that only update dependencies@ai-sdk/provider-utils 5.0.80@ai-sdk/provider 4.0.38Show each
  7. 5.0.28

    7 Nov 2026
    • Honor toolChoice: 'none' by omitting function and native tools, including MCP and connector configurations, and setting max_tool_calls: 0 to disable preset tools.

  8. 5.0.27

    5 Nov 2026
    • Centralize Perplexity language, embedding, and decision capabilities and provider options in a shared catalog, preserving request behavior and generating model capability tables from the catalog.

  9. 5.0.25 – 5.0.262 releases that only update dependencies@ai-sdk/provider-utils 5.0.74Show each
  10. 5.0.24

    30 Oct 2026
    • Support promises and synchronous or asynchronous callbacks in provider API key and token settings. Resolve credentials per authenticated request while preserving existing authentication behavior and synchronous credential serialization.

      The experimental OpenAI Live getServerWebSocketConfig() method can now resolve asynchronously. Await its result before using the connection settings.

  11. 5.0.23

    29 Oct 2026
    • Map the top-level reasoning option consistently across providers

      Providers now resolve reasoning the same way:

      mapReasoningToProviderEffort now accepts any reasoning value, returns an optional providerOptionsEffort unchanged, and rounds levels that are missing from the effort map to the closest supported level. mapReasoningToProviderBudget maps 'none' to the minimum reasoning budget, always returns a budget, and uses the default percentage for levels missing from budgetPercentages. OpenAICompatibleChatConfig adds an optional mapReasoning function for mapping the top-level reasoning option.

  12. 5.0.22

    27 Oct 2026
    • Expose the web search queries the Agent API ran as providerMetadata.perplexity.searchQueries for generateText and streamText. Previously only the query count (usage.numSearchQueries) was returned and the queries on search_results items and response.reasoning.search_queries events were dropped.

  13. 5.0.19 – 5.0.213 releases that only update dependencies@ai-sdk/provider-utils 5.0.69@ai-sdk/provider 4.0.34Show each
  14. 5.0.18

    22 Oct 2026
    • Report interrupted when a stream ends cleanly without its provider completion signal, preserving partial output without emitting an error solely for the interruption.

      This applies to OpenAI (Chat, Responses, and Completions), Anthropic, Google (Generate Content and Interactions), Alibaba, Amazon Bedrock Converse, Cohere, DeepSeek, Groq, Hugging Face Responses, Mistral Chat, Moonshot AI, Open Responses, Perplexity, and xAI Responses. It also covers cutoffs in later Anthropic messages and Google automatic continuations.

      Compatibility notice: These streams previously fell back to other or omitted the finish part. Applications must now handle interrupted in finish-reason switches, mappings, and custom validation. Check finishReason === 'interrupted' to detect incomplete responses; interruption alone does not trigger error handling.

      Explicit unknown completion reasons still map to other. Actual provider, parsing, and transport errors retain their error paths; affected error paths that previously left the finish reason as other now report error. OpenAI-compatible remains unchanged.

  15. 5.0.17

    21 Oct 2026
    • Defer construction of provider validation schemas until first use to reduce package import time.

  16. 5.0.16

    20 Oct 2026
    • Add maxOutputTokens and reasoning to experimental decision calls and forward them to language-model-backed decisions. Language-model adapters keep reasoning disabled when omitted. Native decision providers warn when either setting is unsupported.

  17. 5.0.15

    19 Oct 2026
    • perplexity: Add decisions api support

  18. 5.0.11 – 5.0.144 releases that only update dependencies@ai-sdk/provider 4.0.29@ai-sdk/provider-utils 5.0.62Show each
  19. 5.0.10

    8 Oct 2026
    • Map the top level embedding dimensions to provider settings

  20. 5.0.8 – 5.0.92 releases that only update dependencies@ai-sdk/provider 4.0.25@ai-sdk/provider-utils 5.0.57Show each
  21. 5.0.7

    6 Oct 2026
    • provider: Add a portable max reasoning level with native provider mappings, compatibility coercions, and budget-based fallback support.

      Compatibility notes:

      Release classification: This remains a patch changeset under the repository's explicit release policy, which uses patch releases for both fixes and features. The TypeScript source-compatibility caveat for exhaustive consumers is disclosed above. Maintainers can override this classification with a major label if they decide to align the provider-spec addition with a future AI SDK major release.

  22. 5.0.5 – 5.0.62 releases that only update dependencies@ai-sdk/provider 4.0.22@ai-sdk/provider-utils 5.0.54Show each
  23. 5.0.4

    30 Sep 2026
    • Add Perplexity integration attribution to provider requests.

  24. 5.0.3

    28 Sep 2026
    • Use standards-compliant User-Agent header

  25. 5.0.1

    27 Sep 2026
    • Accept null fields in Agent API stream events, such as contents: null on response.reasoning.fetch_url_results when no URLs were fetched. Previously these events failed validation and errored the stream.

  26. 5.0.0

    26 Sep 2026
    • Breaking

      Migrate language generation from the Sonar Chat Completions API to the Agent API. Replace Sonar model IDs and provider options with Agent API presets, models, and tools. The new API changes request and response metadata, raw stream events, usage and cost data, and does not support Sonar PDF input or image and video results.

    • Recover missing text from Agent API terminal events and output items, including incomplete responses, without repeating text already received as deltas. Track each message content part separately.

    • Accept native Agent API tool traces such as finance results without validating them as web search results. Preserve these traces in raw responses and stream chunks.

  27. 4.x
  28. 4.0.40 – 4.0.5212 releases that only update dependencies@ai-sdk/provider-utils 5.0.49@ai-sdk/provider 4.0.18Show each
  29. 4.0.39

    2 Sep 2026
    • perplexity: Preserve complete raw chat usage objects

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.