Skip to content

Commit

Permalink
Merge branch 'develop' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
upsilon committed Feb 4, 2022
2 parents d9b8a02 + 008afa8 commit 73ae7c1
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 18 deletions.
12 changes: 12 additions & 0 deletions OpenTween.Tests/TweetExtractorTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,18 @@ public void ExtractEmojiEntities_Unicode12Test()
Assert.Equal("https://twemoji.maxcdn.com/2/72x72/1f9c5.png", entity.Url);
}

[Fact]
public void ExtractEmojiEntities_Unicode13Test()
{
// Unicode 13.0 で追加された絵文字
var origText = "🥷"; // U+1F977 (NINJA)
var entity = TweetExtractor.ExtractEmojiEntities(origText).Single();

Assert.Equal(new[] { 0, 1 }, entity.Indices);
Assert.Equal("🥷", entity.Text);
Assert.Equal("https://twemoji.maxcdn.com/2/72x72/1f977.png", entity.Url);
}

[Fact]
public void ExtractEmojiEntities_EmojiModifiers_CombiningTest()
{
Expand Down
2 changes: 1 addition & 1 deletion OpenTween/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// 次の GUID は、このプロジェクトが COM に公開される場合の、typelib の ID です
[assembly: Guid("2d0ae0ba-adac-49a2-9b10-26fd69e695bf")]

[assembly: AssemblyVersion("2.4.3.1")]
[assembly: AssemblyVersion("2.5.0.0")]

[assembly: InternalsVisibleTo("OpenTween.Tests")]
[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")] // for Moq
28 changes: 13 additions & 15 deletions OpenTween/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion OpenTween/Resources/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
更新履歴

==== Ver 2.4.4-dev(2019/xx/xx)
==== Ver 2.5.0(2022/02/05)
* NEW: アカウント追加時の認可URLを右クリックでコピー可能にしました
* NEW: Twemoji 13.1 に対応しました
- Unicode 13.0 で追加された絵文字が表示されるようになります
* CHG: pic.twitter.com の画像URLのフォーマット変更に対応
* CHG: Instagramのサムネイルを表示するURLのパターンを追加
* CHG: YouTubeのサムネイルを表示するURLのパターンを追加 (thx @Hawklaver!)
Expand Down
Loading

0 comments on commit 73ae7c1

Please sign in to comment.