Skip to content

Latest commit

 

History

History
402 lines (270 loc) · 21.3 KB

File metadata and controls

402 lines (270 loc) · 21.3 KB

CHANGELOG

v0.5.1 (2026-04-02)

Bug Fixes

  • typing: Duplicate variable (7c4de21)

v0.5.0 (2026-04-02)

Bug Fixes

  • Correct indentation in MkDocs build step (54ec811)

  • tryx: Log unsupported event types in event handling (1d168e6)

  • typing: Add BuildBotError Exception (dc50815)

Features

  • Refactor MessageSource conversion and update proto import (7d7782d)

  • Simplified the conversion from WhatsAppMessageSource to MessageSource by using Arc for chat and sender. - Updated the import path for the WhatsApp protobuf to use the correct module. - Added unit tests for Tryx event classes and client initialization. - Introduced tests for JID type to ensure proper construction and representation. - Added new dependencies for CSS, HTML, and JS minification in the project. - Created initial test configuration and structure for integration tests.

  • Update MkDocs build process and bump tryx version to 0.4.0 (a746479)

v0.4.0 (2026-04-01)

Bug Fixes

  • client: Callback params (b133efe)

  • workflow: Update branch references from 'main' to 'master' in documentation workflow (9d64aa2)

Chores

  • deps: Update tryx version from 0.2.0 to 0.3.0 in Cargo.lock (c0b7ab7)

Refactoring

  • CI: Streamline platform matrix and remove musllinux configuration (2c2be2f)

v0.3.0 (2026-04-01)

Features

  • ci: Reintroduce Linux and Windows wheel builds with updated configurations (b30808f)

v0.2.0 (2026-04-01)

Bug Fixes

  • Remove RELEASE_PUSH_TOKEN reference from contributing guidelines (f92bd1d)

  • release: Update CI workflow dependencies and improve error handling for dispatch trigger (b1acd07)

  • release: Update default branch references in workflow and documentation (bc5a5cc)

  • release: Update default branch references in workflow and documentation (3bb0cb2)

  • test: Update workflows for commit message validation and release automation (b940d91)

  • workflow: Remove duplicate ref line in release workflow (2e3667a)

  • workflow: Update branch references from 'main' to 'master' in documentation workflow (0d9ecc6)

Chores

  • deps: Update tryx version from 0.2.0 to 0.3.0 in Cargo.lock (6bd891e)

Documentation

  • Update contributing guidelines to clarify release automation and required secrets (cea622c)

  • Update section title in contributing guidelines for clarity (ef04047)

Features

  • ci: Reintroduce Linux and Windows wheel builds with updated configurations (bb74fd2)

  • release: Enhance workflow dispatch with release type options and improve documentation (b477e44)

  • release: Enhance workflow dispatch with release type options and improve documentation (fb67cf9)

  • test: Test (3bc6c04)

Refactoring

  • README: Streamline content and enhance clarity by removing redundant sections (32fcaec)

v0.1.0 (2026-04-01)

Bug Fixes

  • Ensure key lifetime for builder attributes by leaking owned String (e06268c)

  • Specify type parameter for future_into_py_with_locals in TryxClient (7aa829c)

  • Update dependencies in Cargo.toml and refine ruff configuration in pyproject.toml (1589d3b)

  • CI: Aarch64 build (9831606)

  • CI: Update check_stub_parity command to include --no-project flag and remove unnecessary targets (dda9bd9)

  • CI: Update validate stub parity command to remove --no-project flag (237b082)

Chores

  • Update CI workflows to use recursive submodule checkout and fix submodule URL (68cd99c)

  • Update release workflow to initialize and update git submodules (f9b11e8)

  • Update ruff commands to include version and no-project flag in CI and documentation (af0bd26)

  • Update subproject commit for whatsapp-rust dependency (246ec16)

  • Update whatsapp-rust subproject to latest commit (3fcfb4f)

