Skip to content

Releases: drasticactions/FishyFlip

3.2.2

13 Jan 07:40
822196d
Compare
Choose a tag to compare

This is a hotfix from 3.2.1. The OAuth log serializer was broken, as I accidentally set it to use the base SourceGenerationContext which would fail since it didn't have those objects. This has been updated, so OAuth with logging should work again.

This also includes a change from @alnkesq to massively improve the performance of decoding CAR repo files. Everything here is in the 3.3 Alpha versions.

What's Changed

Full Changelog: 3.2.1...3.2.2

3.2.1

10 Jan 04:58
be04961
Compare
Choose a tag to compare

This release changes how the Password Token Updates function. Before, it was based on a timer that would run on a set schedule, async to any specific calls you were making. Now, it's handled by a DelegationHandler that will refresh the token when it expires. The events for handling the session updates remain the same, but controlling when the token is "automatically" refreshed has now been deprecated.

This should give much more control for how to handle token refreshes. You can let FishyFlip handle it automatically when it expires, or handle the refresh yourself, but you have the control.

What's Changed

New Contributors

Full Changelog: 3.1.2...3.2.1

3.1.2

27 Dec 06:54
Compare
Choose a tag to compare

This is the first "stable" release of the 3.x branch! 🎉 Seeing the apps people have been making with it (UniSky, DarkSky, and more!), I think it's safe enough to release to a wider audience.

This brings many changes, including a source generated API set through FFSourceGen, making updating the lexicon much faster and keeps APIs consistent.

What's Changed

Full Changelog: 3.0.0...3.1.2

2.1.1

05 Nov 05:30
8552f38
Compare
Choose a tag to compare

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

Full Changelog: 2.1.0...2.1.1

2.1.0

04 Nov 09:07
4261500
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: 2.0.0...2.1.0

2.0.0

19 Oct 01:23
a9877be
Compare
Choose a tag to compare

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

13 Oct 12:43
f3cd825
Compare
Choose a tag to compare
v2.0.0-alpha.53 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v2.0.0-alpha.45...v2.0.0-alpha.53

v2.0.0-alpha.45

27 Sep 02:05
85d0581
Compare
Choose a tag to compare
v2.0.0-alpha.45 Pre-release
Pre-release

What's Changed

Full Changelog: v1.8.80...v2.0.0-alpha.45

v1.8.78

08 Sep 02:36
Compare
Choose a tag to compare
  • 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

Full Changelog: v1.7.56...v1.8.78

v1.8.39-alpha

02 Jun 10:33
edcf2a5
Compare
Choose a tag to compare
v1.8.39-alpha Pre-release
Pre-release
  • 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

Full Changelog: v1.7.56...v1.8.39-alpha