Skip to content

2.1.0

Compare
Choose a tag to compare
@drasticactions drasticactions released this 04 Nov 09:07
· 6 commits to develop since this release
4261500

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