Skip to content

Commit e309a14

Browse files
committed
2 parents 74ee695 + 1018edf commit e309a14

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+903
-581
lines changed

HISTORY.md

+25-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
0.3.0 / 2012-XX-XX
2+
==================
3+
4+
Not yet released. These are the changes so far...
5+
6+
7+
##### Improvements for Production Hosting
8+
9+
* IMPORTANT: `ss.client.packAssets()` now tries to use existing pre-packed assets if present
10+
* If no assets are found, or you pass the env var `SS_PACK=1`, assets will always be (re)packed
11+
* Static assets now have a cache expiry header of 30 days by default. Configurable with `ss.client.set({static: {maxAge: newValue}})` as before
12+
* NEW: CDN paths can now be functions. E.g. `ss.client.packAssets({cdn: {js: function(file){ return "http://mycdn.com" + file.path; } }})`
13+
14+
15+
##### Other
16+
17+
* Updated to work on Node 0.8 [Discuss any issues here](https://github.com/socketstream/socketstream/issues/250)
18+
* Live Reload now uses `chokidar` for better performance on Windows and when creating new files. Big thanks to CyberWalrus
19+
* Updated many package dependencies
20+
* Added documentation in Korean (thanks EngForDev)
21+
* Enable proper handling of question marks and params when routing HTTP requests (thanks matthiasg)
22+
* In newly generated projects `ss.define.client()` now lists client libs explicitly to avoid confusion over load order
23+
* Updated bundled jQuery to 1.7.2
24+
25+
126
0.3 RC2 / 2012-05-04
227
====================
328

@@ -10,7 +35,6 @@
1035
* Minor refactoring
1136
* Updated README with video link
1237

13-
Note: SocketStream 0.3.0 will be officially launched later in May, along with example apps, screencasts, more documentation and improvements to [www.socketstream.org](http://www.socketstream.org). Read announcement [here](https://groups.google.com/forum/?fromgroups#!topic/socketstream/Y6OIOrJRX7w).
1438

1539

1640
0.3 RC1 / 2012-04-22
@@ -36,8 +60,6 @@ Note: SocketStream 0.3.0 will be officially launched later in May, along with ex
3660
* Removed code to check for previous versions of 0.3
3761
* Updated `package.json` with names of significant/regular contributors. Thanks guys!
3862

39-
Note: SocketStream 0.3.0 will be officially launched in May, along with example apps, screencasts, more documentation and improvements to [www.socketstream.org](http://www.socketstream.org). Read announcement [here](https://groups.google.com/forum/?fromgroups#!topic/socketstream/Y6OIOrJRX7w).
40-
4163

4264

4365
0.3 beta2 / 2012-04-10

INSTALL.md

+6-9
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,9 @@ Note: These instructions will be changed once the first 0.3 package is published
88

99
### Mac OS X installation (tested on OS X Lion)
1010

11-
# install XCode, required for compiling software
12-
13-
http://itunes.apple.com/gb/app/xcode/id422352214?mt=12
14-
1511
# install Node.js
1612

17-
Download latest stable (0.6.x) version from http://nodejs.org/#download
13+
Download latest stable (0.8.x) `.dmg` from http://nodejs.org/#download
1814

1915
# install SocketStream (latest from Github master)
2016

@@ -40,12 +36,12 @@ Here is an example that shows how to install SocketStream and it's dependencies
4036

4137
# install Node.js
4238

43-
Download latest stable (0.6.x) version from http://nodejs.org/#download
39+
Download latest stable (0.8.x) version from http://nodejs.org/#download
4440

45-
E.g. for Node 0.6.7
41+
E.g. for Node 0.8.0
4642

47-
tar zxvf node-v0.6.7.tar.gz
48-
cd node-v0.6.7
43+
tar zxvf node-v0.8.0.tar.gz
44+
cd node-v0.8.0
4945
./configure
5046
make # this will take a couple of minutes
5147
sudo make install
@@ -80,3 +76,4 @@ Here is an example that shows how to install SocketStream and it's dependencies
8076
cd test
8177
npm install
8278
npm install ..\socketstream
79+

README.md

+10-9
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ Twitter: [@socketstream](http://twitter.com/#!/socketstream)
1010
Google Group: http://groups.google.com/group/socketstream
1111
IRC channel: [#socketstream](http://webchat.freenode.net/?channels=socketstream) on freenode
1212

13-
Take a tour of all the new features at http://www.socketstream.org/tour
14-
15-
Note: I will be talking about SocketStream 0.3 at [LNUG](http://lnug.org) on Wednesday 23rd May.
13+
Take a tour of all the new features at http://www.socketstream.org/tour and watch the [introductory video](http://vimeo.com/43027679) (recorded May 2012).
1614

1715

1816
### Introduction
@@ -43,7 +41,7 @@ While it is still early days, our end goal is to ensure SocketStream can be used
4341

4442
SocketStream is in full-time development, rapidly progressing thanks to frequent contributions from a [growing community](http://groups.google.com/group/socketstream) of developers.
4543

46-
SocketStream 0.3.0 will be officially launched in May, along with example apps, screencasts, more documentation and improvements to [www.socketstream.org](http://www.socketstream.org). Read announcement [here](https://groups.google.com/forum/?fromgroups#!topic/socketstream/Y6OIOrJRX7w).
44+
SocketStream 0.3.0 will be launched shortly, along with example apps, screencasts, more documentation and improvements to [www.socketstream.org](http://www.socketstream.org).
4745

4846

4947
## Features
@@ -97,9 +95,9 @@ All this means no more connection latency, HTTP header overhead, polling, or clu
9795

9896
### Getting Started
9997

100-
Ready to give it a whirl? Install [Node 0.6.X](http://nodejs.org/#download) then install SocketStream from NPM:
98+
Ready to give it a whirl? Install [Node 0.8.X](http://nodejs.org/#download) and checkout the latest code from master:
10199

102-
[sudo] npm install -g socketstream
100+
[sudo] npm install git://github.com/socketstream/socketstream.git
103101

104102
To generate a new empty SocketStream project type:
105103

@@ -110,7 +108,8 @@ __Tip: Type `socketstream -h` to view all available options__
110108
Install the bundled (optional) dependencies:
111109

112110
cd <name_of_your_project>
113-
npm install
111+
[sudo] npm link socketstream
112+
[sudo] npm install
114113

115114
To start your app simply type:
116115

@@ -188,7 +187,7 @@ More examples coming soon!
188187

189188
Please start with http://www.socketstream.org/tour which walks you through the key features and shows you the code.
190189

191-
Documentation is constantly expanding and can be found in `/doc/guide/en`.
190+
Documentation is constantly expanding and currently available in [English](https://github.com/socketstream/socketstream/tree/master/doc/guide/en) and [Korean](https://github.com/socketstream/socketstream/tree/master/doc/guide/ko).
192191

193192
##### Developing (Client-side)
194193

@@ -295,7 +294,9 @@ Back end scaling has yet to be properly documented, but we're keen to continue l
295294

296295
### Videos
297296

298-
**NEW** [Watch the introductory presentation](http://2011.krtconf.com/videos/owen_barnes) I gave at [KrtConf](http://krtconf.com) last November. Although the first half of the video refers to the previous version (SocketStream 0.2), all the upcoming features I speak about are now available in SocketStream 0.3.
297+
298+
* November 2011 - [Presentation to KrtConf.com](http://2011.krtconf.com/videos/owen_barnes), Portland
299+
* May 2012 - [Presentation to LNUG.org](http://vimeo.com/43027679), London (most recent)
299300

300301

301302
### Developing on the SocketStream core

doc/guide/en/live_reload.md

+9
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ As you typically would in `production` mode.
1515

1616
### Known issues
1717

18+
#### VIM
19+
20+
VIM creates a temporary file before replacing the real file. To prevent problems with Live Reload, change the write mode with:
21+
22+
:set nowritebackup
23+
24+
25+
#### Too many files
26+
1827
Live Reload is built on Node's `fs.watch()` API which works differently on each operating system. For example, on Linux you'll get an `EMFILE` error if you have many files in your `client` directory. Change this limit with:
1928

2029
sudo vi /etc/sysctl.conf
File renamed without changes.

lib/cli/generate.js

+27-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/cli/index.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/client/asset.js

+32-27
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)