> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Changelog

> Latest updates and improvements to the StateSet Commerce API

# Changelog

Stay up to date with the latest features, improvements, and changes to the StateSet Commerce API.

<Info>
  Subscribe to our [changelog RSS feed](https://stateset.com/changelog.xml) or follow [@StateSetHQ](https://twitter.com/statesethq) for real-time updates.
</Info>

## January 2024

### January 15, 2024

#### 🎉 New Features

**AI Agents API (Early Access)**

* Launched autonomous agent deployment capabilities
* Support for procurement, sales, finance, and logistics agents
* Built-in safety controls and spending limits
* Real-time learning and optimization
* [Read the docs →](/agents)

**Enhanced Global Commerce**

* Added support for 45 new countries
* Integrated with 12 additional customs systems
* Real-time duty and tax calculations
* Automated trade documentation generation

#### 🚀 Improvements

**Performance Enhancements**

* 40% reduction in API response times
* Increased throughput to 50,000 TPS
* Optimized database queries for complex operations
* Enhanced caching for frequently accessed data

**Developer Experience**

* New interactive API explorer
* Improved error messages with actionable solutions
* Added TypeScript definitions for all endpoints
* Enhanced SDK auto-completion

#### 🔧 API Changes

**Breaking Changes**

* None

**Deprecations**

* `POST /v1/order/cancel` → Use `POST /v1/orders/{id}/cancel`
* `GET /v1/payment/list` → Use `GET /v1/payments` with pagination

### January 8, 2024

#### 🎉 New Features

**CCTP Module Integration**

* Native Cross-Chain Transfer Protocol support
* Instant USDC transfers between chains
* No wrapped tokens or bridges required
* [Learn more →](/cctp-module)

**Dynamic Discounting API**

* Automated early payment discounts
* Win-win for buyers and suppliers
* Configurable discount curves
* Real-time APR calculations

#### 🚀 Improvements

**Webhook Reliability**

* Implemented exponential backoff with jitter
* Added dead letter queue for failed webhooks
* New webhook debugging dashboard
* Increased retry attempts to 7

**Security Enhancements**

* Added support for Ed25519 signatures
* Implemented FIDO2 authentication
* Enhanced API key scoping
* New IP allowlisting features

## December 2023

### December 20, 2023

#### 🎉 New Features

**StateSet USD (ssUSD) Launch**

* 1:1 USD backing with transparent reserves
* Monthly CPA attestations on-chain
* T+1 redemptions for USD
* [Documentation →](/stablecoin/overview)

**Invoice Factoring 2.0**

* Instant liquidity for unpaid invoices
* AI-powered risk assessment
* Non-recourse options available
* Integration with major accounting systems

#### 🚀 Improvements

**Orders API Enhancements**

* Added support for split payments
* Multi-currency order creation
* Automated tax calculation
* Enhanced shipping integrations

**New SDKs**

* Rust SDK (beta)
* Java SDK with Spring Boot support
* React Native SDK
* Flutter SDK (community contributed)

### December 5, 2023

#### 🔧 API Changes

**New Endpoints**

* `POST /v1/finance/invoices/factor` - Factor invoices
* `POST /v1/global/compliance/check` - Compliance screening
* `GET /v1/analytics/dashboard` - Analytics API
* `POST /v1/ai/agents/deploy` - Agent deployment

**Enhanced Endpoints**

* Added `expand` parameter to all GET endpoints
* Support for field-level permissions
* Batch operations for all major resources
* GraphQL endpoint (beta)

## November 2023

### November 28, 2023

#### 🎉 New Features

**Compliance Automation**

* Real-time sanctions screening
* Export control verification
* KYC/AML integration
* Automated reporting

**Multi-Chain Support**

* StateSet mainnet launch
* IBC integration with Cosmos chains
* EVM compatibility via Ethermint
* Bridge to Ethereum, Polygon, BSC

#### 🚀 Improvements

**Database Performance**

* Migrated to CockroachDB for global distribution
* 99.99% uptime achieved
* Sub-millisecond query performance
* Automatic sharding and replication

### November 10, 2023

#### 🔧 Infrastructure Updates

**Global Expansion**

* New regions: Asia-Pacific, South America
* Edge locations in 25 cities
* Reduced latency by 60% globally
* Local compliance in all regions

**Monitoring Improvements**

* Real-time performance dashboards
* Predictive scaling algorithms
* Enhanced error tracking
* Custom metric support

## Coming Soon

### Q1 2024 Roadmap

<CardGroup cols={2}>
  <Card title="Quantum-Safe Cryptography" icon="shield">
    Preparing for post-quantum security with new algorithms
  </Card>

  <Card title="AI-Powered Insights" icon="brain">
    Machine learning models for trade optimization
  </Card>

  <Card title="IoT Integration" icon="microchip">
    Real-time supply chain tracking with IoT sensors
  </Card>

  <Card title="CBDC Support" icon="building-columns">
    Integration with central bank digital currencies
  </Card>
</CardGroup>

## Version History

| Version | Release Date | Highlights                          |
| ------- | ------------ | ----------------------------------- |
| v2.0.0  | Jan 15, 2024 | AI Agents, Enhanced Global Commerce |
| v1.9.0  | Jan 8, 2024  | CCTP Module, Dynamic Discounting    |
| v1.8.0  | Dec 20, 2023 | ssUSD Launch, Invoice Factoring 2.0 |
| v1.7.0  | Dec 5, 2023  | New SDKs, API Enhancements          |
| v1.6.0  | Nov 28, 2023 | Compliance Automation, Multi-Chain  |
| v1.5.0  | Nov 10, 2023 | Global Expansion, Infrastructure    |

## Breaking Changes Policy

We follow semantic versioning and strive to maintain backwards compatibility. Breaking changes are:

1. Announced at least 6 months in advance
2. Accompanied by migration guides
3. Supported with deprecation warnings
4. Available in parallel during transition

## Feedback

Have feedback or feature requests? We'd love to hear from you:

<CardGroup cols={3}>
  <Card title="Feature Requests" icon="lightbulb" href="https://feedback.stateset.com">
    Submit and vote on features
  </Card>

  <Card title="Bug Reports" icon="bug" href="https://github.com/stateset/api/issues">
    Report issues on GitHub
  </Card>

  <Card title="Discord" icon="discord" href="https://discord.gg/stateset">
    Chat with the team
  </Card>
</CardGroup>

***

<Note>
  This changelog includes major updates only. For detailed commit history, see our [GitHub repository](https://github.com/stateset/api).
</Note>
