nodeJS Быстрый веб-сервер на javascript движке V8

22Апр/130

Построение иерархии моделей в Mongoose ODM

Сегодня я покажу как наследовать свойства моделей в ODM Mongoose. Для тех, кто не знает mongoose - это ODM (object document mapper) для node.js и MongoDB.

3Мар/120

Релиз Node 0.6.12

2012.03.02 Version 0.6.12 (stable)

  • Upgrade V8 to 3.6.6.24

  • dtrace ustack helper improvements (Dave Pacheco)

  • API Documentation refactor (isaacs)

  • #2827 net: fix race write() before and after connect() (koichik)

  • #2554 #2567 throw if fs args for 'start' or 'end' are strings (AJ ONeal)

  • punycode: Update to v1.0.0 (Mathias Bynens)

  • Make a fat binary for the OS X pkg (isaacs)

  • Fix hang on accessing process.stdin (isaacs)

  • repl: make tab completion work on non-objects (Nathan Rajlich)

  • Fix fs.watch on OS X (Ben Noordhuis)

  • Fix #2515 nested setTimeouts cause premature process exit (Ben Noordhuis)

  • windows: fix time conversion in stat (Igor Zinkovsky)

  • windows: fs: handle EOF in read (Brandon Philips)

  • windows: avoid IOCP short-circuit on non-ifs lsps (Igor Zinkovsky)

  • Upgrade npm to 1.1.4 (isaacs)

    - windows fixes
    - Bundle nested bundleDependencies properly
    - install: support –save with url install targets
    - shrinkwrap: behave properly with url-installed modules
    - support installing uncompressed tars or single file modules from urls etc.
    - don't run make clean on rebuild
    - support HTTPS-over-HTTP proxy tunneling

Source Code: http://nodejs.org/dist/v0.6.12/node-v0.6.12.tar.gz

Windows Installer: http://nodejs.org/dist/v0.6.12/node-v0.6.12.msi

Macintosh Installer: http://nodejs.org/dist/v0.6.12/node-v0.6.12.pkg

Website: http://nodejs.org/docs/v0.6.12/

Documentation: http://nodejs.org/docs/v0.6.12/api/

21Фев/121

Проблемы с форумом (решение)

Итак, с форумом вроде разобрались. Теперь должно быть можно зайти. Если у кого то проблема ещё присутствует, пишите на bolter.fire[at]gmail.com или в комментарии к этой записи.

20Фев/120

Проблемы с форумом (забанен навсегда)

Напишу коротко, если кто-то из вас видит надпись, что забанен навсегда - это не так. На самом деле проблемы с форумом, ждём администратора.

Метки записи: Нет комментариев
3Фев/120

Релиз Node v0.6.10

2012.02.02, Version 0.6.10 (stable)

  • Update V8 to 3.6.6.20

  • Add npm msysgit bash shim to msi installer (isaacs)

  • buffers: fix intermittent out of bounds error (Ben Noordhuis)

  • buffers: honor length argument in base64 decoder (Ben Noordhuis)

  • windows: Fix path.exists regression (Bert Belder)

  • Make QueryString.parse run faster (Philip Tellis)

  • http: avoid freeing http-parser objects too early (koichik)

  • timers: add v0.4 compatibility hack (Ben Noordhuis)

  • Proper EPERM error code support (Igor Zinkovsky, Brandon Philips)

  • dgram: Implement udp multicast methods on windows (Bert Belder)

Source Code: http://nodejs.org/dist/v0.6.10/node-v0.6.10.tar.gz

Windows Installer: http://nodejs.org/dist/v0.6.10/node-v0.6.10.msi

Macintosh Installer: http://nodejs.org/dist/v0.6.10/node-v0.6.10.pkg

Website: http://nodejs.org/docs/v0.6.10/

Documentation: http://nodejs.org/docs/v0.6.10/api/

Связано с категорией: Релизы Нет комментариев
2Фев/120

Релиз Node v0.7.2 (unstable)

2012.02.01, Version 0.7.2 (unstable)

  • Update V8 to 3.8.9

  • Support for sharing streams across Isolates (Igor Zinkovsky)

  • #2636 – Fix case where http_parsers are freed too early (koichik)

  • url: Support for IPv6 addresses in URLs (Łukasz Walukiewicz)

  • child_process: Add disconnect() method to child processes (Andreas Madsen)

  • fs: add O_EXCL support, exclusive open file (Ben Noordhuis)

  • fs: more specific error messages (Tj Holowaychuk)

  • tty: emit ‘unknown’ key event if key sequence not found (Dan VerWeire, Nathan Rajlich)

  • build: compile release build too if BUILDTYPE=Debug (Ben Noordhuis)

  • module: fix –debug-brk on symlinked scripts (Fedor Indutny)

  • zlib: fix Failed to set dictionary issue (Fedor Indutny)

  • waf: predict target arch for OS X (Fedor Indutny)

