Releases: Fabric-Labs/polyester-sdk-python
Releases · Fabric-Labs/polyester-sdk-python
Release list
v0.1.0a55
Added
- Market-order create/preview now expose
max_slippage_bpsormax_slippage_ticksand serialize the chosen override ontoOrderIntent.market_ioc. Omit both to keep pair defaults. The fields are mutually exclusive, bounded (bps1–10000, ticks positive), rejected on limit orders, and unknown create arguments now error instead of being dropped.
v0.1.0a54
Added
- Limit GTD orders:
tif="gtd"plus required RFC3339 UTCexpires_atencodeOrderIntent.limit_gtd(price, optionalpost_only, 1s–30d expiry) - Order reads expose
expire_atfor GTD and omit it otherwise
Changed
- Generated Connect/protobuf bindings now include
ClaimsService.GetDailyClaimStatusandClaimDailyReward. Those RPCs stay JWT/session-only and are not wrapped in this API-key SDK.
v0.1.0a53
Breaking
POLYESTER_TESTNET_ENVIRONMENTis now public testnet (api-testnet.polyester.com, chain888169). The previous preset isPOLYESTER_DEVNET_ENVIRONMENTand remains the client default.
Added
- Paginated order lineage history:
Order.lineage/UserTrade.lineage,GetOrderResult.transfers/next_page_token, andUserTradesList.transfers orders.getacceptsinclude_execution_history,limit, andpage_tokentrades.listaccepts mutually exclusiveorder_id/lineage_id, optionalthrough_generation, andinclude_transfers- First-class
PolyesterEnvironmentpresets,create_polyester_environment,environment.with_urls(...), andPOLYESTER_ENV=devnet|testnet - CI rejects proto-relative Connect imports so gen drops remap to
polyester.gen.*
Changed
- Restored
polyester.gen.*imports in the fees, VIP, and rate-limit Connect clients
v0.1.0a52
Breaking
DepositWithdrawConfig.polyester_chain_idis removed. The zipper config no longer publishes a dedicated Polyester chain id.
Added
market_overview.get_currency_conversion_configandget_currency_conversion_rates- Fiat
units_per_usd_e8is currency units per 1 USD at 1e8 scale (USD identity is 100_000_000) - Stablecoin
usd_per_unit_e8is observed USD per unit at the same scale - A missing fiat snapshot or omitted stablecoin is unobserved, not zero
Changed
- Restored
polyester.gen.*imports in the fees, VIP, and rate-limit Connect clients - Document that a reused
client_order_idon create is a conflict after the first admission (CONFLICT_DUPLICATE_CLIENT_ORDER_ID)
v0.1.0a51
Breaking
orders.cancel_allnow sends repeated Connectsymbol_idsinstead of a singlesymbol_id. Callers can passsymbol,symbols, orsymbol_ids(mutually exclusive).
Added
market_overview.get_spot_volume_history- Candle
quote_volume; market overview optional 24h volume fields - Ladder
executed_levels/executed_qty - TWAP market-IOC
max_slippage_ticksormax_slippage_bps - Typed withdraw/transfer
ErrorDetail - Discord social verification start without handle
Changed
- Generated
AuthService.AcceptTermsstays JWT-only and unwrapped - Restored
polyester.gen.*imports in fees, VIP, and rate-limit Connect clients
v0.1.0a50
Changed
- Generated Connect/protobuf bindings now include
GetPortfolioEquityHistorySeriesandGetPortfolioEquitySnapshot. Those LedgerRead RPCs stay JWT/session-only and are not wrapped in this API-key SDK. - Equity history decode maps the additive
EquitySeries.portfolio_accountgrouping so the shared series type keeps portfolio identity instead of dropping it. - Trigger modify proto validation is stricter: trigger price and trailing distance must be positive, and slippage / trailing BPS stay in 1–10000.
v0.1.0a49
Fixed
- Qty/price strings with trailing zeros past scale are accepted when the value is exact after trim.
"1.500000000"at scale 8 matches"1.5";"1.500000001"still rejects.
v0.1.0a48
Breaking
MeResult.api_key_idis the publicak_+ 32-hex string fromMeResponse.api_key_id, not a formatted numeric ID. It is empty when the call was not API-key authenticated.- Subaccount
statusis decoded fromSubaccountStatus(active/disabled; unspecified is empty). Invite list/get filters encodeincoming/outgoingontoSubaccountInviteDirectionand reject unknown labels. - Cancel, cancel-all, cancel-all-after, and batch-cancel outcomes decode from closed proto enums onto the existing public labels. Unspecified or unknown values fail closed.
Changed
- Generated bindings include
GenerateUsernameOptionsandClaimGeneratedUsername. Those Profile RPCs stay JWT/session-only and are not wrapped in this API-key SDK. - Restored
polyester.gen.*imports in the fees, VIP, and rate-limit Connect clients.
v0.1.0a47
Added
Order.attached_risklegs expose typedAttachedRiskLegStateruntime status, armed/terminal timestamps, trigger ID, and child-order ID, including state-only wrappers.
Fixed
- Trailing-stop basis-point fields validate within 1–10,000 before protobuf assignment.
- Batch create rejects duplicate non-empty client order IDs.
- Attached-risk decode preserves stop-loss and trailing-stop legs together.
- Buffered stale orderbook resets no longer rewind newer snapshots.
- Ladder trigger ranges require resolved minimum price ticks to be strictly less than maximum.
v0.1.0a46
Added
LedgerTransfer.source/destination(TransferSide) including Zipperchain_idon external-address sides.trades.list(after_match_id=...)durable fill replay cursor.- Address-book
get_view(minimum_view_revision=...)plusview_revision.
Changed
Order.orig_qtyis the current accepted total after a successful modify.- Trigger modify omits
activation_price/max_slippage_*to preserve values and sends explicit zero to clear.max_slippage_bpsis 1–10000 (modify still accepts0to clear).
Removed
- Unused handwritten Connect header and body helpers. Generated clients own unary requests, including
application/protofor binary.
Breaking
- Connect payloads are
symbol_id-only exceptGetSpotConfig. Triggermodify/resumerequiresymbolorsymbol_id. Policy models drop perp rules.