i'm planning to release node.js module as a 1.0 in the next 4 weeks or so.

soooo, i'm doing some of the 'really should be fixed before 1.0' tasks. this includes:

- moving a bunch of stupidly-hard-coded url settings from server.js into nodejs.config.js, and documenting them all in nodejs.config.example.js
- properly prepending a basePath to all http methods so auth will work as expected for non-default urls
- not allowing server.js to run with a blank serviceKey by default
- renaming 'backendSettings' to 'settings'
- getting rid of references to 'Drupal'
- fixing bugs i've found when making sure the docs match the code and vice-versa
- allowing server extensions to declare settings, and merging them in when loading the extension
- allowing server extensions to get access to more events and variables (this whole thing feels ugly, but i think fixing it is post-1.0)
- actually aggregating messages we enqueue in drupal into one http request to node.js

pulling the latest code *will* break your install, so make sure you do it a test env first, adjust code, etc.

feel free to ask questions/hurl abuse at me in IRC, and/or open up issues if i've broken anything that adjusting config can't fix.

also - please start shouting now about stuff you want pre-1.0. basically, the next week or so will be the last chance to flag anything so we can get it in.

Comments

gumdrop’s picture

Well I've installed node v0.5.10-pre of course it won't use express@2.4.3 & connect@1.1.4 because they are Unsupported and uncompilable. So will you be going to node v0.5.10-pre ?
eg:

npm install express@2.4.3
npm ERR! Unsupported
npm ERR! Not compatible with your version of node/npm: express@2.4.3
npm ERR! Required: {"node":">= 0.4.1 < 0.5.0"}
npm ERR! Actual: {"npm":"1.0.95","node":"0.5.10-pre"}
npm ERR!
npm ERR! System Linux 2.6.18-53.1.13.el5
npm ERR! command "node" "/usr/local/bin/npm" "install" "express@2.4.3"
npm ERR! cwd /home/html/sites/all/modules/nodejs
npm ERR! node -v v0.5.10-pre
npm ERR! npm -v 1.0.95
npm ERR! code ENOTSUP
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/html/sites/all/modules/nodejs/npm-debug.log
npm not ok

Anonymous’s picture

nope, not while its unstable, and a library we require is unsupported.

Anonymous’s picture

Assigned: » Unassigned

.

Anonymous’s picture

Status: Active » Closed (won't fix)