Skip to content

Releases: YaoApp/yao

v0.10.4-rc.1

03 Dec 11:31
7f33a54
Compare
Choose a tag to compare

The latest version of Yao, 0.10.4-rc1, is now available! This release introduces a host of new features, enhancements, and refinements, making Yao more powerful and user-friendly than ever.

🚀 New Features

🌟 AI Integration

Yao now provides comprehensive AI capabilities out of the box, making it easy to enhance your applications with artificial intelligence:

  • OpenAI Integration: Built-in connector for OpenAI API with configurable models and settings
  • Intelligent Chatbots: Add AI-powered chat interfaces to your applications with the Neo chatbot system
  • AI-Enhanced Forms: Smart input fields with AI assistance for content generation and validation
  • Content Generation: Generate text, descriptions, and other content dynamically using AI
  • AI Agents: Create custom AI agents to automate tasks and enhance application workflows
  • Developer-Friendly: Simple YAML configuration and TypeScript support for AI features

These AI capabilities are seamlessly integrated with Yao's existing features, allowing developers to add intelligence to their applications with minimal configuration.

For detailed examples and best practices, refer to our AI Integration Documentation.

🌟 Native Support for TypeScript

Yao now includes built-in TypeScript capabilities that enhance development efficiency and runtime performance:

  • Built-in V8 Engine: Direct TypeScript execution without compilation steps
  • Runtime APIs: Comprehensive API collection for database operations, file handling, and caching
  • Type Definitions: Full TypeScript declarations for all Yao APIs and components
  • Custom Scripts: Write backend logic in TypeScript with full IDE support
  • Process Integration: Seamless TypeScript integration with Yao's process system
  • Hot Reload: Automatic script reloading during development
  • Extension Support: Multiple ways to extend functionality using TypeScript

TypeScript support is deeply integrated into Yao's core, providing modern development experience without additional setup.

For code examples and API documentation, visit our Yao Runtime.

🌟 SUI (Simple User Interface) Template Engine

Yao now features a powerful template engine for building dynamic web pages.

  • Zero Build Tools: Create web pages instantly without complex build configurations
  • Server-Side Rendering: Built-in SSR support for optimal performance and SEO
  • Component System: Reusable components with HTML, CSS, and TypeScript
  • File-Based Routing: Intuitive routing based on file system structure
  • Data Integration: Simple data binding with {{ variable }} syntax
  • TypeScript Support: Native TypeScript for both frontend and backend scripts
  • Hot Reload: Built-in development tools with automatic page rebuilding
  • AI-Friendly: Designed for seamless integration with AI-powered features

SUI makes web development straightforward while maintaining modern development practices and performance optimization.

For detailed tutorials and examples, check our Website Development Guide.

✨ Improvements

We've made several enhancements to Yao's core features and tools to provide a better development experience.

  • Runtime - Fixed memory leaks and improved performance for TypeScript and JavaScript scripts
  • Process System - Enhanced process management with improved error handling and logging
  • Command Line Interface - Improved CLI with new commands and options for better usability
  • Hightlighting and Autocompletion - Improved code editor support for TypeScript.
  • Documentation - Updated documentation with new guides, examples, and best practices
  • Bug Fixes - Fixed various issues reported by the community and internal testing

📚 Resources

Download Yao 0.10.4-rc1

👉 Download Yao 0.10.4-rc1

Yao Official Website

The Yao official website demonstrates the Yao's capabilities in a production environment:

  • Built with SUI: Showcases real-world usage of the SUI template engine
  • AI-Powered: Features AI-enhanced chatbots and content generation
  • Open Source: Available as a reference implementation on GitHub under the MIT license
  • Performance: Demonstrates SSR capabilities and SEO optimization
  • Multilingual: Supports multiple languages with dynamic content switching

Explore the source code at github.com/YaoApp/website to learn best practices and implementation patterns.

👉 https://yaoapps.com

Yao Playground

The Yao Playground, launching with v0.10.4-rc2, will demonstrate how to create complete web applications through natural language conversations with an AI assistant.

Yao Playground

v0.10.3

18 May 10:40
1176938
Compare
Choose a tag to compare

Yao v0.10.3 is outdated. It is recommended to use the latest version.

User guide:

https://github.com/YaoApp/xgen-dev-app/blob/main/README.md

Yao v0.10.3 Official Release

中文版发行注记

Yao v0.10.3 introduces two important features:

Neo AI Assistant

Screenshot

An out-of-the-box AI assistant with customizable commands.

Demo Application

yao pack command

 docker run -it --rm \
      -v </your/app/root>:/app \
      -e APP_NAME="dev-app-docker" \
      -e PACK_FLAG="-l 123456" \
      -e PACK_ENV="/app/pack.docker.yao" \
      yaoapp/yao-build:0.10.3-amd64 make

DockerFile

New Features

  • [New] Neo (beta): An AI assistant capable of running custom commands.

  • [New] yao pack (beta) command: Application packaging.

  • [Refactor] Gou Framework

  • [New] OpenAI Process

  • [New] aigc Process, : Transforming large models into versatile interfaces.

  • [New] Dashboard and other page-level components.

  • [More] bug fixes, optimizations for various functionalities.

...

For more features, please refer to the documentation.

