simpleddp-core
is now a part ofsimpleddp
.- Fixed bug with setting
sort
inreactive()
method ofddpCollection
class (see #13). - Added new methods
skip()
,limit()
forddpReactiveCollection
class. Both methods are syntactic sugar forsettings()
method. - Updated
sub()
method. The returned subscription will be restarted if the same subscription exists and is stopped (see #11). - Updated
connect()
method. The method now supportsmaxTimeout
(see #18). - New tests added.
- Fixed bug with auto re-subscribing when
clearDataOnReconnection=true
(default). Pseudo removing messages arrived later than the first subscription. It was causing possible data loss. - Fixex bug with resolving
clearData()
. - Updated
simpleddp-core
package. - Small changes in plugin system, added event
clientReady
.
- Fixed bug with
ddpSubscription.restart
andddpSubscription.nosub
when error comes from the server.
- Fixed bug with
maxTimeout
.
- Fixed bug with
ddpReactiveCollection
sorting. In some cases data array didn't recieve valid updates.
restartSubsOnConnect
method renamed torestartSubs
.- Added property
clearDataOnReconnection
tosimpleDDP
class constructor. - Docs improvments.
- Fixed bug with
ddpSubscription
restart (loosing arguments). - Fixed rare situation with ddp message removed arriving before any other.
- API fix.
- Fixed dependencies vulnerabilities.
- Added documentation for custom EJSON types.
- Added
maxTimeout
to support the maximum wait for a response from the server to the method call.
- Fixed dependencies vulnerabilities.
- Fix. If
change
message arrives and no collection is foundsimpleddp
acts like it is anadded
message.
- Added semantic versioning.
call
renamed toapply
.- New
call
works likeapply
but accepts parameters for server method as a list of function arguments. subid
property of the subscription object renamed tosubscriptionId
.- Added
subscribe
method. Works likesub
but accepts parameters for server publication as a list of function arguments.
- Updated
simpleddp-core
package.
- Fixed bug with EJSON types.
- Updated
simpleddp-core
package. - Added support for putting method call at the beginning of the requests queue.