Skip to content

Latest commit

 

History

History
419 lines (245 loc) · 7.72 KB

CHANGELOG.rst

File metadata and controls

419 lines (245 loc) · 7.72 KB

Changelog

Apibara Python SDK 0.8.0 (2024-04-10)

Addded

  • Update StarkNet definitions to add support for StarkNet 0.13.1.

Apibara Python SDK 0.7.5 (2023-11-15)

Addded

  • Add unstable option _force_filter_from_script to the IndexerRunner to always load the filter from the script, ignoring the filter stored in the database. This option is not compatible with dynamic filters.

Apibara Python SDK 0.7.4 (2023-11-15)

Addded

  • Add new include_transaction and include_receipt options to Starknet's event filters. These options allow indexers to reduce the amount of data sent by the server, improving performance when indexing large amount of data.

Apibara Python SDK 0.7.3a5 (2023-08-21)

Changed

  • Data is invalidated between pending blocks in the same db transaction as the pending block handler.

Addded

  • Add hidden option _reconnect_to_avoid_disconnection to IndexerRunner to automatically resend the configuration to the server not to be disconnected.

Apibara Python SDK 0.7.2 (2023-07-17)

Changed

  • Add option to IndexerRunner to configure timeout.

Apibara Python SDK 0.7.1 (2023-07-14)

Fixed

  • Don't store pending cursor to avoid crashing on restart.

Changed

  • Print more detailed information on exceptions.

Apibara Python SDK 0.7.0 (2023-07-08)

Changed

  • Update the Starknet definitions to add support for Starknet 0.12

Apibara Python SDK 0.6.7 (2023-06-08)

Fixed

  • Improve compatibility with Python 3.8

Apibara Python SDK 0.6.6 (2023-04-14)

Changed

  • Rescan blocks after filter update.

Fixed

  • Exception when receiving invalidate message and log level is debug.
  • Invalidate data when receiving an invalidate message.

Apibara Python SDK 0.6.5 (2023-03-16)

Added

  • Add update_filter method to Indexer to dynamically update the stream filter.

Apibara Python SDK 0.6.4 (2023-02-24)

Added

  • Add support for authenticating with the server

Apibara Python SDK 0.6.3 (2023-02-21)

Added

  • Set recommended grpc client options by default.
  • Add StreamAddress class with a list of well-known Apibara streams.

Fixed

  • Include timeout waiting for messages.

Apibara Python SDK 0.6.2 (2023-01-19)

Added

  • Filter.to_proto method that returns the filter's protobuf object.

Apibara Python SDK 0.6.1 (2023-01-18)

Added

  • Header filter has now a weak flag to include header data only if

any other filter matches. The flag can be set with Filter().with_header(weak=True).

Apibara Python SDK 0.6.0 (2023-01-16)

Added

  • New Indexer and StarkNetIndexer interfaces for developers to implement indexers.
  • Low-level StreamService, StreamClient, and StreamIter to communicate with the

streams directly. - A apibara.starknet module with StarkNet specific filters and data.

Changed

  • IndexerRunner is now responsible for applying an Indexer over a stream.

Apibara Python SDK 0.5.16 (2022-12-05)

Added

  • Events now include their transaction. Use event.transaction to access it.

Apibara Python SDK 0.5.15 (2022-12-01)

Fixed

  • Fix exception when starting block is not specified.

Apibara Python SDK 0.5.14 (2022-11-26)

Fixed

  • Fix exception caused by pending block handler.

Apibara Python SDK 0.5.13 (2022-11-25)

Fixed

  • Don't skip previously handled pending blocks on restart.

Apibara Python SDK 0.5.12 (2022-11-24)

Added

  • Introduce MessageHandler to simplify testing.

Apibara Python SDK 0.5.11 (2022-11-23)

Fixed

  • Handle deploy account transactions

Changed

  • Invalidate data between pending blocks handlers.

Apibara Python SDK 0.5.10 (2022-11-22)

Changed

  • Invalidate data on chain reorgs and after pending blocks.

Apibara Python SDK 0.5.9 (2022-11-17)

Fixed

  • Keep library backward-compatible with older Apibara streams.

Apibara Python SDK 0.5.8 (2022-11-16)

Added

  • Add support for pending blocks and events.

Apibara Python SDK 0.5.7 (2022-11-05)

Changed

  • Raise asyncio.TimeoutError if the message stream hangs and doesn't

receive any message for more than 45 seconds.

Apibara Python SDK 0.5.6 (2022-10-14)

Fixed

  • Use the new Node.StreamMessages method.

Apibara Python SDK 0.5.5 (2022-10-07)

Fixed

  • Handle StarkNet blocks with no transactions. This usually happens on custom

connections to devnet.

Apibara Python SDK 0.5.4 (2022-10-01)

Added

  • Add dynamic event filters to indexer.
  • Add block handler callback to indexer.

Apibara Python SDK 0.5.3 (2022-09-27)

Fixed

  • Include transaction hash in StarknetEvent.

Apibara Python SDK 0.5.2 (2022-09-15)

Fixed

  • Add starknet-py to dependencies.

Apibara Python SDK 0.5.1 (2022-09-14)

Changed

  • Remove network_name IndexerRunner argument.
  • Support filtering events by name only.

Apibara Python SDK 0.5.0 (2022-09-14)

Changed

  • Support Apibara stream protocol.

Added

  • Add flag to reset indexer state.

Apibara Python SDK 0.4.3 (2022-08-04)

Added

  • Include transaction hash in events.

Apibara Python SDK 0.4.2 (2022-07-24)

Added

  • Option to sort returned elements to Storage.find.

Fixed

  • Fix Storage.find default parameters.
  • Fix Storage.delete_one and Storage.delete_many. They now delete only current values.

Apibara Python SDK 0.4.1 (2022-07-21)

Fixed

  • Connection issue with Apibara 0.3.0

Apibara Python SDK 0.4.0 (2022-07-18)

Added

  • Introduce support for EVM-compatible networks.

Changed

  • Change minimum Apibara version required to 0.2.0.

Apibara Python SDK 0.3.0 (2022-07-08)

Added

  • Introduce IndexerStorage and Storage classes to interface with

document storage.

Apibara Python SDK 0.2.0 (2022-07-05)

Added

  • Add IndexerRunner to initialize and run the indexer in a more managed way.

Changed

  • Indexer now reconnects on disconnect.

Apibara Python SDK 0.1.1 (2022-06-27)

  • Initial release.