Source Code: http://nodejs.org/dist/v0.7.2/node-v0.7.2.tar.gz

Windows Installer: http://nodejs.org/dist/v0.7.2/node-v0.7.2.msi

Macintosh Installer: http://nodejs.org/dist/v0.7.2/node-v0.7.2.pkg

Website: http://nodejs.org/docs/v0.7.2/

Documentation: http://nodejs.org/docs/v0.7.2/api/

Связано с категорией: Релизы Нет комментариев
24Янв/120

Релиз Node 0.7.1 (unstable)

2012.01.23, Version 0.7.1 (unstable)

  • Update V8 to 3.8.8

  • Install node-waf by default (Fedor Indutny)

  • crypto: Add ability to turn off PKCS padding (Ingmar Runge)

  • v8: implement VirtualMemory class on SunOS (Ben Noordhuis)

  • Add cluster.setupMaster (Andreas Madsen)

  • move path.exists* to fs.exists* (Maciej Małecki)

  • typed arrays: set class name (Ben Noordhuis)

  • libuv bug fixes (Igor Zinkovsky, Ben Noordhuis, Dan VerWeire)

Source: http://nodejs.org/dist/v0.7.1/node-v0.7.1.tar.gz

Windows Installer: http://nodejs.org/dist/v0.7.1/node-v0.7.1.msi

Macintosh Installer: http://nodejs.org/dist/v0.7.1/node-v0.7.1.pkg

Website: http://nodejs.org/docs/v0.7.1/

Documentation: http://nodejs.org/docs/v0.7.1/api/

Связано с категорией: Релизы Нет комментариев
20Янв/120

Релиз Node v0.6.8

2012.01.19, Version 0.6.8 (stable)

  • Update V8 to 3.6.6.19

  • Numeric key hash collision fix for V8 (Erik Corry, Fedor Indutny)

  • Add missing TTY key translations for F1-F5 on Windows (Brandon Benvie)

  • path.extname bugfix with . and .. paths (Bert Belder)

  • cluster: don’t always kill the master on uncaughtException (Ben Noordhuis)

  • Update npm to 1.1.0-2 (isaacs)

  • typed arrays: set class name (Ben Noordhuis)

  • zlib binding cleanup (isaacs, Bert Belder)

  • dgram: use slab memory allocator (Michael Bernstein)

  • fix segfault #2473

Source Code: http://nodejs.org/dist/v0.6.8/node-v0.6.8.tar.gz

Windows Installer: http://nodejs.org/dist/v0.6.8/node-v0.6.8.msi

Macintosh Installer: http://nodejs.org/dist/v0.6.8/node-v0.6.8.pkg

Website: http://nodejs.org/docs/v0.6.8/

Documentation: http://nodejs.org/docs/v0.6.8/api/

Связано с категорией: Релизы Нет комментариев
17Янв/120

Релиз Node v0.7.0 (Unstable)

Node v0.7.0 (Unstable)

Это первый релиз из нестабильной ветки v0.7. Всем рекомендуется использовать стабильную ветку v0.6.

2012.01.16, Version 0.7.0 (unstable)

  • Upgrade V8 to 3.8.6
  • Use GYP build system on unix (Ben Noordhuis)
  • Experimenetal isolates support (Ben Noordhuis)
  • Improvements to Cluster API (Andreas Madsen)
  • Use isolates for internal debugger (Fedor Indutny)
  • Bug fixes

Source Code: http://nodejs.org/dist/v0.7.0/node-v0.7.0.tar.gz

Windows Installer: http://nodejs.org/dist/v0.7.0/node-v0.7.0.msi

Macintosh Installer: http://nodejs.org/dist/v0.7.0/node-v0.7.0.pkg

Website: http://nodejs.org/docs/v0.7.0/

Documentation: http://nodejs.org/docs/v0.7.0/api/

Связано с категорией: Релизы Нет комментариев
12Янв/120

Модули, о которых следует знать: optimist

Первый пост был о dnode — библиотеке для вызова удалённых процедур в свободном стиле.

На этот раз я представлю Вам node-optimist — лёгкий парсер аргументов командной строки. Эта библиотека также написана Джеймсом Хэллидэем (SubStack), одним из основателей Browserling и Testling.