Aqueduct Versions Save

Dart HTTP server framework for building REST APIs. Includes PostgreSQL ORM and OAuth2 provider.

3.2.0

5 years ago

Adds read method to Serializable for filtering, ignoring or rejecting keys. Fixes issues with Dart 2.1.1 mirror type checking changes Adds like matcher expression Escapes postgres special characters in LIKE expressions for all other string matcher expressions Fixes security vulnerability where a specific authorization header value would be associated with the wrong token in rare cases (credit to Philipp Schiffmann) Adds Validate.constant to properties that use the @primaryKey annotation. Allows Validate annotations to be added to belongs-to relationship properties; the validation is run on the foreign key. Allows any type - e.g. Map<String, dynamic> - to be bound with Bind.body.

v3.1.0

5 years ago
  • Adds the implicit authorization grant flow via the AuthRedirectController type.
  • Deprecates AuthCodeController in favor of AuthRedirectController.
  • Improves speed of many database CLI commands
  • Improves error messaging of the CLI; no longer includes stack trace for expected errors.
  • Allows self-referencing and cyclical relationships between managed objects
  • Autoincrementing managed object properties are no longer consumed in ManagedObject.readFromMap.
  • Fixes bug where ManagedObjects cannot have mixins
  • Adds ManagedContext.insertObject, ManagedContext.insertObjects and ManagedContext.fetchObjectWithID.

v3.0.1

5 years ago

See changelog

v3.0.2

5 years ago

See changelog.

v3.0.0

5 years ago

See changelog.

v2.5.0

6 years ago
  • Adds aqueduct db schema to print an application's data model.
  • Adds aqueduct document serve that serves the API documentation for an application.
  • Adds --machine flag to aqueduct tool to only emit machine-readable output.
  • Adds defaultDelay to MockHTTPServer. Defaults to null for no delay.
  • Adds defaultResponse to MockHTTPServer. Defaults to a 503 response instead of a 200.
  • Adds option to set a custom delay for a specific response in MockHTTPServer's queueResponse function.
  • Performance improvements

v2.4.0

6 years ago
  • Adds HTTPRequestBody.maxSize to limit HTTP request body sizes. Defaults to 10MB.
  • Adds ManagedTableAttributes to configure underlying database table to use multiple columns to test for uniqueness.

v2.3.2

6 years ago
  • Adds Request.addResponseModifier to allow middleware to modify responses.

v2.3.1

6 years ago
  • Adds Response.bufferOutput to control whether the HTTP response bytes are buffered.
  • Adds whereNot to apply an inverse to other Query.where expression, e.g. whereNot(whereIn(["a", "b"])).
  • Fixes bug where subclassing ManagedObjectController didn't work.
  • Renames ResourceRegistry to ServiceRegistry.
  • Improves feedback and interface for package:aqueduct/test.dart.

v2.3.0

6 years ago
  • Adds Request.acceptableContentTypes and Request.acceptsContentType for convenient usage of Accept header.
  • Adds AuthStorage.allowedScopesForAuthenticatable to provide user attribute-based scoping, e.g. roles.
  • Adds Query.forEntity and ManagedObjectController.forEntity to dynamically instantiate these types, i.e. use runtime values to build the query.
  • Adds PersistentStore.newQuery - allows a PersistentStore implementation to provide its own implementation of Query specific to its underlying database.
  • Adds Query.reduce to perform aggregate functions on database tables, e.g. sum, average, maximum, etc.
  • enums may be used as persistent properties in ManagedObject<T>. The underlying database will store them a strings.
  • Speed of generating a template project has been greatly improved.