shared_map 1.1.8 shared_map: ^1.1.8 copied to clipboard
Offers a versatile, synchronized Map for efficient sharing between Dart application parts, including Isolates or external apps.
1.1.8 #
-
SharedMap
:- Add
onInitialize
andonAbsent
callback:
- Add
-
New
SharedMapExtension
:- Added
isAuxiliaryInstance
,isMainInstance
,isSharedObject
,asSharedObject
.
- Added
-
test: ^1.24.9
-
coverage: ^1.7.2
1.1.7 #
SharedObjectField
:- Expose getter
instanceHandler
to allow implementation override. - Optimize
sharedObject
resolution.
- Expose getter
1.1.6 #
SharedMap
:- Added
update
method.
- Added
1.1.5 #
- lints: ^3.0.0
1.1.4 #
- Dart CI: Added
test_chrome
. shared_map_generic.dart
:- Fixed
createSharedMap
with aNotSharedStore
.
- Fixed
1.1.3 #
SharedStore
:- Added
getSharedObject
,getSharedObjectReference
andregisterSharedObject
.
- Added
SharedObjectField
:- Added
sharedObjectAsync
andisResolvingReference
.
- Added
SharedMap
:- Changed to asynchronous "constructors" (static methods):
fromID
,fromUUID
,from
.
- Changed to asynchronous "constructors" (static methods):
1.1.2 #
- New
SharedObjectReferenceable
:SharedObject
+ReferenceableType
SharedObjectIsolate
now implementsSharedObjectReferenceable<R>
.- New
SharedReferenceIsolate
. - New
SharedFieldInstanceHandler
andSharedObjectField
. SharedStoreField
andSharedMapField
:- Now extends
SharedObjectField
to reuseSharedObjectField
implementation.
- Now extends
ReferenceableType
:- Added
getSharedObject
,getOrCreateSharedObject
anddisposeSharedObject
.
- Added
- Improve documentation.
1.1.1 #
SharedStoreIsolateAuxiliary
: fix initialization.
1.1.0 #
-
Expose
SharedObject
implementation usingIsolate
:SharedObjectIsolate
:- Implementations:
SharedObjectIsolateMain
andSharedObjectIsolateAuxiliary
.
- Implementations:
- New
SharedObjectIsolateMessage
.- Implementations:
SharedObjectIsolateRequestMessage
andSharedObjectIsolateResponseMessage
.
- Implementations:
-
New libraries:
- 'package:shared_map/shared_object.dart'
- 'package:shared_map/shared_object_isolate.dart'
-
SharedObject
:- Renamed
isIsolateCopy
toisAuxiliaryInstance
.
- Renamed
-
Renamed
SharedType
toReferenceableType
. -
Renamed
SharedStoreIsolateServer
toSharedStoreIsolateMain
. -
Renamed
SharedStoreIsolateClient
toSharedStoreIsolateAuxiliary
. -
Renamed
SharedMapIsolateServer
toSharedMapIsolateMain
. -
Renamed
SharedMapIsolateClient
toSharedMapIsolateAuxiliary
.
1.0.10 #
-
SharedMapCached
:- Introduces async call caching for
get
,keys
,values
,entries
andlength
operations, to avoid simultaneous asynchronous calls (fetching) for the same operation.
- Introduces async call caching for
-
SharedStoreIsolateServer
:- Fix call to
getSharedMap<K,V>()
with correctK
andV
casting when requested bySharedStoreIsolateClient
.
- Fix call to
-
Improve
SharedMap.toString
implementations.
1.0.9 #
SharedMap
:- added
onPut
andonRemove
.
- added
1.0.8 #
SharedMap
:- Added
values
,entries
andwhere
.
- Added
1.0.7 #
SharedMap
:- Added
clear
.
- Added
- New
FutureSharedMapExtension
andFutureOrSharedMapExtension
.
1.0.6 #
-
New
NotSharedMap
,NotSharedStore
andSharedMapSync
. -
Refactored
SharedMapField
andSharedStoreField
:- Handle non-shared and shared instances appropriately.
- Improved handling of isolate copies and shared references for better consistency across isolates.
-
SharedMap
:- Improved resolution and caching mechanisms to enhance performance and reduce redundant operations.
1.0.5 #
- New
SharedStoreField
.
1.0.4 #
SharedMap
:- Added
keys
,length
,remove
andremoveAll
.
- Added
1.0.3 #
- New
SharedMapCached
. - Fix
SharedStoreGeneric
andSharedMapGeneric
. - Improve tests for
SharedStoreGeneric
andSharedMapGeneric
.
1.0.2 #
SharedMap
:- Added
putIfAbsent
.
- Added
SharedType
:- Rename
shareReference
tosharedReference
.
- Rename
1.0.1 #
- Add documentation.
1.0.0 #
- Initial version.