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.9k
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
1.1k
カンムにおけるプロダクトセキュリティのこれまでとこれから
summerwind
1
2.7k
Sharing test cases of internet protocols with Go and OCI Artifacts
summerwind
0
1k
Using Thanos as a long-term storage for your Prometheus metrics
summerwind
1
12k
Using Kubernetes as a datastore for SPIRE
summerwind
1
1.1k
Whitebox Controller
summerwind
5
1.7k
Managing Kubernetes manifests with Spruce
summerwind
2
4.2k
Understanding HTTP/2 prioritization
summerwind
16
6.2k
HTTP/2 Deep Dive: Priority & Server Push
summerwind
17
3.5k
Other Decks in Programming
See All in Programming
読まないコードリーディング術
hisaju
1
170
CSC486 Lecture 14
javiergs
PRO
0
100
PEPCは何を変えようとしていたのか
ken7253
3
340
気がついたら子供が社会人になって 自分と同じモバイルアプリエンジニアになった件 / Parent-Child Engineers
koishi
0
210
Go言語での実装を通して学ぶ、高速なベクトル検索を支えるクラスタリング技術/fukuokago-kmeans
monochromegane
1
100
「その気にさせる」エンジニアが 最強のリーダーになる理由
gimupop
3
370
Rubyと自由とAIと
yotii23
6
2k
Amazon Bedrockマルチエージェントコラボレーションを諦めてLangGraphに入門してみた
akihisaikeda
1
200
SwiftUI移行のためのインプレッショントラッキング基盤の構築
kokihirokawa
0
220
Node.js, Deno, Bun 最新動向とその所感について
yosuke_furukawa
PRO
5
2.5k
The Clean ArchitectureがWebフロントエンドでしっくりこないのは何故か / Why The Clean Architecture does not fit with Web Frontend
twada
PRO
68
23k
GDG Super.init(version=6) - From Where to Wear : 모바일 개발자가 워치에서 발견한 인사이트
haeti2
0
450
Featured
See All Featured
Designing for Performance
lara
605
69k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.3k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.2k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7.1k
Done Done
chrislema
182
16k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
2.8k
Site-Speed That Sticks
csswizardry
4
430
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
12k
Build The Right Thing And Hit Your Dates
maggiecrowley
34
2.6k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Rebuilding a faster, lazier Slack
samanthasiow
80
8.9k
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 ;-)