Skip to content

Commit 2d3ff01

Browse files
committed
docs(concepts): recommend keeping deserve current via deno update
- Add a stay-current note pointing to deno update
1 parent d98465c commit 2d3ff01

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

docs/core-concepts/philosophy.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ Code should read cleanly, patterns should stay predictable, and errors should po
4040

4141
Simple and safe belong in the same sentence. A serving router protects the process from accidental shutdown through [process protection](/getting-started/server-configuration#process-protection), and faults are caught in layers through [defense in depth](/error-handling/defense-in-depth). Staying small is part of staying safe, since less code means less that can go wrong.
4242

43+
Staying safe also means staying current. Attack surfaces keep shifting, so each release tracks them and ships the fixes alongside the features. A new version is rarely just new capabilities, it usually carries most of the attack vectors patched from the version before it, which makes running the latest the safe choice rather than the optional one. Keeping the dependency current is one command with [`deno update`](https://docs.deno.com/runtime/reference/cli/update/), where `deno update --latest` pulls the newest release regardless of semver so the patches reach you the moment they ship.
44+
4345
## Small on Purpose
4446

4547
Deserve is not here to replace the big frameworks or win a benchmark war. It is a tool for developers who love how light Deno feels and want to keep that feeling all the way to production.

docs/id/core-concepts/philosophy.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ Kode harus enak dibaca, pola harus mudah ditebak, dan error harus menunjuk ke ar
4040

4141
Sederhana dan aman layak berada di kalimat yang sama. Router yang sedang melayani melindungi proses dari mati tak sengaja lewat [proteksi proses](/id/getting-started/server-configuration#proteksi-proses), dan kegagalan ditangkap berlapis lewat [defense in depth](/id/error-handling/defense-in-depth). Tetap kecil adalah bagian dari tetap aman, sebab makin sedikit kode berarti makin sedikit yang bisa salah.
4242

43+
Tetap aman juga berarti tetap terkini. Permukaan serangan terus bergeser, jadi setiap rilis mengikutinya dan menyertakan perbaikannya bersama fitur baru. Versi baru jarang sekadar membawa kemampuan baru, sebagian besar isinya justru perbaikan untuk celah serangan dari versi sebelumnya. Karena itu memakai versi terbaru adalah pilihan yang aman, bukan sekadar pilihan opsional. Satu perintah sudah cukup untuk menjaga dependensi tetap terkini melalui [`deno update`](https://docs.deno.com/runtime/reference/cli/update/), dan perintah `deno update --latest` menarik rilis terbaru dengan mengabaikan semver sehingga perbaikan keamanan langsung kamu terima begitu rilis tersedia.
44+
4345
## Kecil karena Sengaja
4446

4547
Deserve tidak hadir untuk menggantikan framework besar atau memenangkan adu benchmark. Ini alat untuk pengembang yang menyukai betapa ringannya Deno dan ingin menjaga rasa itu sampai ke produksi.

0 commit comments

Comments
 (0)