Releases: MyTonSwap/widget
1.2.3
Changelog
Version 1.2.3 - 2024-11-07
Features:
- UI Consistency:
- Updated the background color of
Cardcomponents to match the input card color inSwapandCardcomponents. This provides a more cohesive visual experience across the widget.
- Updated the background color of
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
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
CardDialogandConfirmationModalcomponents. - 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
CardDialogfor invalid token searches, improving user feedback.
Fixes:
- Component Updates:
- Adjusted
CardDialogasset filtering to include community tokens. - Updated
selecttranslation to uppercase in English language files.
- Adjusted
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
Changelog
Version 1.2.1 - 2024-11-02
Maintenance:
- Minor Version Update:
- Released version
1.2.1with optimizations and minor adjustments following the latest features introduced in version1.2.0.
- Released version
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
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
Refreshcomponent in the Header. - Added locked token options to improve
SwapCardfunctionality and user experience.
-
Additional Exports:
- Exported the
themestore from the main module to enable better customization and theme management.
- Exported the
Refactors and Fixes:
- Swap and Wallet State Reporting:
- Enhanced error reporting to capture detailed
swapandwalletstate information, making debugging easier.
- Enhanced error reporting to capture detailed
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
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
Changelog
Version 1.1.0 - 2024-10-28
Features:
-
WalletProfile Component:
- Added a new
WalletProfilecomponent along with associated styles, enhancing the user interface by providing a dedicated component for wallet profile display and interaction.
- Added a new
-
TonConnectUI Component:
- Introduced the
TonConnectUIcomponent with a centered layout inpreview.ts, improving the visual presentation and alignment in the preview environment.
- Introduced the
-
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
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
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/sdkto1.0.9inpnpm-lock.yamlfor 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
Changelog
Version 1.0.4 - 2024-10-26
Refactors:
- Event Listener Optimization:
- Refactored the event listeners in
Swap.tsxto improve performance and ensure efficient handling of user interactions.
- Refactored the event listeners in
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
Changelog
Version 1.0.3 - 2024-10-26
Refactors:
-
Console Log Cleanup:
- Removed unnecessary
console.logstatements fromSwap.tsxfor cleaner code and improved debugging.
- Removed unnecessary
-
TonConnectInstance Handling:
- Further updates to
TonConnectInstancehandling inSwap.tsxfor better connection management and performance optimization.
- Further updates to
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