v0.3.1
This patch release focuses on establishing the official Grat Network identity and resolving stability issues in the relay server and example projects.
Highlights
- Official Branding: We've introduced the official Grat logo and updated our contact channels. You can now reach us at
[email protected]or follow us on X @gratnetworkHq. - Infrastructure Stability: Fixed a crash in the relay server's Docker image by implementing a production-ready Redis client and optimizing the environment configuration.
- Examples: All example projects now feature automatic network synchronization (polling), ensuring a seamless "out-of-the-box" experience for new developers.
What’s Fixed & Changed
Relay Server (@grat/server)
- Fix: Replaced the internal mock Redis with a real
ioredisimplementation, resolvingTypeErrorcrashes in the rate-limiter middleware. - Fix: Resolved 503 Service Unavailable errors caused by missing development dependencies in Docker production builds.
- Improvement: Forced
NODE_ENV=productionin standard deployments to ensure stable logging.
Examples
- SDK Migration: All examples are now decoupled from the workspace and point directly to the official
@grat-official-sdk/sdkNPM package. - Retry Logic: Implemented
getAccountInfopolling in all examples to handle Stellar testnet synchronization delays (fixing the "sequence must be of type string" error).
Documentation
- Branding: Logo and social link integration across
README.md, and docs. - Maintenance: Updated all contact references to the new official support channels.
Installation
To update your projects to the latest stable release:
pnpm update @grat-official-sdk/sdk