17
12

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ReactiveProperty v7.5.0 をリリースしました

17
Last updated at Posted at 2020-10-19

最近、ビルド・単体テスト・パッケージング・NuGet への公開・GitHub Releases へのひな型作成まで GitHub Actions で自動化できたのでリリースが楽になりました。リリースノートに追加した機能や変更の一覧を自動で書いてくれるようなのも作りたいけど、どうにかできるんだろうか…

ということで v7.5.0 をリリースしました。

リリースノート
NuGet Gallery | ReactiveProperty

今回は 2 つ機能を追加しています。

ObserveProperty, ToReactivePropertyAsSynchronized, FromObject の機能強化

今までは ObservePropertyToReactivePropertyAsSynchronized でプロパティを指定するときに x => x.Name のような指定した変数の直接のプロパティしか対象にできませんでした。今回の更新で x => x.Child.Name のようなネストしたプロパティも指定可能になりました。

これを書いてて ReactiveProperty.FromObject だけ、これに対応するのを忘れていたので近いうちに v7.5.1 で対応します orz

2020/10/20 にリリースした v7.5.1 で ReactiveProperty.FromObject にも対応しました。

IFilteredReadOnlyObservableCollection に ObserveElementPropertyChanged などを追加

コレクションの要素のプロパティの変更を監視するための ObserveElementPropertyChangedObserveElementPropertyObserveElementObservablePropertyIFilteredReadOnlyObservableCollection<T> にも対応させました。

まとめ

ReactiveProperty.FromObject は、ネストしたプロパティにまだ対応していないので気を付けてください orz

ネストしたプロパティへの対応は久しぶりの割とメンドクサイ系の機能追加でしたが、無事実装出来たのでぜひ使ってみてください。問題点等ありましたら GitHub の issues までお願いします。日本語でも OK です。

17
12
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
17
12

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?