简体   繁体   English

System.ValueTuple 4.4.0 -> 4.5.0 有什么变化?

[英]What changed in System.ValueTuple 4.4.0 -> 4.5.0?

I consider updating my System.ValueTuple references from 4.4.0 to (current) 4.5.0.我考虑将我的System.ValueTuple引用从 4.4.0 更新到(当前)4.5.0。

To avoid regressions, I'd like to find out what changed between those two releases.为了避免回归,我想找出这两个版本之间发生了什么变化。 The nuget page says: nuget 页面说:

Release Notes发行说明

https://go.microsoft.com/fwlink/?LinkID=799421 https://go.microsoft.com/fwlink/?LinkID=799421

which links to the .NET Core github repository.它链接到 .NET Core github 存储库。

Is the "Release Notes" link broken or does the .NET Core github repository actually contain the changelog for System.ValueTuple ? “发行说明”链接是否已损坏,或者 .NET Core github 存储库是否实际包含System.ValueTuple的更改日志? If the latter, where exactly is it?如果是后者,具体在哪里? I tried searching for System.ValueTuple in the repository , which yields a few results but did not help me find the changes between version 4.4.0 and 4.5.0.我尝试在存储库中搜索System.ValueTuple ,它产生了一些结果,但没有帮助我找到 4.4.0 和 4.5.0 版本之间的更改。

The sourcecode for System.ValueTuple can be found here . System.ValueTuple 的源代码可以在这里找到。

According to the Nuget-History , Version 4.4.0 was released on 09.08.2017 and 4.5.0 was released on 29.05.2018.根据Nuget-History ,4.4.0 版于2017年 8 月 9 日发布,4.5.0 版于2018 年 5 月 29日发布。

So, according to the git history, this is the only commit that has been made within this timeframe (fixing a documentation typo):因此,根据 git 历史记录, 是在此时间范围内进行的唯一提交(修复文档错字):

  public T1 Item1;

  /// <summary>
- /// The current <see cref="ValueTuple{T1, T2}"/> instance's first component.
+ /// The current <see cref="ValueTuple{T1, T2}"/> instance's second component.
  /// </summary>
  public T2 Item2;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM