github gadicc/node-yahoo-finance2 v3.0.0

pre-release19 hours ago

3.0.0 (2025-02-27)

⚠ BREAKING CHANGES

  • pkg: init via new YahooFinance(), etc. See UPGRADING.md

Features

  • dailyLosers: add module (#878) (7ad8b53)
  • fundamentals: typescript types, schema, periodType, etc. (340bc01)
  • logging: hide logger.debug() output (TODO, ability to toggle) (fb19d6d)
  • npm: initial build_npm script using dnt (dfb7ffa)
  • pkg: deno work, schema generation, autoc, quote, YF class. (50b6370)
  • validation: switch back to compiled schema + custom validation (4b10851), closes #770 #797 #877
  • validation: track schema & instance paths, aggregate errors. (c75d5b7)

Bug Fixes

  • chart: use unknown instead of any (5c965ec)
  • circle: release ready, deps (f2bbddf)
  • circle: run tests in node:20 not node:18 anymore (90c0581)
  • circle: specify exact node version (8f9245e)
  • commonjs: use nodenext, remove ts-ignores for import attrs. (78aa206)
  • createYahooFinance: don't static import fetchDevel (9efee97)
  • dailyGainers: Type/validation fixes, doc links (#879) (5fd6463)
  • quote: add missing fields (77996cf)
  • quoteSummary: conversion + lots of type/schema fixes! (93ebf39)
  • release: convert to mjs, use npm dir, drop changelog (aeca0a2)
  • screener: conversion + schema updates (206b9aa)
  • search: conversion + schema updates (248f17e)
  • types: better fetch types (f626981)
  • types: rename unused schema compile file, expect-error in test (b5edec0)
  • types: use ValidationError in errors.ts (beefc4b)
  • validateAndCoerceTypes: make disallowAdditionalProps() stricter (6d31a3b)
  • validation: handle schema.$ref more than 1 level deep `;) (b6bb586)
  • validation: strings: correctly match against enum when given (2e88316)

Don't miss a new node-yahoo-finance2 release

NewReleases is sending notifications on new releases.