Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
The ChangeLogs of Node.js
Search
Moto Ishizawa
February 01, 2012
Programming
2
1.7k
The ChangeLogs of Node.js
The Changelogs of Node.js from v0.5.0 to v0.6.9.
Moto Ishizawa
February 01, 2012
Tweet
Share
More Decks by Moto Ishizawa
See All by Moto Ishizawa
LLM エージェントを使った実験
summerwind
0
940
カンムにおけるプロダクトセキュリティのこれまでとこれから
summerwind
1
2.3k
Sharing test cases of internet protocols with Go and OCI Artifacts
summerwind
0
790
Using Thanos as a long-term storage for your Prometheus metrics
summerwind
1
11k
Using Kubernetes as a datastore for SPIRE
summerwind
1
940
Whitebox Controller
summerwind
5
1.7k
Managing Kubernetes manifests with Spruce
summerwind
2
4k
Understanding HTTP/2 prioritization
summerwind
16
5.8k
HTTP/2 Deep Dive: Priority & Server Push
summerwind
17
3.3k
Other Decks in Programming
See All in Programming
Code Reviews
bkuhlmann
4
890
はてなにおける CSS Modules、及び CSS Modules に足りないもの / CSS Modules in Hatena, and CSS Modules missing parts
mizdra
7
930
今、知っておきたい! 生成AIエージェントの世界
elith
3
360
Tailwind CSSを本気でカスタマイズする方法
fsubal
13
5.2k
『Railsオワコン』と言われる時代に、なぜブルーモ証券はRailsを選ぶのか
free_world21
0
190
Git Rebase
bkuhlmann
11
1.6k
DMMプラットフォームがTiDB Cloudを採用した背景
pospome
8
4.1k
スクラムガイドのスプリントレトロスペクティブを改めて読みかえしてみた / Re-reading the Sprint Retrospective Section in the Scrum Guide
mackey0225
3
420
Node.js v22 で変わること
yosuke_furukawa
PRO
9
3.4k
0→1と1→10の狭間で Javaという技術選定を振り返る/Reflecting on the Decision to Choose Java Between Scaling from 0 to 1 and 1 to 10
jaguar_imo
2
380
Rubyでたのしむクリエイティブコーディング/Enjoy Creative coding with Ruby
chobishiba
1
180
GitHub Actionsで泣かないためにやっておきたい設定 / Recommended GHA settings to avoid crying
pinkumohikan
3
530
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
244
20k
A designer walks into a library…
pauljervisheath
200
23k
Six Lessons from altMBA
skipperchong
21
3k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
17
1.4k
Reflections from 52 weeks, 52 projects
jeffersonlam
345
19k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
jQuery: Nuts, Bolts and Bling
dougneiner
59
7.1k
Robots, Beer and Maslow
schacon
PRO
155
7.9k
KATA
mclloyd
15
12k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
The Illustrated Children's Guide to Kubernetes
chrisshort
31
46k
Transcript
ChangeLogs The of Node.js
Moto Ishizawa A Web Engineer
add child_process.fork “ ” Node.js v0.5.0
var cp = require('child_process'); var n = cp.fork(__dirname + '/sub.js');
n.on('message', function(m) { console.log('PARENT got message:', m); }); n.send({ hello: 'world' }); process.on('message', function(m) { console.log('CHILD got message:', m); }); process.send({ foo: 'bar' }); sub.js master.js
#1348 remove require.paths “ ” Node.js v0.5.2
None
Add process.features, remove process.useUV “ ” Node.js v0.5.3
> console.log(process.features); { debug: false, uv: true, ipv6: true, tls_npn:
true, tls_sni: true, tls: true, isolates: true }
Make Mikeal’s HTTP agent client the default. Use old HTTP
client with --use-http1 “ ” Node.js v0.5.4
http.get(options, function(res) { // Do stuff }).on("socket", function (socket) {
socket.emit("agentRemove"); });
typed arrays, implementation from Plesk “ ” Node.js v0.5.5
None
zlib bindings “ ” Node.js v0.5.8
var zlib = require('zlib'); var gzip = zlib.createGzip(); var fs
= require('fs'); var inp = fs.createReadStream('input.txt'); var out = fs.createWriteStream('input.txt.gz'); inp.pipe(gzip).pipe(out);
Use getaddrinfo instead of c-ares for dns.lookup “ ” Node.js
v0.5.10
cluster module api changes “ ” Node.js v0.6.0
var cluster = require('cluster'); var http = require('http'); var numCPUs
= require('os').cpus().length; if (cluster.isMaster) { // Fork workers. for (var i = 0; i < numCPUs; i++) { cluster.fork(); } cluster.on('death', function(worker) { console.log('worker ' + worker.pid + ' died'); }); } else { // Worker processes have a http server. http.Server(function(req, res) { res.writeHead(200); res.end("hello world\n"); }).listen(8000); }
punycode: use Mathias Bynens’s punycode library, it’s more compliant “
” Node.js v0.6.2
#2083 Land NPM in Node. It is included in packages/installers
and installed on `make install` “ ” Node.js v0.6.3
None
build: add --without-npm flag to configure script “ ” Node.js
v0.6.4
$ ./configure --without-npm
Travis CI integration “ ” Node.js v0.6.6
None
Numeric key hash collision fix for V8 “ ” Node.js
v0.6.8
None
Enjoy Node.js ;-)