Skip to content

Conversation

@tiagosiebler
Copy link
Member

snyk-top-banner

Snyk has created this PR to upgrade bybit-api from 4.3.1 to 4.4.5.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 8 versions ahead of your current version.

  • The recommended version was released a month ago.

Release notes
Package name: bybit-api
  • 4.4.5 - 2025-12-29

    What's Changed

    New Contributors

    Full Changelog: v4.4.4...v4.4.5

  • 4.4.4 - 2025-12-18

    What's Changed

    Full Changelog: v4.4.3...v4.4.4

  • 4.4.3 - 2025-12-18

    What's Changed

    • feat(v4.4.3): new crypto loan endpoints for renewing borrow orders and an additional response field for USDT pre-market contracts. by @ JJ-Cro in #511
    • [Snyk] Upgrade axios from 1.12.1 to 1.12.2 by @ tiagosiebler in #495
    • chore(deps-dev): bump js-yaml from 3.14.1 to 3.14.2 in the npm_and_yarn group across 1 directory by @ dependabot[bot] in #506
    • [Snyk] Upgrade webpack-bundle-analyzer from 4.3.0 to 4.10.2 by @ tiagosiebler in #507

    Summary

    • Update Bybit V5 API client to support the latest release notes from 2025-11-25 and 2025-11-27. This includes new crypto loan endpoints for renewing borrow orders and an additional response field for USDT pre-market contracts.
      • Market Data Updates (2025-11-25)
        • Get Instruments Info: Added skipCallAuction?: boolean field
        • Get Account Instruments Info: Inherited skipCallAuction field
      • Crypto Loan - Fixed Loan (2025-11-27)
        • Added two new endpoints for renewing fixed crypto loans:

    Full Changelog: v4.4.2...v4.4.3

  • 4.4.2 - 2025-11-14

    What's Changed

    • feat(v4.4.2): Update full release notes since 1st October by @ JJ-Cro in #504

    Market Data APIs

    • Get Tickers (Linear/Inverse): Added new response fields basisRateYear, fundingIntervalHour, and fundingCap for enhanced funding rate information

    Account APIs

    • Get Transaction Log: Added optional transSubType parameter to filter transaction logs by sub-type (e.g., "movePosition" for Move Position logs)

    Spot Margin Trade (UTA) APIs - New Endpoints

    • Manual Borrow (POST /v5/account/borrow): New endpoint for UTA manual borrow operations

      • Added ManualBorrowParamsV5 request type
      • Added ManualBorrowResultV5 response type
    • Get Max Borrowable Amount (GET /v5/spot-margin-trade/max-borrowable): New endpoint to query maximum borrowable amount for a currency

      • Added GetMaxBorrowableAmountParamsV5 request type
      • Added MaxBorrowableAmountV5 response type
    • Get Position Tiers (GET /v5/spot-margin-trade/position-tiers): New endpoint to get loan position risk information

      • Added GetPositionTiersParamsV5 request type
      • Added PositionTierV5 and CurrencyPositionTiersV5 response types
    • Get Coin State (GET /v5/spot-margin-trade/coinstate): New endpoint to get currency leverage information

      • Added GetCoinStateParamsV5 request type
      • Added CoinStateV5 response type
    • Get Available Amount to Repay (GET /v5/spot-margin-trade/repayment-available-amount): New endpoint to query available amount for repayment

      • Added GetAvailableAmountToRepayParamsV5 request type
      • Added AvailableAmountToRepayV5 response type
    • Manual Repay Without Asset Conversion (POST /v5/account/no-convert-repay): New endpoint for manual repayment without asset conversion

      • Added ManualRepayWithoutConversionParamsV5 request type
      • Added ManualRepayWithoutConversionResultV5 response type
      • Note: Repayment is prohibited between 04:00 and 05:30 per hour

    Spot Margin Trade - Updated Endpoints

    • Set Leverage (POST /v5/spot-margin-trade/set-leverage): Enhanced to support optional currency parameter for setting leverage by currency
      • Added SetSpotMarginLeverageParamsV5 type
      • Maintains backward compatibility

    Code Quality Improvements

    • Get Affiliate User List: Extracted inline type definition to proper exported interface GetAffiliateUserListParamsV5 for better type reusability and maintainability

    Type Definitions

    • All new request and response types are properly exported from their respective type definition files
    • Types are fully documented with JSDoc comments where applicable
    • All changes maintain backward compatibility

    Full Changelog: v4.4.1...v4.4.2

  • 4.4.1 - 2025-11-14

    Previously running a JSON.stringify call within the WebsocketAPIClient exception handler could in rare circumstances lead to a circular reference. This handles that scenario in a safer way.

    What's Changed

    Full Changelog: v4.4.0...v4.4.1

  • 4.4.1-beta.0 - 2025-10-13

    What's Changed

    Full Changelog: v4.4.0...v4.4.1-beta.0

  • 4.4.0 - 2025-10-13

    What's Changed

    Full Changelog: v4.3.2...v4.4.0

  • 4.3.2 - 2025-10-03

    What's Changed

    • feat(v4.3.2): add rate limit, rpi orderbook & adl endpoints by @ JJ-Cro in #492
    • Add a new response field cumFeeDetail to return trading fee details instead of cumExecFee (resolves #491)

    Full Changelog: v4.3.1...v4.3.2

  • 4.3.1 - 2025-09-12

    What's Changed

    • feat(v4.3.1): add new endpoints for limit price behavior and new delivery price by @ JJ-Cro in #485
    • feat(v4.3.1): add new endpoints for limit price behavior and new deli… by @ JJ-Cro in #489

    Full Changelog: v4.3.0...v4.3.1

from bybit-api GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

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.

2 participants