Skip to content

chore: release package#3

Merged
nip10 merged 1 commit intomainfrom
changeset-release/main
Dec 25, 2025
Merged

chore: release package#3
nip10 merged 1 commit intomainfrom
changeset-release/main

Conversation

@nip10
Copy link
Owner

@nip10 nip10 commented Dec 25, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

fmp-node-sdk@2.0.0

Major Changes

  • 49cda76: ## Breaking Changes

    API Migration: v3/v4 → Stable API

    This is a complete API migration. The SDK now uses FMP's new stable API instead of the legacy v3/v4 endpoints.

    • Base URL changed from https://financialmodelingprep.com/api to https://financialmodelingprep.com/stable
    • All endpoint paths have been updated to match the stable API specification
    • Path parameters converted to query parameters (e.g., /v3/profile/AAPL/profile?symbol=AAPL)

    If you were customizing the baseUrl in your config, you'll need to update it.

    Endpoint Changes

    All endpoints have been migrated. Examples of changes:

    Resource Old Endpoint New Endpoint
    Company v3/profile/{symbol} profile?symbol=
    Company v3/quote/{symbol} quote?symbol=
    Company v3/search search-symbol, search-name
    Analyst v3/analyst-estimates analyst-estimates
    Analyst v4/price-target price-target
    Analyst v3/grade grades
    Bulk v4/profile/all profile-bulk
    Bulk v4/dcf dcf-bulk
    Financials v3/income-statement/{symbol} income-statement?symbol=
    Market v3/historical-price-full/{symbol} historical-price-eod/full?symbol=

    Method Signature Changes

    • CompanyResource.search() is now deprecated, use searchSymbol() or searchName()
    • CompanyResource.getDelistedCompanies(limit?) now takes (page, limit) parameters
    • BulkResource.getAllProfiles() now takes optional part parameter for pagination
    • BulkResource.getAllETFHoldings() now takes optional part parameter for pagination
    • CommoditiesResource.getHistoricalPrices() now returns HistoricalPrice[] instead of { historical: HistoricalPrice[] }

    Type Changes

    DCFValuation and LeveredDCF

    • Renamed 'Stock Price' property to stockPrice

    Quote type - Nullable fields

    The following fields are now nullable to accurately reflect the API response:

    • marketCap: numbernumber | null
    • priceAvg50: numbernumber | null
    • priceAvg200: numbernumber | null
    • eps: numbernumber | null
    • pe: numbernumber | null
    • earningsAnnouncement: stringstring | null
    • sharesOutstanding: numbernumber | null

    EarningsSurprise type

    • actualEarningResult: numbernumber | null
    • estimatedEarning: numbernumber | null

    New Features

    NewsResource

    • getAvailableTranscriptSymbols() - Get symbols with available earnings call transcripts
    • searchPressReleases(query, limit) - Search press releases
    • searchStockNews(query, limit) - Search stock news
    • searchCryptoNews(query, limit) - Search crypto news
    • searchForexNews(query, limit) - Search forex news

    InsiderResource

    • getHolderPerformanceSummary(cik, date) - 13F portfolio holdings performance
    • getIndustryPerformanceSummary(cik, date) - 13F industry portfolio holdings performance

    AnalystResource

    • getGradesSummary(symbol) - Analyst grades summary

    ValuationResource

    • getCustomLeveredDCF(symbol) - Custom levered DCF valuation

    CompanyResource

    • searchSymbol(query, limit, exchange) - Search by symbol
    • searchName(query, limit, exchange) - Search by company name
    • getBatchAftermarketTrades(symbols) - Batch aftermarket trades
    • getETFList() - List of all ETFs
    • getMutualFundList() - List of all mutual funds

    New Types

    • PortfolioHoldingsSummary - 13F portfolio holdings summary
    • IndustryPortfolioHoldingsSummary - 13F industry portfolio holdings summary
    • FundListItem - ETF/Mutual fund list item
    • QuoteShort - Simplified quote data
    • AftermarketTrade - Aftermarket trade data
    • AftermarketQuote - Aftermarket quote data
    • PriceChange - Stock price change data

    Migration Guide

    1. Update base URL (if customizing): Change from /api to /stable
    2. Update search calls: Replace .search() with .searchSymbol() or .searchName()
    3. Handle nullable fields: Add null checks for Quote fields that are now nullable
    4. Update DCF access: Change result['Stock Price'] to result.stockPrice
    5. Update commodity historical: Handle direct array return instead of { historical: [] }

@nip10 nip10 merged commit 6f79290 into main Dec 25, 2025
2 checks passed
@nip10 nip10 deleted the changeset-release/main branch December 25, 2025 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant