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
2k
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.3k
カンムにおけるプロダクトセキュリティのこれまでとこれから
summerwind
1
2.9k
Sharing test cases of internet protocols with Go and OCI Artifacts
summerwind
0
1.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.2k
Whitebox Controller
summerwind
5
1.8k
Managing Kubernetes manifests with Spruce
summerwind
2
4.4k
Understanding HTTP/2 prioritization
summerwind
16
6.3k
HTTP/2 Deep Dive: Priority & Server Push
summerwind
17
3.6k
Other Decks in Programming
See All in Programming
CSC509 Lecture 13
javiergs
PRO
0
250
JEP 496 と JEP 497 から学ぶ耐量子計算機暗号入門 / Learning Post-Quantum Crypto Basics from JEP 496 & 497
mackey0225
2
210
乱雑なコードの整理から学ぶ設計の初歩
masuda220
PRO
29
11k
KoogではじめるAIエージェント開発
hiroaki404
1
450
最新のDirectX12で使えるレイトレ周りの機能追加について
projectasura
0
200
Kotlinで実装するCPU/GPU 「協調的」パフォーマンス管理
matuyuhi
0
380
Rails Girls Sapporo 2ndの裏側―準備の日々から見えた、私が得たもの / SAPPORO ENGINEER BASE #11
lemonade_37
2
130
PHPライセンス変更の議論を通じて学ぶOSSライセンスの基礎
matsuo_atsushi
0
140
ビルドプロセスをデバッグしよう!
yt8492
0
300
AsyncSequenceとAsyncStreamのプロポーザルを全部読む!!
s_shimotori
1
280
Inside of Swift Export
giginet
PRO
1
540
エンジニアに事業やプロダクトを理解してもらうためにやってること
murabayashi
0
140
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
331
21k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
Raft: Consensus for Rubyists
vanstee
140
7.2k
Become a Pro
speakerdeck
PRO
29
5.6k
Typedesign – Prime Four
hannesfritz
42
2.9k
How to train your dragon (web standard)
notwaldorf
97
6.4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Docker and Python
trallard
46
3.6k
The Language of Interfaces
destraynor
162
25k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
How to Think Like a Performance Engineer
csswizardry
28
2.3k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.2k
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 ;-)