Skip to content

Releases: drasticactions/FishyFlip

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

v1.7.56

18 Mar 10:52
Compare
Choose a tag to compare

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

Full Changelog: v1.6.16...v1.7.56

1.6.16

08 Feb 13:38
Compare
Choose a tag to compare

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

17 Jan 14:00
Compare
Choose a tag to compare

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