Skip to content

chore(deps): Bump finlight-client from 2.4.0 to 3.0.0 - #38

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/finlight-client-3.0.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/finlight-client-3.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 5, 2026

Copy link
Copy Markdown
Contributor

Bumps finlight-client from 2.4.0 to 3.0.0.

Release notes

Sourced from finlight-client's releases.

3.0.0

Breaking release. 3.0.0 speaks only the finlight API v3 (REST /v3, WebSocket payloadVersion 3, v3 webhooks). Code written for 2.x does not run unchanged. To stay on 2.x, pin finlight-client<3. Migration guide: https://docs.finlight.me/migration/v2-to-v3

Contract kit: 3.0.0-rc.6.

Removed

  • Everything from API v1 and v2: FinlightApi, ApiConfig, ArticleService, SourcesService, WebSocketClient, RawWebSocketClient, WebhookService, the v2 models and parameter classes.
  • setup.py (the package is built from pyproject.toml).
  • Python 3.7 to 3.9.
  • Since the release candidate for contract kit 3.0.0-rc.6: the SDK's own company cache. FinlightConfig.company_cache_size and CacheInfo.not_modified are gone; companies.get no longer keeps records or revalidates them on its own. cache_info(record) (etag, cache_control) and the if_none_match option stay.

Added

  • FinlightClient and FinlightConfig with articles.search, articles.search_all (SearchAllResult), articles.get, articles.get_by_link, companies.search, companies.get_many, companies.get (cache_info(record), your own if_none_match) and sources.list. Lists carry skipped (SkippedEntry) for entries that could not be read. Lookups (companies.*, sources.list) cost 1 credit per call from the same monthly quota and burst limit as articles (get_many 1 per call); a 304 answer and errors cost 1 credit too. The SDK keeps no cache of company records: companies.get sends If-None-Match only with your if_none_match and returns None on a 304. To save credits, keep the records yourself and do not call again within max-age.
  • client.stream(...) and client.raw_stream(...) return a FinlightStream (async iterator of StreamEvent): ping and pong watchdog, rotation before the 2 hour limit, the same subscribe after every reconnect, duplicate filter, takeover option, typed terminal errors (PreemptedError). Hooks get info objects: on_admitted(AdmittedInfo), on_reconnect(ReconnectInfo), on_error(FinlightError), on_quota_wait(QuotaWaitInfo).
  • The reconnect backoff starts again from the base only after a pong or an article arrived on the connection. connection.admitted alone does not reset it (it comes before the subscribe is checked).
  • Rotation opens the new connection before closing the old one. If that dial is refused or fails (for example 403 at a connection limit of 1, a network error or a 5xx), the stream closes the old connection and dials again at once, without on_error. Only a second failure waits as usual. A 401, missing WebSocket access or an exhausted quota with quota_reconnect=False still end the stream.
  • When the monthly WebSocket quota is exhausted (dial 403 "quota exceeded" or connection.preempted with reason quota_exceeded), the stream tries again every hour until the quota allows it, logging a warning and calling on_quota_wait each time. On by default; quota_reconnect=False ends the stream with the error instead; quota_reconnect_interval sets the interval. A preempt with reason connection_limit stays terminal.
  • Webhooks.construct_event, Webhooks.construct_event_from_values and Webhooks.verify_signature (DEFAULT_WEBHOOK_TOLERANCE 300 s). A correctly signed body that is not payloadVersion 3 returns WrongPayloadVersion (answer it with 2xx). Verification failures carry a snake_case reason.
  • Errors: FinlightApiError (with api_kind) and one subclass per kind, FinlightValidationError

... (truncated)

Changelog

Sourced from finlight-client's changelog.

3.0.0 (2026-11-29)

Breaking release. 3.0.0 speaks only the finlight API v3 (REST /v3, WebSocket payloadVersion 3, v3 webhooks). Code written for 2.x does not run unchanged. To stay on 2.x, pin finlight-client<3. Migration guide: https://docs.finlight.me/migration/v2-to-v3

Contract kit: 3.0.0-rc.6.

