Skip to content

Releases: MyTonSwap/widget

0.3.7

24 Oct 12:38
Compare
Choose a tag to compare

Changelog

Version 0.3.7 - 2024-10-24

Refactors:

  • Swap Component Rendering:
    • Refactored the Swap component to optimize the rendering of the asset list for improved performance.
    • Removed unused imports and commented-out code, resulting in a cleaner and more efficient codebase.
    • Updated the index file to export only the Swap component.

Release Note

Swap Component Optimization

This version focuses on improving the performance of the Swap component by optimizing the rendering of the asset list. It also includes code cleanup and updates to streamline the export process.

Full Changelog: 0.3.6...0.3.7

0.3.6

23 Oct 12:56
Compare
Choose a tag to compare

Changelog

Version 0.3.6 - 2024-10-23

Styles:

  • SwapButton Component:

    • Refactored styles in SwapButton.scss to increase the max-height of the button to 380px.
  • Token Component:

    • Updated Token.scss to include a new class, "name-liq", for displaying token name and liquidity information.
    • Modified the Token.tsx component to include the "name-liq" class and a new span with the "liq" class to display liquidity text.

Release Note

Style Updates for SwapButton and Token Components

This version introduces new style updates to improve the layout and presentation of the SwapButton and Token components, including better display of liquidity information in the Token component.

Full Changelog: 0.3.5...0.3.6

0.3.5

23 Oct 12:35
Compare
Choose a tag to compare

Changelog

Version 0.3.5 - 2024-10-23

Styles:

  • SwapButton Component: Updated styles for the SwapButton component, refining the button's appearance and responsiveness.
  • Token Component: Updated styles for the Token component, improving its visual consistency and user experience.

Release Note

Style Updates for SwapButton and Token Components

This version focuses on style improvements for the SwapButton and Token components, enhancing the overall look and feel of the widget.

Full Changelog: 0.3.4...0.3.5

0.3.4

23 Oct 11:37
Compare
Choose a tag to compare

Changelog

Version 0.3.4 - 2024-10-23

Refactors:

  • SwapButton Component:

    • Updated styles for the SwapButton component in SwapButton.tsx.
    • Added long press functionality to the SwapButton using the useLongPress hook from @uidotdev/usehooks.
    • Displayed the widget version in a toast message when the button is long-pressed.
  • Swap Component:

    • Updated styles in Swap.scss, including a new CSS class for the "text-provided" element.
    • Conditionally rendered the "text-provided" element in Swap.tsx based on the disable_provided_text option.
    • Integrated the Toaster component from react-hot-toast for displaying toast notifications.

Release Note

SwapButton Component Long Press and Style Updates

This version introduces long press functionality to the SwapButton, showing the widget version in a toast message. Styles for both the SwapButton and Swap components have been updated for a more polished UI.

Full Changelog: 0.3.3...0.3.4

0.3.3

23 Oct 07:41
Compare
Choose a tag to compare

Changelog

Version 0.3.3 - 2024-10-23

New Feature:

  • app_id in Swap Component: Introduced a new app_id option in the swap component's configuration. This feature allows partners to be uniquely identified when using the widget, enabling better tracking and analytics for partner-related swaps.

Release Note

New Feature: app_id for Partner Identification

The swap component now supports an app_id option in its configuration, allowing you to uniquely identify partners. This feature provides enhanced tracking for partner swaps and can be used for analytics or custom partner integrations.

Full Changelog: 0.3.2...0.3.3

0.3.2

22 Oct 13:52
Compare
Choose a tag to compare

Changelog

Version 0.3.2 - 2024-10-22

New Features:

  • Liquidity Text in Selection Modal: Added liquidity information to the selection modal, helping users make more informed decisions during swaps.

Bug Fixes:

  • Balance Bug: Fixed an issue where the user's balance was not displaying correctly.
  • Modal Style Fixes: Resolved several styling issues affecting the modal for a smoother user experience.
  • Input Decimal Limit: Enforced a decimal limit for token input to ensure accurate transaction amounts.

