Skip to content

Releases: MyTonSwap/widget

1.2.3

07 Nov 08:13
Compare
Choose a tag to compare

Changelog

Version 1.2.3 - 2024-11-07

Features:

  • UI Consistency:
    • Updated the background color of Card components to match the input card color in Swap and Card components. This provides a more cohesive visual experience across the widget.

Release Note

This update enhances the user interface by ensuring consistent styling across Card components, improving the overall aesthetic and usability of the widget.

Full Changelog: 1.2.2...1.2.3

1.2.2

07 Nov 07:56
Compare
Choose a tag to compare

Changelog

Version 1.2.2 - 2024-11-07

Features:

  • Enhanced Component Styling:
    • Added new color variables to enhance visual cues for price impact and loading states.
    • Improved layout in CardDialog and ConfirmationModal components.
    • Enhanced responsive styles across various components for better layouts on larger screens.
  • Internationalization and Localization:
    • Implemented RTL support for right-to-left languages and localization across components.
    • Added tests for internationalization support and updated component test IDs for language compatibility.
    • Added a fallback message "No token found" in CardDialog for invalid token searches, improving user feedback.

Fixes:

  • Component Updates:
    • Adjusted CardDialog asset filtering to include community tokens.
    • Updated select translation to uppercase in English language files.

Release Note

This release brings significant enhancements to user experience with responsive design improvements, new visual cues, and better language handling, including right-to-left support. It also includes Docker optimizations for efficient deployment.

Full Changelog: 1.2.1...1.2.2

1.2.1

02 Nov 11:24
Compare
Choose a tag to compare

Changelog

Version 1.2.1 - 2024-11-02

Maintenance:

  • Minor Version Update:
    • Released version 1.2.1 with optimizations and minor adjustments following the latest features introduced in version 1.2.0.

Release Note

This update provides stability improvements and performance enhancements to ensure smooth functionality across recent changes.

Full Changelog: 1.2.0...1.2.1

1.2.0

02 Nov 11:04
Compare
Choose a tag to compare

Changelog

Version 1.2.0 - 2024-11-02

Features:

  • Cypress End-to-End Testing Enhancements:

    • Added a Storybook build step to the GitHub Actions workflow to automate previews and enhance component documentation.
  • UI & Component Improvements:

    • Introduced a Refresh component with conditional rendering based on user preferences.
    • Added global styling, removing dependency on Tailwind CSS, and optimized styles for the Refresh component in the Header.
    • Added locked token options to improve SwapCard functionality and user experience.
  • Additional Exports:

    • Exported the theme store from the main module to enable better customization and theme management.

Refactors and Fixes:

  • Swap and Wallet State Reporting:
    • Enhanced error reporting to capture detailed swap and wallet state information, making debugging easier.

Release Note

This release introduces key automated testing and UI improvements, with Storybook and Cypress integration, styling optimizations, and expanded options for token management within the SwapCard. The additional exports and refactored error reporting add flexibility for custom implementations.

Full Changelog: 1.1.1...1.2.0

1.1.1

29 Oct 05:58
Compare
Choose a tag to compare

Changelog

Version 1.1.1 - 2024-10-28

Fixes:

  • Decimal Handling on Token Change:

    • Resolved an issue where switching the pay token resulted in inconsistencies in decimal precision, ensuring accurate calculations across all tokens.
  • Multiple Intervals Issue:

    • Fixed a bug causing multiple interval instances to trigger simultaneously, optimizing performance and improving the stability of timed actions within the widget.

Release Note

This release includes critical bug fixes to improve the precision and performance of the @mytonswap/widget, addressing issues with decimal consistency when changing tokens and resolving interval duplication errors.

Full Changelog: 1.1.0...1.1.1

1.1.0

28 Oct 12:08
Compare
Choose a tag to compare

Changelog

Version 1.1.0 - 2024-10-28

Features:

  • WalletProfile Component:

    • Added a new WalletProfile component along with associated styles, enhancing the user interface by providing a dedicated component for wallet profile display and interaction.
  • TonConnectUI Component:

    • Introduced the TonConnectUI component with a centered layout in preview.ts, improving the visual presentation and alignment in the preview environment.
  • Component Visibility Options:

    • Added new options to hide and show components dynamically, allowing for more customization and control over component visibility.

Release Note

This update introduces significant new components and styling enhancements, including a WalletProfile for improved wallet display, the TonConnectUI for centered layout previews, and options for toggling component visibility. These additions provide a more flexible and user-friendly experience.

Full Changelog: 1.0.6...1.1.0

1.0.6

27 Oct 11:38
Compare
Choose a tag to compare

Changelog

Version 1.0.6 - 2024-10-27

Fix:

  • Dialog Performance:
    • Fixed a performance issue affecting dialog responsiveness on low-end devices. This improves the overall user experience by making modal interactions smoother, especially on devices with limited resources.

Release Note

This release addresses a critical performance issue with dialog rendering on low-end devices, ensuring a more seamless experience across all hardware configurations.

Full Changelog: 1.0.5...1.0.6

1.0.5

27 Oct 06:48
Compare
Choose a tag to compare

Changelog

Version 1.0.5 - 2024-10-27

Refactor:

  • Best Route Calculation:
    • Updated the logic to prevent the best route from being recalculated when the selection modal is open, improving user experience and reducing unnecessary computations.

Dependency Update:

  • Updated the version of @mytonswap/sdk to 1.0.9 in pnpm-lock.yaml for compatibility with the latest SDK improvements.

Release Note

This release focuses on optimizing the route calculation logic and synchronizing the widget with the latest version of the mytonswap SDK for enhanced performance.

Full Changelog: 1.0.4...1.0.5

1.0.4

26 Oct 13:16
Compare
Choose a tag to compare

Changelog

Version 1.0.4 - 2024-10-26

Refactors:

  • Event Listener Optimization:
    • Refactored the event listeners in Swap.tsx to improve performance and ensure efficient handling of user interactions.

Release Note

This update refines the handling of event listeners within the Swap component, leading to enhanced interaction management.

Full Changelog: 1.0.3...1.0.4

1.0.3

26 Oct 10:09
Compare
Choose a tag to compare

Changelog

Version 1.0.3 - 2024-10-26

Refactors:

  • Console Log Cleanup:

    • Removed unnecessary console.log statements from Swap.tsx for cleaner code and improved debugging.
  • TonConnectInstance Handling:

    • Further updates to TonConnectInstance handling in Swap.tsx for better connection management and performance optimization.

Release Note

This version focuses on code cleanliness and further optimizes connection handling through improvements to TonConnectInstance.

Full Changelog: 1.0.2...1.0.3