mirror of
https://github.com/gundb/panic-server.git
synced 2026-01-11 06:27:53 -05:00
2.3 KiB
2.3 KiB
Changelog
v1.1.0
Added
- New
Client#matchesmethod accepts platform queries likeClientList#filter, returning a boolean of whether it matches.
v1.0.0
Changed
- Several breaking changes in
panic-clientv1.0, reference their changelog for differences.
Removed
.len()has been permanently removed (was previously under deprecation notice).
Added
- Each client object held within a
ClientListis capable of dispatching it's own jobs, independently of a list.
v0.4.1
Added
- Method
.atLeast, useful for pausing until a minimum number of clients join.
v0.4.0
Added
- Upgraded to panic-client
v0.3(brings.getand.setclient methods).
v0.3.0
Changed
- 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.
Removed
.len()has been deprecated in favor of.length.
Added
- 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.
v0.2.4
Fixed
- Set the
constructorproperty on the ClientList prototype.
v0.2.3
Fixed
- Removed the
Function.prototype.toJSONextension.
v0.2.2
Fixed
.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.
Added
- New
clients.pluck(Number)method will create a new list constrained to a maximum number of clients.
v0.2.1
Added
- The
ClientListconstructor to thepanicobject. - The
ClientListconstructor now accepts an array of smaller lists to pull from.
v0.2.0
Changed
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.
v0.1.0
First minor release.