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.8k
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
1k
カンムにおけるプロダクトセキュリティのこれまでとこれから
summerwind
1
2.5k
Sharing test cases of internet protocols with Go and OCI Artifacts
summerwind
0
900
Using Thanos as a long-term storage for your Prometheus metrics
summerwind
1
12k
Using Kubernetes as a datastore for SPIRE
summerwind
1
1k
Whitebox Controller
summerwind
5
1.7k
Managing Kubernetes manifests with Spruce
summerwind
2
4k
Understanding HTTP/2 prioritization
summerwind
16
6k
HTTP/2 Deep Dive: Priority & Server Push
summerwind
17
3.3k
Other Decks in Programming
See All in Programming
私の考える初学者がBlazorできるまでの学習方法
tomokusaba
1
240
デザインシステムとコンポーネント指向によるフロントエンド開発プロセスの革新 / Innovation in Frontend Development Processes through Design Systems and Component-Oriented Architecture
nrslib
7
5k
Using Livebook to build and deploy internal tools @ ElixirConf 2024
hugobarauna
0
210
初めてのiOS関連GitHub ActionsをMarketplaceに公開するまでの実録
konifar
3
200
rbs-inlineを導入してYARDからRBSに移行する
euglena1215
1
190
Prompt Cachingは本当に効果的なのか検証してみた.pdf
ttnyt8701
0
220
ECMAScript仕様を読むのに必要な知識 - ダイジェスト版
syumai
4
2.5k
現代のVueとTypeScript - 型安全の活用術
minako__ph
4
3k
iOSDC 2024
auramagi
3
590
マイグレーションコード自作して File-Based Routing に自動移行!! ~250 ページの歴史的経緯を添えて~
cut0
1
240
Amebaチョイス立ち上げの裏側 ~依存システムとの闘い~
daichi_igarashi
0
220
2024 컴포즈 정원사
jisungbin
0
140
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
278
13k
Build The Right Thing And Hit Your Dates
maggiecrowley
29
2.2k
What's new in Ruby 2.0
geeforr
340
31k
StorybookのUI Testing Handbookを読んだ
zakiyama
25
5k
The Invisible Side of Design
smashingmag
295
50k
10 Git Anti Patterns You Should be Aware of
lemiorhan
653
58k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
103
47k
Why Our Code Smells
bkeepers
PRO
333
56k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
122
18k
A better future with KSS
kneath
235
17k
The Cult of Friendly URLs
andyhume
76
5.9k
Fashionably flexible responsive web design (full day workshop)
malarkey
400
65k
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 ;-)