Improvements:

  • Mobile Modal Animations: Updated modal animations to enhance the user experience on mobile devices.
  • Error Handling Refactor: Refined the error handling system for better management of exceptions and improved reliability.
  • Utility Classes: Added new utility classes for more efficient styling.
  • Error Boundary: Implemented an error boundary to catch and handle errors more gracefully.
  • Swap Refactor: Updated the swap component to work with the new SDK version, ensuring compatibility and improved performance.

Full Changelog: 0.3.1...0.3.2

0.3.1

20 Oct 12:16
Compare
Choose a tag to compare

Changelog

Version 0.3.1 - 2024-10-20

Changes:

  • Style Improvements: Enhanced styling across the widget to improve the overall user experience.
  • Bug Fixes: Addressed minor bugs affecting the visual consistency and functionality.
  • Refactor: Changed the way default tokens are set, optimizing the process for better flexibility and control.

Release Note

Style Improvements and Bug Fixes

This update brings various styling enhancements to improve the visual presentation and interaction experience of the widget. Additionally, several bugs related to the appearance and functionality have been resolved.

Refactor: Default Token Setting

The method for setting default tokens has been refactored to provide a more efficient and flexible way to manage default token selection, making it easier for developers to configure the widget.

Full Changelog: 0.3.0-beta...0.3.1

0.3.0-beta

19 Oct 15:40
Compare
Choose a tag to compare

Changelog

Version 0.3.0-beta - 2024-10-19

New Features:

  • Added the ability to set default pay and receive tokens, streamlining the user experience by preselecting tokens.
  • Introduced the option to pin custom tokens in the select modal for faster and easier access.

Bug Fixes and Improvements:

  • Fixed various styling issues to enhance visual consistency and improve user experience.
  • Addressed issues with wallet connection and button state, ensuring smoother user interaction and more reliable state management.

Release Note

New Feature: Default Pay and Receive Tokens

You can now set default pay and receive tokens in the widget, improving the user experience by preselecting the most common tokens for swapping. This feature reduces the need for users to manually choose tokens every time.

New Feature: Custom Pinned Tokens in Select Modal

We've added the ability to pin custom tokens in the token select modal. This makes it easier for users to quickly access frequently used tokens without searching each time.

Bug Fixes and Improvements:

  • Styling Fixes: Resolved several styling inconsistencies to improve the overall visual appearance and experience of the widget.
  • Wallet Connection and Button State: Fixed issues with the wallet connection and button state handling, ensuring that the widget behaves correctly in different connection scenarios.

Full Changelog: v0.2.0-beta...v0.3.0-beta

0.2.0-beta

17 Oct 10:58
Compare
Choose a tag to compare

Changelog

Version 0.2.0-beta - 2024-10-17

Changes:

  • Moved styling from TailwindCSS to SCSS for improved customization and maintainability.

Breaking Changes:

  • None: This release does not introduce any breaking changes.

Release Note

Styling Migration: From TailwindCSS to SCSS

In this release, we have transitioned the styling framework from TailwindCSS to SCSS. This change enhances the customization capabilities of the widget, allowing for more granular control over styles and improved maintainability of the codebase.

  • Improved Customization: Developers can now easily modify styles using SCSS variables and mixins, providing greater flexibility in design.
  • Maintainability: The switch to SCSS helps streamline styling management, making it easier to update and manage styles across the widget.

Full Changelog: 0.1.1-beta...0.2.0-beta

0.1.1-beta

16 Oct 12:17
Compare
Choose a tag to compare

Changelog

Version 0.11-beta - 2024-10-16

New Release:

  • Initial beta release of @mytonswap/widget.

Release Note

New Project: @mytonswap/widget (Version 0.1.0-beta)

We are excited to announce the beta release of @mytonswap/widget. This customizable widget can be seamlessly integrated into your React app and used as a component to perform swaps on the TON blockchain network. The widget provides a user-friendly interface to interact with the blockchain, making it easier for developers to add swap functionality to their projects.

  • Swap Functionality: Effortlessly swap assets on the TON blockchain directly from your React app.
  • Easy Integration: Simply add the widget as a component to your app and configure it as needed for your use case.
  • Customizable: Tailor the widget’s appearance and behavior to match your project’s requirements.

Full Changelog: https://github.com/MyTonSwap/widget/commits/0.1.1-beta