mmag

ハマったことメモなど

BOLG依存パッケージアップデート業 2022/07/30

API

Dependency         Current  Latest  Status
credo              1.6.4    1.6.5   Update possible
ecto_sql           3.8.3    3.8.3   Up-to-date
ex_aws             2.3.3    2.3.3   Up-to-date
ex_aws_s3          2.3.3    2.3.3   Up-to-date
gettext            0.19.1   0.20.0  Update possible
hackney            1.18.1   1.18.1  Up-to-date
id_token           0.2.1    0.2.1   Up-to-date
jason              1.3.0    1.3.0   Up-to-date
joken              2.5.0    2.5.0   Up-to-date
logger_json        5.0.0    5.0.0   Up-to-date
mock               0.3.7    0.3.7   Up-to-date
new_relic_agent    1.27.7   1.27.7  Up-to-date
oban               2.12.1   2.13.0  Update not possible
phoenix            1.6.10   1.6.11  Update possible
phoenix_ecto       4.4.0    4.4.0   Up-to-date
phoenix_pubsub     2.1.1    2.1.1   Up-to-date
plug               1.13.6   1.13.6  Up-to-date
plug_cowboy        2.5.2    2.5.2   Up-to-date
postgrex           0.16.3   0.16.4  Update possible
scrivener_ecto     2.7.0    2.7.0   Up-to-date
scrivener_headers  3.2.2    3.2.2   Up-to-date
sitemapper         0.6.0    0.6.0   Up-to-date

credo

Changelog

  • Credo.Check.Readability.LargeNumbersのメッセージにonly_greater_thanの値を追加
  • Phoenix.LiveViewのモジュールはデフォルトで無視
  • 以下のfalse positiveを修正
    • Credo.Check.Refactor.Apply
    • Credo.Check.Refactor.NegatedIsNil
    • Credo.Check.Readability.WithSingleClause

gettext

Changelog

  • 同じ引数でgettext_commentを何度も呼べるように修正
  • POファイルへのフラグのダンプを参照のダンプの後へ移動
  • compile.gettextをdeprecated
  • 非互換
    • handle_missing_translation(locale, domain, msgid, bindings)コールバックの引数に1つ追加
      • handle_missing_translation(locale, domain, msgctxt, msgid, bindings)
    • handle_missing_plural_translation(locale, domain, msgid, msgid_plural, n, bindings)コールバックに引数1つ追加
      • handle_missing_plural_translation(locale, domain, msgctxt, msgid, msgid_plural, n, bindings)

非互換な変更の影響は受けてないので上げてよし。

oban

Release v2.13.0 · sorentwo/oban · GitHub

  • ジョブの戻り値に{:cancel, reason}追加。{:discard, reason}はSoft deprecatedになるけど、使ってないので上げてよし。

phoenix

Changelog

JSクライアントの変更のみ。上げてよし

postgrex

Changelog

  • PGHOSTUNIXソケット対応
  • PostgreSQL 14+のintegerとdecimalでInfinityに対応
  • Table.Readerメタデータにcount追加
  • Elixir v1.15のWarningsに対応

上げてよし。

frontとdashboard

 @types/jest                 ^27.4.1  →   ^28.1.6
 @types/node                ^16.11.7  →   ^18.6.2
 @types/react                ^18.0.7  →  ^18.0.15
 @types/react-dom            ^18.0.0  →   ^18.0.6
 @typescript-eslint/parser   ^5.21.0  →   ^5.31.0
 eslint                      ^8.14.0  →   ^8.20.0
 eslint-config-next           12.1.5  →    12.2.3
 jest                        ~27.5.1  →   ~28.1.3
 prettier                     ^2.6.2  →    ^2.7.1
 sass                        ^1.51.0  →   ^1.54.0
 ts-jest                     ^27.1.4  →   ^28.0.7
 typescript                   ^4.6.3  →    ^4.7.4
 next                        ^12.1.5  →   ^12.2.3
 react                       ^18.0.0  →   ^18.2.0
 react-dom                   ^18.0.0  →   ^18.2.0

 @nuxtjs/composition-api            ^0.32.0  →  ^0.33.0
 @nuxtjs/eslint-config-typescript    ^6.0.1  →  ^10.0.0
 @nuxtjs/eslint-module               ^3.0.2  →   ^3.1.0
 @pinia/testing                     ^0.0.11  →  ^0.0.13
 @types/jest                       ^26.0.23  →  ^28.1.6
 @vue/test-utils                     ^1.3.0  →   ^2.0.2
 eslint                             ^7.32.0  →  ^8.20.0
 eslint-plugin-nuxt                 >=2.0.0  →  >=3.2.0
 eslint-plugin-prettier              ^4.0.0  →   ^4.2.1
 jest                               ^26.6.3  →  ^28.1.3
 nodemon                            ^2.0.15  →  ^2.0.19
 prettier                            ^2.6.0  →   ^2.7.1
 sass                               ^1.49.9  →  ^1.54.0
 sass-loader                        ^10.1.0  →  ^13.0.2
 ts-jest                            ^26.5.6  →  ^28.0.7
 ts-node                            ^10.7.0  →  ^10.9.1
 @pinia/nuxt                         ^0.1.8  →   ^0.3.1
 express                            ^4.17.3  →  ^4.18.1
 express-session                    ^1.17.2  →  ^1.17.3
 firebase                            ^9.6.9  →   ^9.9.1
 http-proxy-middleware               ^2.0.4  →   ^2.0.6
 pinia                              ^2.0.13  →  ^2.0.17
 redis                               ^4.0.4  →   ^4.2.0
 vee-validate                       ^3.4.14  →   ^4.6.2

サボりがちになっていて溜まっており、大変ダルい。minorアプデはポイポイ入れていきます...。