Skip to content

Latest commit

 

History

History
78 lines (50 loc) · 2.49 KB

CHANGELOG.md

File metadata and controls

78 lines (50 loc) · 2.49 KB

CHANGELOG

2.3.0

  • simpleddp-core is now a part of simpleddp.
  • Fixed bug with setting sort in reactive() method of ddpCollection class (see Gregivy/simpleddp#13).
  • Added new methods skip(), limit() for ddpReactiveCollection class. Both methods are syntactic sugar for settings() method.
  • Updated sub() method. The returned subscription will be restarted if the same subscription exists and is stopped (see Gregivy/simpleddp#11).
  • Updated connect() method. The method now supports maxTimeout (see Gregivy/simpleddp#18).
  • New tests added.

2.2.4

  • 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.

2.2.3

  • Fixed bug with ddpSubscription.restart and ddpSubscription.nosub when error comes from the server.

2.2.2

  • Fixed bug with maxTimeout.

2.2.1

  • Fixed bug with ddpReactiveCollection sorting. In some cases data array didn't recieve valid updates.

2.2.0

  • restartSubsOnConnect method renamed to restartSubs.
  • Added property clearDataOnReconnection to DDPClient class constructor.
  • Docs improvments.

2.1.1

  • Fixed bug with ddpSubscription restart (loosing arguments).
  • Fixed rare situation with ddp message removed arriving before any other.
  • API fix.

2.1.0

  • 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.

2.0.2

  • Fixed dependencies vulnerabilities.

2.0.1

  • Fix. If change message arrives and no collection is found simpleddp acts like it is an added message.

2.0.0

  • Added semantic versioning.
  • call renamed to apply.
  • New call works like apply but accepts parameters for server method as a list of function arguments.
  • subid property of the subscription object renamed to subscriptionId.
  • Added subscribe method. Works like sub but accepts parameters for server publication as a list of function arguments.

1.2.3

  • Updated simpleddp-core package.

1.2.2

  • Fixed bug with EJSON types.

1.2.1

  • Updated simpleddp-core package.
  • Added support for putting method call at the beginning of the requests queue.