Removed

  • Everything from API v1 and v2: FinlightApi, ApiConfig, ArticleService, SourcesService, WebSocketClient, RawWebSocketClient, WebhookService, the v2 models and parameter classes.
  • setup.py (the package is built from pyproject.toml).
  • Python 3.7 to 3.9.
  • Since the release candidate for contract kit 3.0.0-rc.6: the SDK's own company cache. FinlightConfig.company_cache_size and CacheInfo.not_modified are gone; companies.get no longer keeps records or revalidates them on its own. cache_info(record) (etag, cache_control) and the if_none_match option stay.

Added

  • FinlightClient and FinlightConfig with articles.search, articles.search_all (SearchAllResult), articles.get, articles.get_by_link, companies.search, companies.get_many, companies.get (cache_info(record), your own if_none_match) and sources.list. Lists carry skipped (SkippedEntry) for entries that could not be read. Lookups (companies.*, sources.list) cost 1 credit per call from the same monthly quota and burst limit as articles (get_many 1 per call); a 304 answer and errors cost 1 credit too. The SDK keeps no cache of company records: companies.get sends If-None-Match only with your if_none_match and returns None on a 304. To save credits, keep the records yourself and do not call again within max-age.
  • client.stream(...) and client.raw_stream(...) return a FinlightStream (async iterator of StreamEvent): ping and pong watchdog, rotation before the 2 hour limit, the same subscribe after every reconnect, duplicate filter, takeover option, typed terminal errors (PreemptedError). Hooks get info objects: on_admitted(AdmittedInfo), on_reconnect(ReconnectInfo), on_error(FinlightError), on_quota_wait(QuotaWaitInfo).
  • The reconnect backoff starts again from the base only after a pong or an article arrived on the connection. connection.admitted alone does not reset it (it comes before the subscribe is checked).
  • Rotation opens the new connection before closing the old one. If that dial is refused or fails (for example 403 at a connection limit of 1, a network error or a 5xx), the stream closes the old connection and dials again at once, without on_error. Only a second failure waits as usual. A 401, missing WebSocket access or an exhausted quota with quota_reconnect=False still end the stream.
  • When the monthly WebSocket quota is exhausted (dial 403 "quota exceeded" or connection.preempted with reason quota_exceeded), the stream tries again every hour until the quota allows it, logging a warning and calling on_quota_wait each time. On by default; quota_reconnect=False ends the stream with the error instead; quota_reconnect_interval sets the interval. A preempt with reason connection_limit stays terminal.
  • Webhooks.construct_event, Webhooks.construct_event_from_values and Webhooks.verify_signature (DEFAULT_WEBHOOK_TOLERANCE 300 s). A correctly signed body that is not payloadVersion 3 returns WrongPayloadVersion (answer it with 2xx). Verification failures carry a snake_case reason.
  • Errors: FinlightApiError (with api_kind) and one subclass per kind, FinlightValidationError

... (truncated)

Commits
  • 14e1f92 Merge pull request #11 from jubeiargh/v3
  • 665a03d Release 3.0.0
  • 54281f4 Sync contract kit 3.0.0-rc.6 text: changelog line for the raw query check, bl...
  • 6e3a64a fix: companies.search refuses an empty or blank q before sending
  • 965ffcb Sync contract kit 3.0.0-rc.6 text: E-03 field badQuery, raw query check
  • f3922d0 chore: .gitattributes with eol=lf for identical checkouts
  • d7bb62d conformance: sync rc.6 kit (article lookups need custom grant and plan window)
  • 0b35937 feat!: drop the SDK's own company cache (contract kit 3.0.0-rc.6)
  • 966e15c docs: every lookup costs 1 credit, a 304 and errors included
  • 07aa8df docs: lookups cost 1 credit per successful call (contract kit 3.0.0-rc.5)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [finlight-client](https://github.com/jubeiargh/finlight-client-py) from 2.4.0 to 3.0.0.
- [Release notes](https://github.com/jubeiargh/finlight-client-py/releases)
- [Changelog](https://github.com/jubeiargh/finlight-client-py/blob/main/CHANGELOG.md)
- [Commits](jubeiargh/finlight-client-py@2.4.0...3.0.0)

---
updated-dependencies:
- dependency-name: finlight-client
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Dec 5, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants