Discussion: Proposed Changes for expressjs/response-time Next Major Version

オープン
#25 コメント 4 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
javascript, node.js
領域
backend

調査の方向性

ファイル、テスト、または具体的なエントリーポイントは指定されていません。まず、提案された4つの領域に照らして、現在の response-time ミドルウェア API と依存関係の設定を確認してください。完了には、次のメジャーリリースのスコープ、Node.js のサポート、依存関係の更新、およびモダナイゼーション計画について合意する必要があります。

索引モデルが issue の本文から書いたものです。

説明

This issue aims to discuss potential changes for the next major version of expressjs/response-time.

Key Areas to Consider:
  1. API Simplification - BREAKING CHANGE
  • Standardized Options Object: Remove the deprecated approach of passing a single number to the middleware. Going forward, users should provide options as an object:
    app.use(responseTime({ digits: 3 })); // Set digits to 3
    
  1. Node.js Version Support - BREAKING CHANGE
    Drop support for Node.js < 18: We propose discontinuing support for Node.js versions below 18 (LTS). This ensures alignment with the latest security patches and modern features of Node.js.

  2. Dependency Management
    Upgrade dependencies: Update all project dependencies to their latest compatible versions, ensuring access to bug fixes, security updates, and compatibility with Node.js 18+.

  3. Code Modernization - BREAKING CHANGE
    Migrate to new ES syntax: Consider refactoring the codebase to leverage modern ES syntax, improving maintainability and alignment with contemporary Node.js practices.

主要言語
JavaScript
スター
497
フォーク
75
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

expressjs/response-time のほかの issue

expressjs/response-time の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。