<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Version 0.9.0 has been released!]]></title><description><![CDATA[<p>Hi everyone! I'm very excited to announce this release. It adds some features that have been requested for a long time.</p>
<p>Hope you like it as well!</p>
<h3>New features &amp; improvements:</h3>
<ul>
<li>Introduced public room listing (<code>getAvailableRooms</code>) (<a href="https://github.com/gamestdio/colyseus/issues/131" rel="nofollow">https://github.com/gamestdio/colyseus/issues/131</a>)</li>
<li>Horizontal scalability through Redis (<a href="https://github.com/gamestdio/colyseus/issues/57" rel="nofollow">https://github.com/gamestdio/colyseus/issues/57</a>)</li>
<li>PM2 is now supported (<a href="https://github.com/gamestdio/colyseus/issues/56" rel="nofollow">https://github.com/gamestdio/colyseus/issues/56</a>)</li>
<li>Improved how rooms are automatically locked when maxClients is reached.</li>
<li>If an application error occurs during <code>onJoin</code> - the <code>onLeave</code> will be triggered immediately for custom clean up. (<a href="https://github.com/gamestdio/colyseus/issues/132" rel="nofollow">https://github.com/gamestdio/colyseus/issues/132</a>)</li>
<li>You can use <code>clock</code> intervals without setting the simulation interval.</li>
</ul>
<h3>Breaking changes:</h3>
<ul>
<li>The <code>ClusterServer</code> has been deprecated. (fixes <a href="https://github.com/gamestdio/colyseus/issues/56" rel="nofollow">https://github.com/gamestdio/colyseus/issues/56</a>, <a href="https://github.com/gamestdio/colyseus/issues/74" rel="nofollow">https://github.com/gamestdio/colyseus/issues/74</a>, <a href="https://github.com/gamestdio/colyseus/issues/91" rel="nofollow">https://github.com/gamestdio/colyseus/issues/91</a>, <a href="https://github.com/gamestdio/colyseus/issues/125" rel="nofollow">https://github.com/gamestdio/colyseus/issues/125</a>, <a href="https://github.com/gamestdio/colyseus/issues/126" rel="nofollow">https://github.com/gamestdio/colyseus/issues/126</a>)</li>
<li><code>verifyClient(client, options)</code> has been renamed to <code>onAuth(options)</code></li>
<li>Integration with <code>uws</code> is now done through <code>Server</code> constructor.</li>
<li>(client-side) <code>room.onData</code> has been renamed to <code>room.onMessage</code>.  (#128)</li>
<li>(client-side) <code>room.onUpdate</code> has been renamed to <code>room.onStateChange</code>  (#128)</li>
<li>(client-side) <code>room.data</code> has been renamed to <code>room.state</code>  (#128)</li>
</ul>
<p>See the guide on <a href="http://colyseus.io/docs/migrating/#migrating-to-09x-from-06x-or-08x" rel="nofollow">how to migrate to version <code>0.9.0</code></a>.</p>
]]></description><link>http://discuss.colyseus.io/topic/52/version-0-9-0-has-been-released</link><generator>RSS for Node</generator><lastBuildDate>Sat, 14 Mar 2026 14:52:44 GMT</lastBuildDate><atom:link href="http://discuss.colyseus.io/topic/52.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 30 Mar 2018 22:51:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Version 0.9.0 has been released! on Invalid Date]]></title><description><![CDATA[<p>Hi everyone! I'm very excited to announce this release. It adds some features that have been requested for a long time.</p>
<p>Hope you like it as well!</p>
<h3>New features &amp; improvements:</h3>
<ul>
<li>Introduced public room listing (<code>getAvailableRooms</code>) (<a href="https://github.com/gamestdio/colyseus/issues/131" rel="nofollow">https://github.com/gamestdio/colyseus/issues/131</a>)</li>
<li>Horizontal scalability through Redis (<a href="https://github.com/gamestdio/colyseus/issues/57" rel="nofollow">https://github.com/gamestdio/colyseus/issues/57</a>)</li>
<li>PM2 is now supported (<a href="https://github.com/gamestdio/colyseus/issues/56" rel="nofollow">https://github.com/gamestdio/colyseus/issues/56</a>)</li>
<li>Improved how rooms are automatically locked when maxClients is reached.</li>
<li>If an application error occurs during <code>onJoin</code> - the <code>onLeave</code> will be triggered immediately for custom clean up. (<a href="https://github.com/gamestdio/colyseus/issues/132" rel="nofollow">https://github.com/gamestdio/colyseus/issues/132</a>)</li>
<li>You can use <code>clock</code> intervals without setting the simulation interval.</li>
</ul>
<h3>Breaking changes:</h3>
<ul>
<li>The <code>ClusterServer</code> has been deprecated. (fixes <a href="https://github.com/gamestdio/colyseus/issues/56" rel="nofollow">https://github.com/gamestdio/colyseus/issues/56</a>, <a href="https://github.com/gamestdio/colyseus/issues/74" rel="nofollow">https://github.com/gamestdio/colyseus/issues/74</a>, <a href="https://github.com/gamestdio/colyseus/issues/91" rel="nofollow">https://github.com/gamestdio/colyseus/issues/91</a>, <a href="https://github.com/gamestdio/colyseus/issues/125" rel="nofollow">https://github.com/gamestdio/colyseus/issues/125</a>, <a href="https://github.com/gamestdio/colyseus/issues/126" rel="nofollow">https://github.com/gamestdio/colyseus/issues/126</a>)</li>
<li><code>verifyClient(client, options)</code> has been renamed to <code>onAuth(options)</code></li>
<li>Integration with <code>uws</code> is now done through <code>Server</code> constructor.</li>
<li>(client-side) <code>room.onData</code> has been renamed to <code>room.onMessage</code>.  (#128)</li>
<li>(client-side) <code>room.onUpdate</code> has been renamed to <code>room.onStateChange</code>  (#128)</li>
<li>(client-side) <code>room.data</code> has been renamed to <code>room.state</code>  (#128)</li>
</ul>
<p>See the guide on <a href="http://colyseus.io/docs/migrating/#migrating-to-09x-from-06x-or-08x" rel="nofollow">how to migrate to version <code>0.9.0</code></a>.</p>
]]></description><link>http://discuss.colyseus.io/post/162</link><guid isPermaLink="true">http://discuss.colyseus.io/post/162</guid><dc:creator><![CDATA[endel]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Version 0.9.0 has been released! on Sat, 31 Mar 2018 01:50:00 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>thanks for the release, this is awesome!</p>
<p>I have an issue though, I'm getting error <strong>(RESOLED, see below)</strong> : <code>colyseus.js: server error: Class constructor Room cannot be invoked without 'new'</code></p>
<p>Client-side:</p>
<pre><code>client = new Colyseus.Client('ws://localhost:9090');
room = client.join('basic');
</code></pre>
<p>Server-side:</p>
<pre><code>#index.js
const colyseus = require(&quot;colyseus&quot;);
const http = require(&quot;http&quot;);
const express = require(&quot;express&quot;);

const app = express();
const gameServer = new colyseus.Server({
  server: http.createServer(app)
});

class BasicRoom extends colyseus.Room {
    requestJoin (options, isNew) {
        console.log('Quizzroom requestJoin: ', options, isNew);
        return true;
    }

    onJoin (client) {
        console.log(`BasicRoom - client ${client.sessionId} joined.`);
    }

}

gameServer.register(&quot;basic&quot;, BasicRoom);
gameServer.listen(9090);

</code></pre>
<p>The documentation doesn't provide example in javascript, only typescript.<br />
Is there something I'm missing?</p>
<p><strong>UPDATE:</strong><br />
I was running the server with <code>nodemon server.js --exec babel-node</code> and I should use <code>nodemon server.js</code>.<br />
Everything is fine now.</p>
]]></description><link>http://discuss.colyseus.io/post/163</link><guid isPermaLink="true">http://discuss.colyseus.io/post/163</guid><dc:creator><![CDATA[T0RAT0RA]]></dc:creator><pubDate>Sat, 31 Mar 2018 01:50:00 GMT</pubDate></item></channel></rss>