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
2k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
The ChangeLogs of Node.js
The Changelogs of Node.js from v0.5.0 to v0.6.9.
Moto Ishizawa
February 01, 2012
More Decks by Moto Ishizawa
See All by Moto Ishizawa
LLM エージェントを使った実験
summerwind
0
1.4k
カンムにおけるプロダクトセキュリティのこれまでとこれから
summerwind
1
3.1k
Sharing test cases of internet protocols with Go and OCI Artifacts
summerwind
0
1.2k
Using Thanos as a long-term storage for your Prometheus metrics
summerwind
1
13k
Using Kubernetes as a datastore for SPIRE
summerwind
1
1.2k
Whitebox Controller
summerwind
5
1.9k
Managing Kubernetes manifests with Spruce
summerwind
2
4.6k
Understanding HTTP/2 prioritization
summerwind
16
6.4k
HTTP/2 Deep Dive: Priority & Server Push
summerwind
17
3.7k
Other Decks in Programming
See All in Programming
Javaの型とAI時代に型が大事な理由 / java types and type in AI era
kishida
2
120
キャリア迷子上等 ─ "ない道"は自分で作ればいい
16bitidol
3
2k
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
12k
AIで効率化できた業務・日常
ochtum
0
120
dRuby over BLE
makicamel
2
330
並列実装の現場、2ヶ月間実務でAIを使い倒したAIもPCも私も限界が近い
ming_ayami
0
120
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
210
スマートグラスで並列バイブコーディング
hyshu
0
120
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
3
1.3k
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
190
技術記事、AIに書かせるか、自分で書くか? 〜それでも私が自分の手で書く理由〜 / #QiitaConference
jnchito
2
1.4k
エージェンティックRAGにAWSで入門しよう!
har1101
8
1.4k
Featured
See All Featured
Ruling the World: When Life Gets Gamed
codingconduct
0
250
Are puppies a ranking factor?
jonoalderson
1
3.5k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.4k
Facilitating Awesome Meetings
lara
57
7k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
440
Making the Leap to Tech Lead
cromwellryan
135
9.9k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.7k
Agile that works and the tools we love
rasmusluckow
331
21k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
220
Become a Pro
speakerdeck
PRO
31
6k
Rails Girls Zürich Keynote
gr2m
96
14k
The Pragmatic Product Professional
lauravandoore
37
7.3k
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 ;-)