Releases: drasticactions/FishyFlip
2.1.1
Hotfix for the Firehose breaking. If you're using the Firehose and saw it break with a OutOfRange
exception, this should fix it.
What's Changed
- Making Seq long by @drasticactions in #83
- Codeflow to Main by @drasticactions in #84
Full Changelog: 2.1.0...2.1.1
2.1.0
I am still working on automating this release note process, and not screwing up the GitFlow versioning, so pardon the dust.
This includes some new helper methods for facets, as talked about in #68:
var postText = "@drasticactions.dev This is a #test #test of #testing the #FishyFlip #API. https://github.com/drasticactions DAHome. @drasticactions.jp https://github.com/drasticactions/FishyFlip @drasticactions.dev Weee!";
var postHandles = ATHandle.FromPostText(postText);
var feedProfiles = (await atProtocol.Actor.GetProfilesAsync(postHandles)).HandleResult();
var handleFacets = Facet.ForMentions(postText, feedProfiles!.Profiles!);
var hashtagFacets = Facet.ForHashtags(postText);
var uriFacets = Facet.ForUris(postText);
var baseUriFacets = Facet.ForUris(postText, "DAHome", "https://github.com/drasticactions");
var facets = handleFacets.Concat(hashtagFacets).Concat(uriFacets).Concat(baseUriFacets).ToArray();
var result = (await atProtocol.Repo.CreatePostAsync(postText, facets)).HandleResult();
There are also some bug fixes for missing parameters and items from the lexicon.
What's Changed
- Update tests by @drasticactions in #64
- Add missing fields to ThreadView/PostView by @drasticactions in #69
- Publish Alpha Nugets from Develop Branch. by @drasticactions in #70
- Publish Alpha NuGet to NuGet... by @drasticactions in #71
- Add more helper methods for facets by @drasticactions in #73
- Add MarkdownPost by @drasticactions in #74
- Add missing fields by @drasticactions in #75
- Update deprecated fields by @PassiveModding in #76
New Contributors
- @PassiveModding made their first contribution in #76
Full Changelog: 2.0.0...2.1.0
2.0.0
What's Changed
On top of bug fixes, dependency updates and general performance improvement, this release adds two major features.
OAuth
OAuth support is the future of authentication for Bluesky/ATProtocol. Documentation is available here.
IMPORTANT
In order to support OAuth, I had to introduce breaking changes for the current authentication paths. While the original endpoints for authentication are still available, they will no longer automatically log you in during a session, and have been set as Obsolete. To continue logging in with App Passwords, use protocol.AuthenticateWithPasswordAsync
. For most workflows this should be a drop in replacement.
Jetstream
Jetstream is a new way of accessing the ATProtocol Firehose, using Websockets to send back JSON objects instead of CBORs. This makes it far easier to consume. Setting it up is similar to the Firehose.
var debugLog = new DebugLoggerProvider();
// You can set a custom url with WithInstanceUrl
var jetstreamBuilder = new ATJetStreamBuilder()
.WithLogger(debugLog.CreateLogger("FishyFlipDebug"));
var atWebProtocol = jetstreamBuilder.Build();
atWebProtocol.OnConnectionUpdated += (sender, args) =>
{
Console.WriteLine($"Connection Updated: {args.State}");
};
atWebProtocol.OnRecordReceived += (sender, args) =>
{
Console.WriteLine($"Record Received: {args.Record.Type}");
};
await atWebProtocol.ConnectAsync();
var key = Console.ReadKey();
await atWebProtocol.CloseAsync();
In many cases, you may be able to switch to Jetstream as a drop in replacement for existing Firehose, while accessing more of the object types exposed.
Full Changelog: v1.8.80...2.0.0
v2.0.0-alpha.53
What's Changed
- Make CreateSessionAsync internal by @drasticactions in #60
- Add Obsolete Tag for CreateSessionAsync, Update Tests by @drasticactions in #61
- GetPostThread Fixed wrong default for depth and added parentHeight by @vinimk in #62
- Added videoSupport to recordviewEmbed by @vinimk in #63
- Update tests by @drasticactions in #64
New Contributors
Full Changelog: v2.0.0-alpha.45...v2.0.0-alpha.53
v2.0.0-alpha.45
What's Changed
- Code flow into main... by @drasticactions in #54
- Update PasswordSession Schema to include session by @drasticactions in #55
- Add JetStream support by @drasticactions in #56
- Add AutomaticDecompression to default httpclient by @drasticactions in #58
Full Changelog: v1.8.80...v2.0.0-alpha.45
v1.8.78
- Adds
Video
Lexicon tags.
** NOTE **
Bluesky is currently working on enabling OAuth support, with basic functions running at the time of this message. The Password/App Password authentication paths will be deprecated, resulting in new obsolete tags being added and potentially breaking changes.
This will happen in v1.9+ versions.
What's Changed
- Bump Microsoft.Testing.Extensions.CodeCoverage from 17.10.1 to 17.10.3 by @dependabot in #41
- Bump MSTest from 3.2.0 to 3.2.2 by @dependabot in #42
- Bump Microsoft.Testing.Extensions.CodeCoverage from 17.10.3 to 17.10.4 by @dependabot in #43
- Bump System.IdentityModel.Tokens.Jwt from 7.4.1 to 7.5.0 by @dependabot in #44
- Bump System.IdentityModel.Tokens.Jwt from 7.5.0 to 7.5.1 by @dependabot in #47
- Bump MSTest from 3.2.2 to 3.3.1 by @dependabot in #48
- Bump System.IdentityModel.Tokens.Jwt from 7.5.1 to 7.5.2 by @dependabot in #50
- Report WebSocket failures to OnConnectionUpdated handler by @FineTralfazz in #51
New Contributors
- @FineTralfazz made their first contribution in #51
Full Changelog: v1.7.56...v1.8.78
v1.8.39-alpha
- Experimental support for WhiteWindBlog
- Partial support for Chat. Most endpoints should be implemented, but more testing needs to be done. YMMV. Please try and report back for missing features and bugs.
What's Changed
- Bump Microsoft.Testing.Extensions.CodeCoverage from 17.10.1 to 17.10.3 by @dependabot in #41
- Bump MSTest from 3.2.0 to 3.2.2 by @dependabot in #42
- Bump Microsoft.Testing.Extensions.CodeCoverage from 17.10.3 to 17.10.4 by @dependabot in #43
- Bump System.IdentityModel.Tokens.Jwt from 7.4.1 to 7.5.0 by @dependabot in #44
- Bump System.IdentityModel.Tokens.Jwt from 7.5.0 to 7.5.1 by @dependabot in #47
- Bump MSTest from 3.2.2 to 3.3.1 by @dependabot in #48
- Bump System.IdentityModel.Tokens.Jwt from 7.5.1 to 7.5.2 by @dependabot in #50
- Report WebSocket failures to OnConnectionUpdated handler by @FineTralfazz in #51
New Contributors
- @FineTralfazz made their first contribution in #51
Full Changelog: v1.7.56...v1.8.39-alpha
v1.7.56
This is the first version to support NativeAOT. You may see some trimming warnings from PeterO.Cbor but it should work for the needs of FishyFlip.
This is also the first version to support netstandard2.0
.
What's Changed
- Enable NativeAOT, add more docs. by @drasticactions in #26
- Enable bskycli builds by @drasticactions in #27
- Bump Microsoft.NET.Test.Sdk from 17.8.0 to 17.9.0 by @dependabot in #28
- Bump xunit from 2.6.6 to 2.7.0 by @dependabot in #31
- Bump xunit.runner.visualstudio from 2.5.6 to 2.5.7 by @dependabot in #32
- Bump coverlet.collector from 6.0.0 to 6.0.1 by @dependabot in #35
- Bump System.IdentityModel.Tokens.Jwt from 7.3.1 to 7.4.0 by @dependabot in #36
- Bump System.Text.Json from 8.0.2 to 8.0.3 by @dependabot in #40
- Bump Microsoft.Extensions.Logging.Abstractions from 8.0.0 to 8.0.1 by @dependabot in #39
- Bump System.IdentityModel.Tokens.Jwt from 7.4.0 to 7.4.1 by @dependabot in #38
- Bump coverlet.collector from 6.0.1 to 6.0.2 by @dependabot in #37
Full Changelog: v1.6.16...v1.7.56
1.6.16
What's Changed
- Bump PeterO.Cbor from 4.5.2 to 4.5.3 by @dependabot in #21
- Bump StyleCop.Analyzers from 1.2.0-beta.435 to 1.2.0-beta.556 by @dependabot in #22
- Bump Microsoft.NET.Test.Sdk from 17.6.0 to 17.8.0 by @dependabot in #23
- Bump IpfsShipyard.Ipfs.Core from 0.0.5 to 0.1.0 by @dependabot in #24
- Bump System.IdentityModel.Tokens.Jwt from 7.2.0 to 7.3.1 by @dependabot in #25
Full Changelog: 1.5.25...v1.6.16
1.5.25
Add New Endpoint support, including
GetActorFeeds
GetSuggestedFeeds
ListBlobs
SearchPosts
What's Changed
- Bump xunit.runner.visualstudio from 2.4.5 to 2.5.6 by @dependabot in #20
- Bump coverlet.collector from 3.2.0 to 6.0.0 by @dependabot in #19
- Bump Microsoft.Extensions.Logging.Abstractions from 7.0.1 to 8.0.0 by @dependabot in #18
- Bump xunit from 2.4.2 to 2.6.6 by @dependabot in #17
- Bump Microsoft.Extensions.DependencyInjection from 7.0.0 to 8.0.0 by @dependabot in #16
Full Changelog: 1.4...1.5.25