# Legacy Versions

Documentation for older versions of the STON.fi SDK.

## Available Versions

### [v0.5](https://docs.ston.fi/developer-section/dex/sdk/legacy/v0.5)

* Introduced modular structure (dex, farm, transaction-sending)
* Improved error handling
* Better TypeScript support

### [v0.4](https://docs.ston.fi/developer-section/dex/sdk/legacy/v0.4)

* Original SDK implementation
* Basic swap and liquidity operations
* Custom router revision support

## Migration

These versions are deprecated. We strongly recommend upgrading to the latest version:

1. Review the [migration guides](https://docs.ston.fi/developer-section/dex/sdk/migration)
2. Update to [v2 (latest)](https://docs.ston.fi/developer-section/dex/sdk/v2)

## Why Upgrade?

* **Better Performance**: Newer versions have optimized gas usage
* **More Features**: Single-sided liquidity, vault operations
* **Active Support**: Only latest versions receive updates
* **Security**: Latest security patches and improvements

## Archived Documentation

These docs are maintained for reference only. For new integrations, always use the latest SDK version.
