conduit_core 6.0.0
conduit_core: ^6.0.0 copied to clipboard
This is the core of the framework.
5.1.5 #
- REFACTOR: Upgrading packages and refactoring (#238). (75b86fae)
- REFACTOR(cli): Change build source to bin/main.dart (#231). (e9f43ede)
- REFACTOR: Dart version bump 3.4 (#223). (e70f5fe1)
- REFACTOR: ci and code quality (#222). (d6e60631)
- REFACTOR: housekeeping 2 20 24 (#216). (5fd4d59b)
- REFACTOR: Remove common test. (cebcc417)
- REFACTOR: Remove pub_cache (#188). (6d5beca1)
- REFACTOR: Bump min required dart version (#187). (0e870402)
- FIX(ci): Publish automation fix (#217). (2da2db05)
- FIX: Melos stuff (#199). (20bc466d)
- FIX(ci): trigger. (6f986c5f)
- FIX(ci): trigger. (6239d395)
- FIX(ci): trigger. (33c0f1ab)
- FIX(ci): trigger. (36e63b05)
- FIX(ci): test publish CI. (7444f6ed)
- FIX: remove common_test from core. (94867de3)
- FIX: Versioning issues and upkeep (#191). (faa916ba)
- FIX: Attach finalizer on commit (#186). (8408280e)
- FIX: core docs. (1470ee70)
- FIX: Check cli integrity (#164). (5fd4e403)
- FEAT: sort predicate (#203). (1f51879c)
- FEAT: Prepping for orm (#190). (e82dfa6f)
- FEAT: Replace ServiceRegistry with Finalizers (#185). (73208e92)
- FEAT: Separates core framework and cli (#161). (28445bbe)
- DOCS: improve doc gen (#180). (8d18f872)
5.1.5 #
- REFACTOR: Trigger CI. (090d4205)
- REFACTOR: Upgrading packages and refactoring (#238). (75b86fae)
- REFACTOR(cli): Change build source to bin/main.dart (#231). (e9f43ede)
- REFACTOR: Dart version bump 3.4 (#223). (e70f5fe1)
- REFACTOR: ci and code quality (#222). (d6e60631)
- REFACTOR: housekeeping 2 20 24 (#216). (5fd4d59b)
- REFACTOR: Remove common test. (cebcc417)
- REFACTOR: Remove pub_cache (#188). (6d5beca1)
- REFACTOR: Bump min required dart version (#187). (0e870402)
- FIX(ci): Publish automation fix (#217). (2da2db05)
- FIX: Melos stuff (#199). (20bc466d)
- FIX(ci): trigger. (6f986c5f)
- FIX(ci): trigger. (6239d395)
- FIX(ci): trigger. (33c0f1ab)
- FIX(ci): trigger. (36e63b05)
- FIX(ci): test publish CI. (7444f6ed)
- FIX: remove common_test from core. (94867de3)
- FIX: Versioning issues and upkeep (#191). (faa916ba)
- FIX: Attach finalizer on commit (#186). (8408280e)
- FIX: core docs. (1470ee70)
- FIX: Check cli integrity (#164). (5fd4e403)
- FEAT: sort predicate (#203). (1f51879c)
- FEAT: Prepping for orm (#190). (e82dfa6f)
- FEAT: Replace ServiceRegistry with Finalizers (#185). (73208e92)
- FEAT: Separates core framework and cli (#161). (28445bbe)
- DOCS: improve doc gen (#180). (8d18f872)
5.1.5 #
5.1.4 #
- REFACTOR(cli): Change build source to bin/main.dart (#231). (e9f43ede)
- REFACTOR: Dart version bump 3.4 (#223). (e70f5fe1)
- REFACTOR: ci and code quality (#222). (d6e60631)
- REFACTOR: housekeeping 2 20 24 (#216). (5fd4d59b)
- REFACTOR: Remove common test. (cebcc417)
- REFACTOR: Remove pub_cache (#188). (6d5beca1)
- REFACTOR: Bump min required dart version (#187). (0e870402)
- FIX(ci): Publish automation fix (#217). (2da2db05)
- FIX: Melos stuff (#199). (20bc466d)
- FIX(ci): trigger. (6f986c5f)
- FIX(ci): trigger. (6239d395)
- FIX(ci): trigger. (33c0f1ab)
- FIX(ci): trigger. (36e63b05)
- FIX(ci): test publish CI. (7444f6ed)
- FIX: remove common_test from core. (94867de3)
- FIX: Versioning issues and upkeep (#191). (faa916ba)
- FIX: Attach finalizer on commit (#186). (8408280e)
- FIX: core docs. (1470ee70)
- FIX: Check cli integrity (#164). (5fd4e403)
- FEAT: sort predicate (#203). (1f51879c)
- FEAT: Prepping for orm (#190). (e82dfa6f)
- FEAT: Replace ServiceRegistry with Finalizers (#185). (73208e92)
- FEAT: Separates core framework and cli (#161). (28445bbe)
- DOCS: improve doc gen (#180). (8d18f872)
5.1.4 #
- Bump "conduit_core" to
5.1.4.
5.1.3 #
- REFACTOR: Upgrading packages and refactoring (#238). (75b86fae)
- REFACTOR(cli): Change build source to bin/main.dart (#231). (e9f43ede)
- REFACTOR: Dart version bump 3.4 (#223). (e70f5fe1)
- REFACTOR: ci and code quality (#222). (d6e60631)
- REFACTOR: housekeeping 2 20 24 (#216). (5fd4d59b)
- REFACTOR: Remove common test. (cebcc417)
- REFACTOR: Remove pub_cache (#188). (6d5beca1)
- REFACTOR: Bump min required dart version (#187). (0e870402)
- FIX(ci): Publish automation fix (#217). (2da2db05)
- FIX: Melos stuff (#199). (20bc466d)
- FIX(ci): trigger. (6f986c5f)
- FIX(ci): trigger. (6239d395)
- FIX(ci): trigger. (33c0f1ab)
- FIX(ci): trigger. (36e63b05)
- FIX(ci): test publish CI. (7444f6ed)
- FIX: remove common_test from core. (94867de3)
- FIX: Versioning issues and upkeep (#191). (faa916ba)
- FIX: Attach finalizer on commit (#186). (8408280e)
- FIX: core docs. (1470ee70)
- FIX: Check cli integrity (#164). (5fd4e403)
- FEAT: sort predicate (#203). (1f51879c)
- FEAT: Prepping for orm (#190). (e82dfa6f)
- FEAT: Replace ServiceRegistry with Finalizers (#185). (73208e92)
- FEAT: Separates core framework and cli (#161). (28445bbe)
- DOCS: improve doc gen (#180). (8d18f872)
5.1.3 #
- REFACTOR(cli): Change build source to bin/main.dart (#231). (e9f43ede)
- REFACTOR: Dart version bump 3.4 (#223). (e70f5fe1)
- REFACTOR: ci and code quality (#222). (d6e60631)
- REFACTOR: housekeeping 2 20 24 (#216). (5fd4d59b)
- REFACTOR: Remove common test. (cebcc417)
- REFACTOR: Remove pub_cache (#188). (6d5beca1)
- REFACTOR: Bump min required dart version (#187). (0e870402)
- FIX(ci): Publish automation fix (#217). (2da2db05)
- FIX: Melos stuff (#199). (20bc466d)
- FIX(ci): trigger. (6f986c5f)
- FIX(ci): trigger. (6239d395)
- FIX(ci): trigger. (33c0f1ab)
- FIX(ci): trigger. (36e63b05)
- FIX(ci): test publish CI. (7444f6ed)
- FIX: remove common_test from core. (94867de3)
- FIX: Versioning issues and upkeep (#191). (faa916ba)
- FIX: Attach finalizer on commit (#186). (8408280e)
- FIX: core docs. (1470ee70)
- FIX: Check cli integrity (#164). (5fd4e403)
- FEAT: sort predicate (#203). (1f51879c)
- FEAT: Prepping for orm (#190). (e82dfa6f)
- FEAT: Replace ServiceRegistry with Finalizers (#185). (73208e92)
- FEAT: Separates core framework and cli (#161). (28445bbe)
- DOCS: improve doc gen (#180). (8d18f872)
5.1.2 #
- REFACTOR: Dart version bump 3.4 (#223). (e70f5fe1)
- REFACTOR: ci and code quality (#222). (d6e60631)
- REFACTOR: housekeeping 2 20 24 (#216). (5fd4d59b)
- REFACTOR: Remove common test. (cebcc417)
- REFACTOR: Remove pub_cache (#188). (6d5beca1)
- REFACTOR: Bump min required dart version (#187). (0e870402)
- FIX(ci): Docker needs pub. (91b29c32)
- FIX(ci): Publish automation fix (#217). (2da2db05)
- FIX: Melos stuff (#199). (20bc466d)
- FIX(ci): trigger. (6f986c5f)
- FIX(ci): trigger. (6239d395)
- FIX(ci): trigger. (33c0f1ab)
- FIX(ci): trigger. (36e63b05)
- FIX(ci): test publish CI. (7444f6ed)
- FIX: remove common_test from core. (94867de3)
- FIX: Versioning issues and upkeep (#191). (faa916ba)
- FIX: Attach finalizer on commit (#186). (8408280e)
- FIX: core docs. (1470ee70)
- FIX: Check cli integrity (#164). (5fd4e403)
- FEAT: sort predicate (#203). (1f51879c)
- FEAT: Prepping for orm (#190). (e82dfa6f)
- FEAT: Replace ServiceRegistry with Finalizers (#185). (73208e92)
- FEAT: Separates core framework and cli (#161). (28445bbe)
- DOCS: improve doc gen (#180). (8d18f872)
5.1.2 #
- REFACTOR: Dart version bump 3.4 (#223). (e70f5fe1)
- REFACTOR: ci and code quality (#222). (d6e60631)
- REFACTOR: housekeeping 2 20 24 (#216). (5fd4d59b)
- REFACTOR: Remove common test. (cebcc417)
- REFACTOR: Remove pub_cache (#188). (6d5beca1)
- REFACTOR: Bump min required dart version (#187). (0e870402)
- FIX(ci): Publish automation fix (#217). (2da2db05)
- FIX: Melos stuff (#199). (20bc466d)
- FIX(ci): trigger. (6f986c5f)
- FIX(ci): trigger. (6239d395)
- FIX(ci): trigger. (33c0f1ab)
- FIX(ci): trigger. (36e63b05)
- FIX(ci): test publish CI. (7444f6ed)
- FIX: remove common_test from core. (94867de3)
- FIX: Versioning issues and upkeep (#191). (faa916ba)
- FIX: Attach finalizer on commit (#186). (8408280e)
- FIX: core docs. (1470ee70)
- FIX: Check cli integrity (#164). (5fd4e403)
- FEAT: sort predicate (#203). (1f51879c)
- FEAT: Prepping for orm (#190). (e82dfa6f)
- FEAT: Replace ServiceRegistry with Finalizers (#185). (73208e92)
- FEAT: Separates core framework and cli (#161). (28445bbe)
- DOCS: improve doc gen (#180). (8d18f872)
5.1.1 #
- REFACTOR: Dart version bump 3.4 (#223). (e70f5fe1)
- REFACTOR: ci and code quality (#222). (d6e60631)
- REFACTOR: housekeeping 2 20 24 (#216). (5fd4d59b)
- REFACTOR: Remove common test. (cebcc417)
- REFACTOR: Remove pub_cache (#188). (6d5beca1)
- REFACTOR: Bump min required dart version (#187). (0e870402)
- FIX(ci): Publish automation fix (#217). (2da2db05)
- FIX: Melos stuff (#199). (20bc466d)
- FIX(ci): trigger. (6f986c5f)
- FIX(ci): trigger. (6239d395)
- FIX(ci): trigger. (33c0f1ab)
- FIX(ci): trigger. (36e63b05)
- FIX(ci): test publish CI. (7444f6ed)
- FIX: remove common_test from core. (94867de3)
- FIX: Versioning issues and upkeep (#191). (faa916ba)
- FIX: Attach finalizer on commit (#186). (8408280e)
- FIX: core docs. (1470ee70)
- FIX: Check cli integrity (#164). (5fd4e403)
- FEAT: sort predicate (#203). (1f51879c)
- FEAT: Prepping for orm (#190). (e82dfa6f)
- FEAT: Replace ServiceRegistry with Finalizers (#185). (73208e92)
- FEAT: Separates core framework and cli (#161). (28445bbe)
- DOCS: improve doc gen (#180). (8d18f872)
5.1.0 #
- REFACTOR: Dart version bump 3.4 (#223). (e70f5fe1)
- REFACTOR: ci and code quality (#222). (d6e60631)
- REFACTOR: housekeeping 2 20 24 (#216). (5fd4d59b)
- REFACTOR: Remove common test. (cebcc417)
- REFACTOR: Remove pub_cache (#188). (6d5beca1)
- REFACTOR: Bump min required dart version (#187). (0e870402)
- FIX(ci): Publish automation fix (#217). (2da2db05)
- FIX: Melos stuff (#199). (20bc466d)
- FIX(ci): trigger. (6f986c5f)
- FIX(ci): trigger. (6239d395)
- FIX(ci): trigger. (33c0f1ab)
- FIX(ci): trigger. (36e63b05)
- FIX(ci): test publish CI. (7444f6ed)
- FIX: remove common_test from core. (94867de3)
- FIX: Versioning issues and upkeep (#191). (faa916ba)
- FIX: Attach finalizer on commit (#186). (8408280e)
- FIX: core docs. (1470ee70)
- FIX: Check cli integrity (#164). (5fd4e403)
- FEAT: sort predicate (#203). (1f51879c)
- FEAT: Prepping for orm (#190). (e82dfa6f)
- FEAT: Replace ServiceRegistry with Finalizers (#185). (73208e92)
- FEAT: Separates core framework and cli (#161). (28445bbe)
- DOCS: improve doc gen (#180). (8d18f872)
5.0.3 #
- REFACTOR: ci and code quality (#222). (d6e60631)
- REFACTOR(postgres): BREAKING CHANGE major release for postgres driver. (d6bf1165)
- REFACTOR: Remove common test. (cebcc417)
- REFACTOR: Remove pub_cache (#188). (6d5beca1)
- REFACTOR: Bump min required dart version (#187). (0e870402)
- FIX: Melos stuff (#199). (20bc466d)
- FIX(ci): trigger. (6f986c5f)
- FIX(ci): trigger. (6239d395)
- FIX(ci): trigger. (33c0f1ab)
- FIX(ci): trigger. (36e63b05)
- FIX(ci): test publish CI. (7444f6ed)
- FIX: remove common_test from core. (94867de3)
- FIX: Versioning issues and upkeep (#191). (faa916ba)
- FIX: Attach finalizer on commit (#186). (8408280e)
- FIX: core docs. (1470ee70)
- FIX: Check cli integrity (#164). (5fd4e403)
- FEAT: sort predicate (#203). (1f51879c)
- FEAT: Prepping for orm (#190). (e82dfa6f)
- FEAT: Replace ServiceRegistry with Finalizers (#185). (73208e92)
- FEAT: Separates core framework and cli (#161). (28445bbe)
- DOCS: improve doc gen (#180). (8d18f872)
5.0.1 #
- Bump "conduit_core" to
5.0.1.
5.0.0 #
4.4.0 #
- Graduate package to a stable release. See pre-releases prior to this version for changelog entries.
4.4.0-dev.0 #
4.0.0 #
3.2.0 #
3.1.1 #
- REFACTOR: use melos for mono-repo management.
- REFACTOR: use melos for mono-repo management.
- CHORE: publish packages.
3.0.11 #
remove dcli dependency for conduit and dependencies
3.0.10 #
fix for non-path create cli
3.0.9 #
3.0.8 #
3.0.7 #
uptick version for multi release
3.0.5 #
Stable Release
2.0.0-b9 #
Fixed a bug with the conduit build command. We had left in dep overrides which should only be used for conduit internal dev.
2.0.0-b2 #
- Stabilize with dependency changes
- Add ssl capabilities
2.0.0-b1 #
- Tooling tests pass
2.0.0-a3 #
- Docs published
- Unit tests passed
2.0.0-a2 #
- Small clean up and fix templates
2.0.0-a1 #
-
Alpha release for Conduit NNBD included
-
Breaking changes Query.values can no longer be null as such to check if the set of values are empty you need to call Query.hasValues;
-
You can no longer set Query.values to null, instead use Query.clearValues().
Aqueduct #
3.3.0-b1 #
- Adds 'conduit build' command that generates an executable binary of an conduit app, with some known issues
- Windows is not currently supported.
- Compilation will fail for files that import relative URIs and declare at least one type that is a subclass of any of
ManagedObject,ApplicationChannel,Controller,ResourceController,Configuration.- Convert relative URI imports to package imports to resolve.
- Body decoding behaviors such as
RequestBody.as<T>RequestBody.decode<T>have restrictions when running in compiled mode:- The type parameter
Tmay be any of the five primitive typesint,double,num,String,bool;Map<String, T>whereTis a primitive, andList<T>whereTis a primitive orMap<String, dynamic>. - These restrictions apply to the type of a
@Bind.bodyparameter (you may also bindSerializableandList<Serializable>).
- The type parameter
3.2.2-dev #
- #723 Fixes issue that prevented the
AuthServerfrom granting tokens with sub-scopes when the serversAuthServerDelegate.getAllowedScopes()didn't returnAuthScope.any. - Deprecates
AuthScope.allowsScope(), useAuthScope.isSubsetOrEqualTo()instead.
3.2.1 #
- Fixes issue when using
QueryReduceinside a transaction. - Fixes issue when generating an OpenAPI document with ManagedObjects that have enumerated properties
- Fixes is sue when generating an OpenAPI document with List
3.2.0 #
- Adds
readmethod toSerializablefor filtering, ignoring or rejecting keys. - Fixes issues with Dart 2.1.1 mirror type checking changes
- Adds
likematcher 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.constantto properties that use the@primaryKeyannotation. - Allows
Validateannotations 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 withBind.body.
3.1.0 #
- Adds the implicit authorization grant flow via the
AuthRedirectControllertype. - Deprecates
AuthCodeControllerin favor ofAuthRedirectController. - 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
- Fixes bug where ManagedObjects cannot have mixins
- Adds
ManagedContext.insertObject,ManagedContext.insertObjectsandManagedContext.fetchObjectWithID.
3.0.3 #
- Fix regression when generating OpenAPI documentation for
ManagedObjects - Adds
--resolve-relative-urlsflag todocumentcommands to improve client applications - Adds
Serializable.documentSchemainstance method. RemovesSerializable.documentstatic method. - Adds optional
valuesargument toQueryconstructor
3.0.3 #
Controlleris now an abstract class that requires implementinghandle. This is a minor breaking change that should not have an impact.- 'Serializable' can now implement static 'document' method to override component documentation behavior
- Removes
conduit setup --heroku=<name>and instead points to documentation. - Fixes issue ORM had with transformed values (e.g. enums) and nullable columns
3.0.0 #
- Adds
BodyDecoder.decode<T>andBodyDecoder.as<T>. This replaces existingdecodeAs*andas*methods. - Adds
AuthDelegate.addClientandAuthServer.addClient. - Adds
ManagedContext.transactionto enable queries to be run in a database transaction. - Adds 'Scope' annotation to add granular scoping to
ResourceControllermethods. - Adds
Recyclable<T>to control whether controllers are instantiated per request or are reused. - Adds support for storing PostgreSQL JSON data with
Documentdata type. - Adds
Query.insertObject. - Adds support for OpenAPI 3.0.0 documentation generation.
- Adds
APIComponentDocumenter,APIOperationDocumenter,APIDocumentContext. - Removes
PackagePathResolver,ApplicationOptions.isDocumentingandAPIDocumentable.
- Adds
- Adds
MockHTTPServer.queueHandlerandMockHTTPServer.queueOutage. Query.wherebehavior has changed to consistently use property selector syntax.- Removes methods like
whereEqualToand replaced withQueryExpression.
- Removes methods like
Controller.generaterenamed toController.link. RemovedController.pipe.package:conduit_core/testmoved topackage:conduit_test/conduit_test, which is a separate dependency fromconduit.- Renames methods in
AuthDelegateto provide consistency. - Removes
ManagedContext.defaultContext; context usage must be explicit. - Removes
HTTPResponseException. Responses can now be thrown instead. QueryExceptions are no longer thrown for every ORM exception. If a store chooses to interpret an exception, it will still throw aQueryException. Otherwise, the underlying driver exception will be thrown.- Default constructor for
PostgreSQLPersistentStorenow takes connection info instead of closure. Controller.listenrenamedController.linkFunction.- Change default port for
conduit serveto 8888. - Binding metadata -
HTTPPath,HTTPBody,HTTPQueryandHTTPHeader- have been changed toBind.path,Bind.body,Bind.queryandBind.header, respectively. - Remove
@httpGet(and otherHTTPMethodannotations) constants. Behavior replaced by@Operation. - Removes
runOnMainIsolatefromApplication.start()and addedApplication.startOnMainIsolate()as replacement. - Removes
ManagedSet.haveAtLeastOneWhere. - Renames
RequestSinktoApplicationChannel.- Replace constructor and
willOpenwithprepare. - Replace
setupRouterwithentryPoint.
- Replace constructor and
- Replaces
AuthCodeController.renderFunctionwithAuthCodeControllerDelegate. - Removes
AuthStrategyin place ofAuthorizationParser<T>.- Adds concrete implementations of
AuthorizationParser<T>,AuthorizationBearerParserandAuthorizationBasicParser.
- Adds concrete implementations of
- Removes
AuthValidator.fromBearerTokenandAuthValidator.fromBasicCredentialsand replaces withAuthValidator.validate<T>. - Renames the following:
Authorization.resourceOwnerIdentifier->Authorization.ownerIDRequest.innerRequest->Request.rawAuthStorage->AuthServerDelegateAuthServer.storage->AuthServer.delegateApplicationConfiguration->ApplicationOptionsApplication.configuration->Application.optionsHTTPFileController->FileControllerHTTPSerializable->SerializableHTTPCachePolicy->CachePolicyHTTPCodecRepository->CodecRegistryrequiredHTTPParameter->requiredBindingManagedTableAttributes->TableManagedRelationshipDeleteRule->DeleteRuleManagedRelationship->RelateManagedColumnAttributes->ColumnmanagedPrimaryKey->primaryKeyManagedTransientAttribute->SerializeSerializenow replacesmanagedTransientAttribute,managedTransientInputAttribute, andmanagedTransientOutputAttribute.
RequestController->ControllerRequestController.processRequest->Controller.handleHTTPController->ResourceController
2.5.0 #
- Adds
conduit db schemato print an application's data model. - Adds
conduit document servethat serves the API documentation for an application. - Adds
--machineflag toconduittool to only emit machine-readable output. - Adds
defaultDelaytoMockHTTPServer. Defaults to null for no delay. - Adds
defaultResponsetoMockHTTPServer. Defaults to a 503 response instead of a 200. - Adds option to set a custom delay for a specific response in
MockHTTPServer'squeueResponsefunction. - Performance improvements
2.4.0 #
- Adds
HTTPRequestBody.maxSizeto limit HTTP request body sizes. Defaults to 10MB. - Adds
ManagedTableAttributesto configure underlying database table to use multiple columns to test for uniqueness.
2.3.2 #
- Adds
Request.addResponseModifierto allow middleware to modify responses.
2.3.1 #
- Adds
Response.bufferOutputto control whether the HTTP response bytes are buffered. - Adds
whereNotto apply an inverse to otherQuery.whereexpression, e.g.whereNot(whereIn(["a", "b"])). - Fixes bug where subclassing
ManagedObjectControllerdidn't work. - Renames
ResourceRegistrytoServiceRegistry. - Improves feedback and interface for
package:conduit_core/test.dart.
2.3.0 #
- Adds
Request.acceptableContentTypesandRequest.acceptsContentTypefor convenient usage of Accept header. - Adds
AuthStorage.allowedScopesForAuthenticatableto provide user attribute-based scoping, e.g. roles. - Adds
Query.forEntityandManagedObjectController.forEntityto dynamically instantiate these types, i.e. use runtime values to build the query. - Adds
PersistentStore.newQuery- allows aPersistentStoreimplementation to provide its own implementation ofQueryspecific to its underlying database. - Adds
Query.reduceto perform aggregate functions on database tables, e.g. sum, average, maximum, etc. enums may be used as persistent properties inManagedObject<T>. The underlying database will store them a strings.- Speed of generating a template project has been greatly improved.
2.2.2 #
- Adds
ApplicationMessageHubto send cross-isolate messages.
2.2.1 #
- Allow
HTTPCodecRepository.addto use specify default charset for Content-Type if a request does not specify one.
2.2.0 #
- The default template created by
conduit createis now mostly empty. Available templates can be listed withconduit create list-templatesand selected with the command-line option--template. - Bug fixes where
conduit authwould fail to insert new Client IDs. joinManyandjoinOneare deprecated, usejoin(set:)andjoin(object:)instead.HTTPCodecRepositoryreplacesResponse.addEncoderandHTTPBody.addDecoder.Streams may now beResponsebodies.- Request bodies may be bound in
HTTPControllerwithHTTPBodymetadata. - Adds file serving with
HTTPFileController. - Adds
HTTPCachePolicyto control cache headers for aResponse. Request.bodyhas significantly improved behavior and has been optimized.- Content-Length is included instead of
Transfer-Encoding: chunkedwhen the size of the response body can be determined efficiently.
2.1.1 #
- Adds
ResourceRegistry: tracks port-consuming resources like database connections to ensure they are closed when an application shuts down during testing.
2.1.0 #
- Fixes race condition when stopping an application during test execution
- Adds validation behavior to
ManagedObjects usingValidateandManagedValidatorandManagedObject.validate. ManagedObjects now have callbackswillUpdateandwillInsertto modify their values before updating and inserting.- Fixes issue with
conduit serveon Windows.
2.0.3 #
- Fixes issue with
conduit documentfor routes usinglisten - Fixes issue when using
TestClientto execute requests with public OAuth2 client - Enables database migrations past the initial
conduit db generate. - CLI tools print tool version, project version (when applicable)
2.0.2 #
- Allow binding to system-assigned port so tests can be run in parallel
- Change
conduit servedefault port to 8081 so can develop in parallel to Angular2 apps that default to 8080 - Remove
SecurityContextreference fromApplicationConfiguration. SSL configured via newconduit serveargumentsssl-key-pathandssl-certificate-path, or overridingsecurityContextinRequestSink.
2.0.1 #
- Fixes issue where some types of join queries would access the wrong properties
- Fixes issue where an object cannot be inserted without values; this matters when the inserted values will be created by the database.
2.0.0 #
-
Added
RequestController.letUncaughtExceptionsEscapefor better debugging during tests. -
Persistent types for
ManagedObjects can now have superclasses. -
ManagedRelationships now have a.deferred()constructor. This allowsManagedObjects to have relationships toManagedObjects in other packages. -
Added
RequestSink.initializeApplicationmethod to do one-time startup tasks that were previously done in a start script. -
RequestSinkconstructor now takesApplicationConfiguration, instead ofMap. -
Added
configurationFilePathtoApplicationConfiguration. -
Improved error reporting from failed application startups.
-
Automatically lowercase headers in
Responseobjects so that other parts of an application can accurately read their values during processing. -
Added
HTTPBodyobject to represent HTTP request bodies inRequest. Decoders are now added to this type. -
ORM: Renamed
Query.matchOntoQuery.where. -
ORM: Removed
includeInResultSetforQuery's, instead, addedjoinOnandjoinManywhich create subqueries that can be configured further. -
ORM: Allow
Query.whereto reference properties in related objects without including related objects in results, i.e. can fetchParentobjects and filter them by values in theirChildrelationships. -
ORM: Joins can now be applied to belongsTo relationship properties.
-
ORM: Matchers such as
whereNullandwhereNotNullcan be applied to a relationship property inQuery.where. -
ORM: Renamed
ManagedSet.matchOntoManagedSet.haveAtLeastOneWhere. -
ORM: Added matchers for case-insensitive string matching, and added case-insensitive option to
whereEqualsandwhereNotEquals. -
Auth: Added
conduit/managed_authlibrary. Implements storage of OAuth 2.0 tokens usingManagedObjects. See API reference for more details. -
Auth: Improved error and response messaging to better align with the OAuth 2.0 spec, especially with regards to the authorization code flow.
-
Auth: Added distinction between public and confidential clients, as defined by OAuth 2.0 spec.
-
Auth: Improved class and property naming.
-
Tooling: Added
conduit authtool to create client ID and secrets and add them to a database for applications using theconduit/managed_authpackage. -
Tooling: Added more user-friendly configuration options for
conduit dbtool. -
Tooling: Added
conduit setup --herokufor setting up projects to be deployed to Heroku. -
Tooling: Added
conduit servecommand for running conduit applications without having to write a start script. -
Tooling: Added
conduit documentcommand to generate OpenAPI specification for conduit applications, instead of relying on a script that came with the template.
1.0.4 #
- BREAKING CHANGE: Added new
Response.contentTypeproperty. Adding "Content-Type" to the headers of aResponseno longer has any effect; use this property instead. ManagedDataModels now scan all libraries forManagedObject<T>subclasses to generate a data model. UseManagedDataModel.fromCurrentMirrorSystemto create instances ofManagedDataModel.- The last instantiated
ManagedContextnow becomes theManagedContext.defaultContext; prior to this change, it was the first instantiated context. AddedManagedContext.standaloneto opt out of setting the default context. - @HTTPQuery parameters in HTTPController responder method will now only allow multiple keys in the query string if and only if the argument type is a List.
1.0.3 #
- Fix to allow Windows user to use
conduit setup. - Fix to CORS processing.
- HTTPControllers now return 405 if there is no responder method match for a request.
1.0.2 #
- Fix type checking for transient map and list properties of ManagedObject.
- Add flags to
Process.runSyncthat allow Windows user to useconduitexecutable.
1.0.1 #
- Change behavior of isolate supervision. If an isolate has an uncaught exception, it logs the exception but does not restart the isolate.
1.0.0 #
- Initial stable release.