Skip to content

Releases: sun-protocol/sunhat

v1.5.0

21 Jan 14:13

Choose a tag to compare

🚀 v1.5.0: AI-Powered IDE Skills Integration! 🚀

We are thrilled to announce v1.5.0, a release that transforms how you interact with Sunhat through AI-powered development environments. This update introduces a specialized Skills interface that enables AI agents to autonomously handle complex tasks like testing, deploying, and auditing your TRON smart contracts—bringing expert-level capabilities directly into your workflow.

📅 Release Date: 2026-01-21

✨ Features

  • [AI] IDE Skills Integration: Sunhat now exposes a structured Skills interface that acts as a "driver" for AI agents. By pointing your AI assistant to the skills/sunhat/ directory, you unlock autonomous capabilities for the complete smart contract lifecycle—from initialization to deployment and auditing.

🚀 Improvements

  • [Docs] Enhanced Documentation: Out-of-the-box integration guides for popular AI-powered development environments including Claude Code, Google Antigravity, OpenCode, and Cursor. Each IDE can discover and leverage Sunhat's skill definitions to provide context-aware assistance.

Thank you for being part of the Sunhat community! We encourage everyone to upgrade to v1.5.0 and explore the new AI-powered workflows. Let your AI assistant handle the heavy lifting while you focus on building amazing dApps. 🤖✨

v1.4.0

31 Dec 03:36

Choose a tag to compare

🚀 v1.4.0: Real-time Diagnostics & Seamless VS Code Integration! 🚀

We are excited to present v1.4.0, a release focused on closing the feedback loop between your code and the compiler to significantly boost your productivity. This update bridges the gap between the CLI and your VS Code editor, introducing integrated error reporting and visualizing diagnostics directly within VS Code, ensuring you catch bugs the moment they happen.

📅 Release Date: 2025-12-31

✨ Features

  • [DX] Visual Diagnostics in VS Code: Accompanying this release is the v0.2.0 update to our VS Code extension. By leveraging our enhanced error reporting, the extension now displays inline compilation diagnostics (red squiggles) directly in your editor. This allows you to identify and fix errors in real-time without switching contexts or digging through terminal logs.
  • [Tooling] Integrated Compilation Error Reporting: We have deeply integrated Hardhat's compilation error reporting into the Sunhat workflow. Whether you are developing in Solidity or Vyper, the system now captures and relays compilation errors more accurately, serving as the backbone for our new visual diagnostics features.

🚀 Improvements

  • [Architecture] Modular Task Architecture: To improve maintainability and scalability, we have refactored core Hardhat tasks. The audit and compile tasks have been decoupled into separate, dedicated module files. This modular structure makes the codebase cleaner and paves the way for more robust feature extensions in the future.

Thank you for coding with us in 2025! We encourage everyone to upgrade to v1.4.0 and update the VS Code extension to enjoy a smarter, smoother, and more visual debugging experience. Happy New Year! 🎉

v1.3.0

19 Dec 09:52

Choose a tag to compare

🚀 v1.3.0: Introducing the Sunhat CLI & Effortless Project Scaffolding! 🚀

We are thrilled to announce the release of v1.3.0, a major update designed to fundamentally streamline your development workflow. This version introduces the native Sunhat CLI as a powerful alternative to the Hardhat CLI and rolls out an automated project scaffolding feature, making project setup and management easier than ever before.

📅 Release Date: 2025-12-19

✨ Features

  • [Tooling] Introducing the Sunhat CLI: We are launching the new sunhat command-line tool, a powerful and user-friendly alternative to the Hardhat CLI. Deeply integrated with the Sunhat ecosystem, it is designed to simplify daily development tasks like compiling, testing, and deploying, providing a seamless development experience.
  • [DX] Effortless Project Scaffolding: The new init task allows you to kickstart and configure a new smart contract project with a single command. This feature automatically creates a standard project structure, configuration files, and example contracts, so you can dive straight into coding without the tedious manual setup.

🚀 Improvements

  • [CI/CD] Official Docker Image Published: To support standardized development and CI environments, we have now published the official Docker image sunagent/sunhat:0.1.1. Developers can now use Sunhat in any Docker-compatible environment, ensuring consistency across the board.
  • [DX] Updated Developer Documents: Our documentation has been thoroughly updated to include a comprehensive guide on using the new Sunhat CLI and project scaffolding features. Check out the full guide here: Sunhat CLI & Project Scaffolding.
  • [CI/CD] Fixed Release Workflow: We have fixed and improved our Release Workflow, enhancing the reliability and efficiency of our release process. This ensures we can deliver updates to the community more reliably and quickly.

