- New
Client#matchesmethod accepts platform queries likeClientList#filter, returning a boolean of whether it matches.
- Several breaking changes in
panic-clientv1.0, reference their changelog for differences.
.len()has been permanently removed (was previously under deprecation notice).
- Each client object held within a
ClientListis capable of dispatching it's own jobs, independently of a list.
- Method
.atLeast, useful for pausing until a minimum number of clients join.
- Upgraded to panic-client
v0.3(brings.getand.setclient methods).
- position of the
donechanged to the first parameter.thiscontext is no longer passed. export varsis no longer enabled by default, but opt-in using the{ '@scope': true }property.
.len()has been deprecated in favor of.length.
- Lazily loads the panic-client bundle through
panic.clientproperty. - Subclassing support by chains instantiating
this.constructor. - Added
.chainmethod which ensures the proper class is called.
- Set the
constructorproperty on the ClientList prototype.
- Removed the
Function.prototype.toJSONextension.
.excluding()did not listen for remove events on exclusion lists. If a client was removed yet still connected, it wouldn't make it into the exclusion set.- The "add" event would fire each time you add the same client, even though it was already contained.
- New
clients.pluck(Number)method will create a new list constrained to a maximum number of clients.
- The
ClientListconstructor to thepanicobject. - The
ClientListconstructor now accepts an array of smaller lists to pull from.
panic.servehas been renamed topanic.server.panic.serveraccepts anhttp.Serverinstance instead of an options object.- The server no longer automatically listens on a port.
panic.serverreturns the server, not the options object.panic.jsis no longer served on the root route, only from/panic.js.
First minor release.