plotly / plotly/angular-plotly.js

Feature request: please add migration guide

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

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

主要言語
TypeScript
スター
242
フォーク
81
平均マージ
8時間 48分
マージ済み PR(30日)
18

説明

Hello,

I'm maintaining an app with angular 12 and angular-plotly.js 2.0.0.

When migrating to angular 13, I got this error:

$ ng update @angular/core@13 @angular/cli@13
Fetching dependency metadata from registry...
                  Package "angular-plotly.js" has an incompatible peer dependency to "@angular/core" (requires "^9.0.0" (extended), would install "13.4.0").
✖ Migration failed: Incompatible peer dependencies found.
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.

Looking through this repo by tags and checking at the package.json, I'm assuming that the right version for angular 13 is angular-plotly.js 5.0.0

It would be great to have a simple version mapping between angular-plotly.js and Angular (e.g. angular.dev/reference/versions), and especially a short list of breaking changes if any for each major version . That would really help developers trying to upgrade.

Thanks in advance 🙏

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

調査の方向性

まず package.json とリポジトリのタグを確認し、angular-plotly.js のどのバージョンが Angular の各リリースに対応するかを検証します。バージョンの対応表を文書化し、メジャーバージョンの履歴を確認して breaking changes を調べます。各対応関係と関連するアップグレード上の注意事項を網羅した短い移行ガイドが作成されていれば完了です。

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

評価

技術スタック
angular, typescript
領域
documentation
issue の種類
ドキュメント
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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