Thank you to our community for your continued support! We encourage all users to upgrade to v1.3.0 and experience the new command-line tool and streamlined project initialization to boost your development productivity.

v1.2.0

04 Dec 04:11

Choose a tag to compare

🚀 v1.2.0: AI-Powered Auditing & Seamless VS Code Integration! 🚀

We are excited to announce v1.2.0, a significant update that brings intelligence to your smart contract development lifecycle. This version introduces native AI-driven auditing capabilities and deep integration with our VS Code extension, alongside improvements to our release infrastructure.

📅 Release Date: 2025-12-05

✨ Features

  • [Security] AI-Powered Smart Contract Auditing: Introducing the new audit task! Developers can now analyze their Solidity and Vyper contracts for vulnerabilities, gas optimizations, and best practices using leading LLMs (OpenAI, Gemini, DeepSeek, etc.).
    • Customizable: Configure your preferred model, system prompts, and output formats (Text or JSON).
    • Flexible: Audit specific files or your entire project with a single command.
  • [Tooling] Enhanced VS Code Integration: The new audit capabilities are designed to work hand-in-hand with sunai.sunhat-vscode-extension@0.1.1. By combining Sunhat v1.2.0 with the updated VS Code extension, you can trigger audits and review AI-generated reports directly within your editor for a seamless development experience.

🚀 Improvements

  • [DX] Updated Developer Documents: Our documentation has been thoroughly updated. We have added a comprehensive guide on configuring and using the new AI auditing features. Check out the full guide here: AI-Powered Auditing.
  • [CI/CD] Optimized Publish Workflow: We have updated our Publish Workflow to streamline the deployment process. This ensures smoother package distribution to NPM and improves the reliability of our release cycle.

Thank you to our community for your continued support! We encourage all users to upgrade to v1.2.0 and install sunai.sunhat-vscode-extension@0.1.1 to unlock the full potential of AI-powered development.

v1.1.0

21 Nov 04:59

Choose a tag to compare

🚀 v1.1.0: Upgraded Compiler Support & VS Code Integration! 🚀

We are excited to release v1.1.0, an update that builds on the foundation of our previous milestone. This version focuses on providing access to the latest compiler technology, integrating powerful developer tooling directly into VS Code, and streamlining our internal processes.

📅 Release Date: 2025-11-21

✨ Features

  • [Compiler] Support for tronsolc v0.8.25: The tool now fully supports tronsolc v0.8.25. This allows developers to leverage the latest features, optimizations, and security enhancements from the newest Tron Solidity compiler.
  • [Tooling] Developer Pack v0.0.1 - VS Code Extension: We are thrilled to launch the first version of our Developer Pack as a VS Code extension! This plugin is designed to streamline your development workflow directly within your editor. The initial release (v0.0.1) integrates essential tools like contract templates, code snippets, and quick-access scripts to boost productivity and reduce setup time.

🚀 Improvements

  • [DX] Updated Developer Documents: Our documentation has been thoroughly updated to reflect the changes in this release, including guides for using tronsolc v0.8.25 and instructions for installing and using the new Developer Pack VS Code extension.
  • [CI/CD] New Release Workflow: We have implemented a new, automated Release Workflow using GitHub Actions. This improves the consistency and reliability of our release process, making it more transparent and less prone to manual errors.

Thank you to our community for your continued support and contributions! We encourage all users to upgrade to v1.1.0 and install the new Developer Pack from the VS Code Marketplace.

Release v1.0.0

03 Nov 09:54

Choose a tag to compare

🎉 v1.0.0: A New Era - Vyper Support & Multi-Compiler Architecture! 🎉

We are thrilled to announce the release of v1.0.0! This is a milestone release, marking a significant step towards maturity and stability for the project. At the core of this update are the introduction of Vyper language support and a brand new multi-version compiler architecture, which will dramatically expand the project's use cases and flexibility.

📅 Release Date: 2025-11-03

✨ Features

[Core] Vyper Language Support: You can now seamlessly compile and analyze Vyper smart contracts!
[Core] Multi-Compiler Version Support: The project can now manage and utilize different compiler versions simultaneously, resolving environment conflicts.
[Output] base58 Address Support: Added support for Tron/TRX-style base58 address formats in the output.
[Output] Bandwidth Support: Added support for Tron bandwidth in the output.

🚀 Improvements

  • Developer Experience (DX): Significantly improved the developer documentation.
  • CI/CD: Our GitHub Actions workflow has been refactored.