Features

  • Add chat actions client and centralized proto cache for improved performance and organization (a860bb2)

  • Add ChatActionsClient with methods for managing chat actions and update documentation (7503411)

  • Add chatstate, blocking, polls, and presence namespaces and clients (d650a8a)

  • Introduced ChatstateClient for managing chat states (composing, recording, paused). - Added BlockingClient to handle blocking and unblock users, and manage blocklists. - Implemented PollsClient for creating polls, voting, and aggregating votes. - Created PresenceClient to manage user presence status (available, unavailable). - Updated README.md to document new namespaces and client functionalities. - Added corresponding helper classes for chatstate, blocking, polls, and presence. - Defined new types: ChatStateType, BlocklistEntry, PollOptionResult, and PresenceStatus. - Refactored existing code to integrate new features and ensure compatibility.

  • Add command bot example with support for various commands and profile handling (aa7553d)

  • Add delete chat update event and related structures in event handling (4e388fb)

  • Add delete message for me update event and related structures in event handling (7f68d51)

  • Add event dispatcher for handling WhatsApp events (83ef1f2)

  • Implemented a Dispatcher class to manage event handlers for various WhatsApp events. - Added event types including Connected, Disconnected, LoggedOut, PairSuccess, and others. - Introduced methods for registering and retrieving event handlers. - Created a mapping from Python event classes to internal dispatcher events. - Added support for event types in the types module, including message handling and connection failures. - Implemented logging initialization for better traceability.

  • Add event types for profile synchronization and updates (fb4d136)

  • Introduced EvPushNameUpdate and EvSelfPushNameUpdated for push name updates. - Added EvPinUpdate and PinUpdatedata for pin updates. - Implemented EvMuteUpdate and MuteUpdateData for mute updates.

    • Created EvMarkChatAsReadUpdate and MarkChatAsReadUpdateData for marking chats as read. - Added EvHistorySync for handling history synchronization events. - Introduced EvOfflineSyncPreview and EvOfflineSyncCompleted for offline sync events. - Implemented EvDeviceListUpdate for device list updates with associated data. - Added EvBusinessStatusUpdate for business status updates with detailed information.
  • Add get_client method to Tryx for accessing TryxClient (19c1bb6)

  • Add get_info method to TryxClient for retrieving contact information (a8c8246)

  • Add Groups and Status clients with associated helpers and methods (e3d0e5c)

  • Implemented GroupsClient to manage group-related functionalities including creating, modifying, and querying group information. - Added StatusClient to handle status-related operations. - Introduced GroupsHelpers and StatusHelpers for constructing options and managing privacy settings.

    • Updated TryxClient to include new GroupsClient and StatusClient. - Enhanced the module structure to accommodate new group and status functionalities. - Added necessary enums and data structures for group management and status privacy settings.
  • Add new event structures for OfflineSyncCompleted and DeviceListUpdate, and introduce KeyIndexInfo (5f57fec)

  • Add new event types and handlers for disappearing mode, contact updates, and star updates (7f1b4d1)

  • Add newsletter live update event and related structures (ef7cd71)

  • Add NewsletterClient and related models for newsletter management (ce91c3e)

  • Add ProfilePicture struct and get_profile_picture method in TryxClient (f0c3b0b)

  • Add prost dependency and enhance message handling in types (a6fcba9)

  • Add send_image and send_text methods to TryxClient for media messaging (94392f6)

  • Add support for connected event handling and custom exceptions (a020337)

  • Add upload functionality and MediaType enum for media handling (b22e72e)

  • Add whatsapp-rust submodule for enhanced messaging capabilities (7a0f1f6)

  • Enhance API documentation and add new features (eb61115)

  • Added detailed documentation for Client API, Events API, Helpers API, and Types API. - Introduced new tutorials for command-based bots, media workflows, and group automation. - Implemented a performance guide and security practices documentation. - Established a troubleshooting section to assist users in resolving common issues. - Created a changelog policy and error handling guidelines for better maintenance. - Added a script to check parity between runtime classes and .pyi stubs. - Updated CSS styles for improved documentation aesthetics. - Refactored types in src/types.rs to be publicly accessible for better integration.

  • Enhance bot functionality with message sending capability and state management (6d28bb4)

  • Enhance event handling and add IsOnWhatsApp functionality with JID updates (f5bdd8f)

  • Enhance event handling by adding detailed payloads for ConnectFailure and StreamError events (9d4f447)

  • Enhance event handling by adding EvPairSuccess and EvReceipt types, and refactor callback execution (05bb8f6)

  • Enhance event handling by adding new event types and refactoring existing logic (f160800)

  • Enhance event handling by adding new structures for GroupUpdate and ContactUpdate events (7f4fa3d)

  • Enhance event handling by adding new structures for MuteUpdate and MarkChatAsReadUpdate events (257acb7)

  • Enhance event handling by introducing new event structures and improving node handling (8eb0513)

  • Enhance event handling for JoinedGroup event and add LazyConversation structure (cb9f345)

  • Enhance JID struct with conversion implementations and update MessageSource getters (a8ef461)

  • Enhance message handling and add send_message functionality in TryxClient (439137e)

  • Enhance messaging capabilities with new SendResult and MediaReuploadResult types (05c32b0)

  • Enhance Tokio integration and add tracing support (85129f8)

  • Updated Cargo.toml to include the signal feature for Tokio and added tracing and tracing-subscriber dependencies for better logging. - Introduced a new example script examples.py demonstrating the usage of the Tryx client with message handling. - Modified pyproject.toml to include segno as a dependency for QR code generation. - Refactored __init__.py to expose new classes: JID, Message, MessageInfo, PairingQrCode, and SqliteBackend. - Added type hints for new classes in tryx.pyi to improve type checking. - Enhanced backend.rs to include logging for SQLite backend connection attempts. - Refactored client.rs to improve event handling and logging, including support for graceful shutdown on signal interrupts. - Updated events.rs to include new event handlers and logging for registered callbacks. - Enhanced lib.rs to expose new types to Python. - Updated types.rs to include necessary fields and derive traits for new types. - Updated uv.lock to include new dependencies and ensure compatibility with Python versions.

  • Enhance Tryx SDK with new event structures, user info retrieval, and profile picture handling (b1d8c97)

  • Extend event types with EvPairError and EvPairingCode, and update related logic (3ecb271)

  • Implement media download functionality and enhance TryxClient methods (ecb828e)

  • Implement privacy client and related models for privacy management (36c3154)

  • Initialize new Rust project "karat" with Python bindings (82054d5)

  • Add Cargo.toml for Rust package configuration - Create pyproject.toml for Python packaging with maturin - Implement backend module with Sqlite and Postgres backends - Develop client module to handle WhatsApp bot interactions - Define event types for WhatsApp messaging - Create types module for JID and message handling - Set up main entry point for bot execution - Add necessary dependencies for async and database operations

  • Introduce CommunityClient and related models for community management (159b51a)

  • Introduce ContactClient for managing contact-related operations and enhance TryxClient with contact functionalities (b369f2e)

  • Refactor event structures for PairSuccess and BusinessStatusUpdate, and add BusinessSubscription support (6c94339)

  • Refactor MediaType handling and introduce Node and NodeContent structures (7bdbb2e)

  • Refactor MessageData and EvMessage to include MessageInfo (7b86c83)

  • Refactor Node and NodeContent structures for improved type handling and memory efficiency (983c460)

  • Update clients to handle message IDs and improve default cases for unknown states (d0db752)

  • Update dependencies and improve event handling in Tryx client (5fef31d)

  • templates: Add issue and PR templates for better contribution guidelines (5d82877)

feat(workflows): implement commit message validation and semantic release

docs(CONTRIBUTING): create contributing guide with setup and commit message standards

docs(changelog): add changelog for tracking project changes

feat(pre-commit): configure pre-commit hooks for code quality checks

feat(docs): set up documentation build and deployment workflows

Refactoring

  • Change enum visibility to public in message and updates, and profile sync modules (20f94b1)

  • Clean up Message class and enhance MessageInfo structure (5d0d014)

  • Clean up unused code and improve import formatting (8f54c8b)

  • Improve logging format in command bot and enhance exception handling for unsupported types (b84476f)

  • Simplify event dispatching and improve attribute handling in Node (ad4a3ea)