Aqueduct 2.0 is a major step forward for Dart server 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.


About The Author

For the past 16 years, Joe Conway has programmed everything from macOS to Android to iOS. As a former instructor and lead developer at Big Nerd Ranch, he fine-tuned his skills and expertise in overall mobile strategy, specializing in iOS Development. Author of "iOS Programming: The Big Nerd Ranch Guide," an Amazon Best-Seller, Joe quickly made a name for himself in the mobile space. He has worked with Fortune 500 companies, technology start-ups and government entities to build mobile platforms, enhance existing applications and develop mobile strategies. Joe was recently named one of Atlanta Business Chronicle's "People on the Move."