Skip to content

Releases: Kotak-Neo/kotak-neo-python

Release list

v3.0.1

Choose a tag to compare

@Kotak-Neo Kotak-Neo released this 17 Aug 07:15
Immutable release. Only release title and notes can be modified.

Type: Patch release — bug fix, no breaking changes. Safe to upgrade from v3.0.0 with no code changes required.

Fixed

  • SDK is now quiet by default at runtime (#18). Previously, every REST API call logged an INFO-level line for its start and success (plus client init/close events), which printed to stdout by default — indistinguishable from print() output and noisy for normal usage.
    • The default log level (NEO_LOG_LEVEL) changed from INFO to WARNING. Only warnings and errors are visible out of the box now.
    • rest_client_initialized, api_request_start, api_request_success, and rest_client_closing are now logged at DEBUG instead of INFO, reflecting that they're routine tracing, not actionable events.
    • Want the old verbosity back? Set NEO_LOG_LEVEL=INFO or NEO_LOG_LEVEL=DEBUG.

Documentation

  • Migration Guide references now read "v2.0.2 → v3.0.X" (covers the whole v3 line rather than pinning to v3.0.0 specifically).
  • Updated docs/guides/MIGRATION.md's logging section to describe the new quiet-by-default behavior.

Notes

  • No API surface changes — this is purely a logging-verbosity and documentation fix.

v3.0.0

Choose a tag to compare

@Kotak-Neo Kotak-Neo released this 15 Aug 06:54
Immutable release. Only release title and notes can be modified.

What's Changed

Fixes

  • Fixed several correctness issues in the SFeed WebSocket client's trading-symbol
withholding logic (introduced to avoid delivering ticks with an unresolved
trading_symbol):
    • Messages for different feed levels (e.g. touch line vs. full depth) on the
same instrument no longer overwrite each other while withheld.
    • Withholding is now scoped per-instrument instead of pausing the entire feed
when a single new subscription is added.
    • The withholding timeout now reliably releases parked messages even on a
quiet/thinly-traded instrument.
    • snapshot() no longer leaves the feed paused indefinitely.
    • Overlapping subscribe calls no longer release each other's pending messages
prematurely.
    • Fixed a RecursionError that could occur on a long-idle WebSocket connection.

Enhancements

  • search_scrip() now accepts option_type="FUT" as an alias for futures
contracts (mapped internally to the scrip-master's "XX" value).
  • HTTP2 support with automatic fallback to HTTP1.1
  • 100% code coverage along with zero vulnerabilities.

Documentation

  • Refined and updated documentation along with all kind of installation and migration guides.
  • Added SECURITY.md with a private vulnerability-reporting policy.