v0.10.3

02 Apr 10:40
Compare
Choose a tag to compare
v0.10.3 Pre-release
Pre-release

Documentation added after official release ...

Application Example:
https://github.com/YaoApp/xgen-dev-app

v0.10.2

21 Nov 02:21
e0c2ca7
Compare
Choose a tag to compare

Yao 0.10.2 Released

中文介绍

Yao 0.10.2 refactored the Xgen UI engine, added Studio CLI, and DSL processes, and released the Yao Brain platform (DEMO version).

Based on these new features, developers can easily develop no-code products by programming.

Yao Admin

We use Yao to develop an admin dashboard Yao Admin.

Connect to the database, then you got an admin dashboard.

Yao Admin will be released as an independent product, and you can visit the code repository for more features.

Repo: https://github.com/YaoApp/yao-admin

New features

  • [NEW] Refactoring Xgen, white theme, optimized DSL, added Bind, Compute, Cloud Propos

  • [NEW] Add yao get command, it is easier to copy the application

  • [NEW] Add Cloud function, direct connection interface Action

  • [NEW] Add Studio CLI & Service, programmatically generate DSL and script

  • [NEW] Add File system handler & JS API

  • [NEW] Add HTTP request handler & JS API

  • [NEW] Add codec, encryption and decryption, certificate import, and other processors

  • [IMPROVED] Deprecate yao init command, and use the GUI to complete the application initialization

  • [RELEASE] Yao Brain platform (DEMO), used to generate DSL code automatically

  • [MORE] bug fixes and improves some feature

See documentation for more features.

v0.10.1

29 Aug 09:58
Compare
Choose a tag to compare

After a long period of preparation and several delays, Yao 0.10.1 is finally officially released!

New version improvements & new features

In the past few months, we have improved the documentation, fixed several bugs, and launched a series of important functions!

  • [Improve the document] The document has been rewritten, the document structure has been optimized, and some missing contents have been supplemented.

  • [INFRA & YAO Cloud] INFRA has launched a small-scale public beta, supports one-click deployment of YAO applications, and will provide application hosting services soon.

  • [Integrated software and hardware LocalSaaS] Determine ARM device selection, performance and stability testing; YAO applications support software and hardware integrated mode, which can be used in many scenarios of edge computing.

  • [YAO DSL] Optimize the DSL specification and part of the document structure, making it easier to write and maintain.

  • [YAO Widgets] Widget supports customize, and provides more built-in Widgets, you can use DSL to quickly implement more functional modules, and you can even easily build your own low-code platform.

  • [Socket & WebSocket support] Added Socket & WebSocket commands to establish connections and expand the available scenarios of YAO.

  • [Concurrent Tasks & Scheduled Tasks] Quickly configure concurrent tasks and scheduled tasks through a DSL, and tasks with a large amount of computation support asynchronous backend running.

  • [Store KV Storage] provides Store storage DSL and JavaScript API, which can be used for data caching.

  • [More Processors] Provide a series of built-in processors such as table schema changing, import and export, etc., to realize various functions more conveniently.

  • [Fix some bugs] Fixed DNS, hot update, table and other bugs, optimized engine startup and hot update logic in development mode.

Is YAO low-code?

Our positioning of YAO is to provide developers with application development and running tools.

YAO does not change development habits, does not kidnap users, and is not a one-time code. Applications developed using YAO are easier to upgrade and maintain.

It is hoped that after several years of polishing, in the field of enterprise application development, YAO can help creators focus on design and artistic creation like Unreal Engine. One person or a small team of several people can create excellent works that are popular in the world.

It doesn't matter if it's low-code or not, and we don't bother with concepts. What matters is what YAO can help developers do and how to do it better.

At last

0.10 is also the last v0 version, and YAO's "Hello World" has finally been written. The next major version upgrade will be the official version 1.0.

We have also opened social network accounts such as Twitter, Youtube, Discord, Medium, etc., and will share the progress of YAO, thinking about software development, usage tutorials, open source YAO applications and some enterprise-level practice cases. Welcome to follow us!

v0.9.1

19 Feb 05:58
Compare
Choose a tag to compare

After a long period of preparation, Yao 0.9.1 is officially released!

Yao includes the following core features to bring developers a new and unimaginably efficient development experience:

  • No code: Use JSON to create database models, write interfaces, describe interfaces, and truly code-free programming.

  • Internet of Everything: Supports running on ARM devices and can be used for IoT, edge computing, and industrial Internet.

  • Data Visualization: Easy-to-use BI components and functions that empower business with more possibilities.

  • Processors: Built-in series of processors that can be extended with dataflow, Javascirpt and GRPC plugins.

  • Data flow: Through data flow, developers can process data in any form, and support Javascript.

  • Plug-in: GRPC-based plug-in mechanism that supports function expansion in languages ​​such as nodejs and python.

  • Management background: By writing JSON description interface layout, you can quickly create various internal systems such as CRM and ERP.

  • Real-time query: Built-in query engine comparable to ES, and implements JSON query through DSL, which is simple and easy to use.

  • Extreme performance: Go language is used at the bottom layer, and its performance far exceeds that of Java and PHP. Distributed deployment can be done with one command.

See documentation for more features.