Aqueduct 2.0 is a major step forward for server-side Dart programming. This release focuses on four things: tooling, deployment, authorization and database querying. There are now more than 800 tests with 85% code coverage. The documentation guides have more than tripled and – along with the API Reference – have been improved significantly.

Related: Learn about our efforts behind Aqueduct

Aqueduct now has a command-line tool, aqueduct serve, for running applications. This tool works in all kinds of environments, including AWS and Heroku. It even has the option to start a debugger and instrumentation for your application using Observatory.

Automatic OpenAPI/Swagger documentation generation is now available with the aqueduct document command.

This release brings Aqueduct’s OAuth 2.0 implementation in line with the specification and includes scopes, error messaging and the authorization code flow. A new, well-tested library in the aqueduct package, aqueduct/managed_auth, handles storing OAuth 2.0 tokens, clients and resource owners in a PostgreSQL database. OAuth 2.0 clients can be added to an application with the all-new aqueduct auth command-line tool.

Related: In-depth Aqueduct documentation guides and tutorials

Database querying has been improved to allow more types of queries and to provide a more effective syntax. Advanced queries – like joins and paging – leverage Dart’s powerful, real-time static analyzer to prevent error and speed up development.

Get familiar with Aqueduct by checking out the tour.

Or jump right in and build something this week.

For current users, make sure you upgrade the aqueduct tool:

pub global activate aqueduct

Support the Dart community by starring these repos in Github: AqueductAngular 2,  and Flutter.

Click me

Joe Conway

CEO & Founder at Stable Kernel

Leave a Reply

Your email address will not be published. Required fields are marked *