sponge_client_dart 1.18.0
sponge_client_dart: ^1.18.0 copied to clipboard
Sponge client for Dart. It simplifies connecting to a remote Sponge service.
1.18.0 - 2021-09-17 #
- API change: The Remote API JSON-RPC 2.0 error response data is now represented as a map. The previous, optional
detailedErrorMessagefield is now an optional entry in the map with thedetailedErrorMessagekey. - Added a new flag
allowFetchActionMetadataInActionCallto the Remote API client. The flag allows fetching action metadata from the server before an action call (if not already cached). Defaults totrue. - Dependencies upgrade.
1.17.0 - 2021-03-19 #
- API change: Renamed
StreamTypetoOutputStreamType. - Added new Remote API feature
protocolVersion. For compatibility, both a server and a client should use the same protocol version. - Added support for
/argumentNameand/sub-action substitutions. - Added a new type
InputStreamType.
1.16.3 - 2020-12-21 #
- Validation of non-nullable arguments recursively (handling records) in an action call.
1.16.2 - 2020-08-27 #
- Added a new type feature
align(with valuesleft,center,right) and a feature valuetoggleButtonfor thewidgetfeature for theBooleanType.
1.16.1 - 2020-07-29 #
- Added support for the
submittableBlockingfeature. - Dependencies upgrade.
1.16.0 - 2020-06-12 #
- API change: The Sponge REST API has been renamed to the Sponge Remote API. The Sponge Remote API is intended to be JSON-RPC 2.0 compatible.
- API change: Moved the
readOnlyflag fromProvidedMetatoDataType. - API change: Added
featuresto the response header. - API change: Added
ProvideActionArgsRequestBody.initial. - API change: Renamed
ProvideActionArgsRequestBody.featurestoargFeatures. - API change: Added
minValueandmaxValuetoDateTimeType. - API change: Introduced a
SubActiontyped feature forcontextActions,createAction,readAction,updateAction,deleteActionandactivateActioninstead of string specifications. - API change: Renamed the
'this'keyword in a data type path to'@this'. - API change: Renamed the
'submit'keyword in an activation action name to'@submit'. - API change: Renamed
SpongeUtilstoSpongeClientUtils. - API change: Added new Remote API features:
spongeVersion(instead ofversion) andapiVersion. - Added support for named action arguments (as a map) to the
callRemote API method. - Added support for
@indexand@parentsub-action substitutions. - Added
licenseanddescriptionto the Remote API features. - Added
networkImageto the supportedcharacteristicfeature values. - Added support for
GeoCrsandGeoWmsLayer. - Dependencies upgrade.
1.15.0 - 2020-03-30 #
- API change: Changed
submittabletype frombooltoSubmittableMetain theProvidedMeta. - Added an
activatableflag to an action. - Added
featuresto the request header. - Added support for typed features and feature converters.
- Added support for event features.
- Added support for geographical map features.
- The default REST API path is now empty. The previous value was
sponge.json/v1. - Dependencies upgrade.
1.14.0+1 - 2019-12-21 #
- Added indicatedIndex to PageableList.
- Code cleanup.
- Dependencies upgrade.
1.14.0 - 2019-12-20 #
- API change: A payload in a request and a response has been moved to
body. - API change: Renamed
labeltovalueLabelanddescriptiontovalueDescriptioninAnnotatedValue. - API change: Removed
SpongeRestClient.submitActionArgs. UseprovideActionArgsdirectly. - Added
AnnotatedValue.typeLabelandAnnotatedValue.typeDescription. - Added
ProvidedMeta.mode- a provided read mode:explicit(default),optionalorimplicit. - Added support for context action result substitution.
- Added high level classes (e.g.
ActionData,PageableList) in thedatapackage. Currently marked as experimental. - Added support for a companion type in an object type.
- Added support for the
isActionActiveREST operation. - Removed support for features in an action arguments provision result itself (
ProvidedValue). Such features can be provided in anAnnotatedValue. - Removed experimental support for pageable value set and element value set.
1.13.0 - 2019-10-30 #
- Added support for submitting action arguments to the server.
- Added support for features in action arguments provision.
- Added the
Featuresclass that lists all predefined features. - API change: Renamed error codes.
- Dependencies upgrade.
1.12.0 - 2019-09-30 #
- Improved
RemoteEventmarshaling. - DynamicValue unwrapping in
DataTypeUtils. - Added a return value in the
DataTypeUtils.traverseValuemethod. - Dependencies upgrade.
1.11.0 - 2019-07-11 #
- API change: Base request and response properties have been moved to headers.
- Added label and description to REST API send event.
- Added a new property
uniqueto the ListType. - Added support for the
featuresREST operation. - Added support for element value set for provided list types.
- Dependencies upgrade.
1.10.0 - 2019-05-10 #
- Added
DataType.registeredType. - Added support for
RecordTypeinheritance. - Added support for automatic use of auth tokens.
- Added support for custom REST API operations.
1.9.0 - 2019-04-15 #
- Added a new type
StreamType. - Added a new REST API error code
ERROR_CODE_INCORRECT_USERNAME_PASSWORD ("SPONGE004"). - Dependencies upgrade.
1.8.0 - 2019-03-04 #
- API change: Action arguments and result metadata are now specified as data types.
ArgMetaandResultMetaclasses have been removed. - API change: Renamed
ArgProvidedMetatoProvidedMeta,ArgProvidedValuetoProvidedValueandProvidedMeta.dependstoProvidedMeta.dependencies. - API change: Removed
AnnotatedType. UseDataType.withAnnotated()instead. - Added support for categories. Processors may be assigned to registered categories.
- Added new types:
DynamicType,TypeType,DateTimeType. - Added
CategoryMeta.features. - Fixed the bug that caused an error when sending an empty body in the REST API request.
1.7.0 - 2019-02-01 #
- API change: Renamed
displayNametolabel. - API change: Renamed
ActionArgMetatoArgMeta,ActionResultMetatoResultMeta,ArgProvidedtoArgProvidedMeta,ArgValuetoArgProvidedValue. - API change: A provided argument specification in now placed in the
ArgProvidedMetaclass, not directly in theArgMetaas before. - API change: Removed
LabeledValueandArgProvidedValue.valueSetDisplayNamesbecause of a new support for an annotated value set.
1.6.0 - 2019-01-11 #
- A new REST API operation
actionArgsthat fetches the provided action arguments from the server. There is a possibility to provide action argument values and possible value sets in the action configuration. It makes easier creating a generic UI for an action call that reads and presents the actual state of the entities that are to be changed by the action and its arguments. - API change: Removed
ActionTypebecause there is a more versatile feature of providing action argument values and value sets. - Added a context and listeners to the REST API client.
- Added a new data type
AnnotatedType.
1.5.1 - 2018-11-14 #
- Removed
dart:iodependency. - Allowed non strict types in type converters.
1.5.0 - 2018-11-14 #
- The initial release, compatible with Sponge 1.5.x.