sponge_client_dart 1.9.0 sponge_client_dart: ^1.9.0 copied to clipboard
Sponge client for Dart. It simplifies connecting to a remote Sponge REST API service.
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.
ArgMeta
andResultMeta
classes have been removed. - API change: Renamed
ArgProvidedMeta
toProvidedMeta
,ArgProvidedValue
toProvidedValue
andProvidedMeta.depends
toProvidedMeta.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
displayName
tolabel
. - API change: Renamed
ActionArgMeta
toArgMeta
,ActionResultMeta
toResultMeta
,ArgProvided
toArgProvidedMeta
,ArgValue
toArgProvidedValue
. - API change: A provided argument specification in now placed in the
ArgProvidedMeta
class, not directly in theArgMeta
as before. - API change: Removed
LabeledValue
andArgProvidedValue.valueSetDisplayNames
because of a new support for an annotated value set.
1.6.0 (2019-01-11) #
- A new REST API operation
actionArgs
that 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
ActionType
because 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:io
dependency. - Allowed non strict types in type converters.
1.5.0 (2018-11-14) #
- The initial release, compatible with Sponge 1.5.x.