bluesky_text 0.7.2
bluesky_text: ^0.7.2 copied to clipboard
Provides the easiest and most powerful way to analyze the text for Bluesky Social.
Release Note #
0.7.2 #
- Bump
xrpc.
0.7.1 #
- Exposed
bluesky_text/regex.dart.
0.7.0 #
- Bump
xrpc.
0.6.10 #
- Bump
xrpc.
0.6.9 #
- Bump SDK constraint to '^3.3.0'.
0.6.8 #
- Upgraded
xrpc.
0.6.7 #
- Upgraded
xrpc.
0.6.6 #
- Upgraded
xrpc.
0.6.5 #
- Upgraded
xrpc.
0.6.4 #
- Upgraded
xrpc.
0.6.1 #
- Improved extraction algo for markdown links.
0.5.21 #
- Exposed
.getGraphemeLength.
0.5.20 #
- Upgraded
xrpcpackage.
0.5.19 #
- Exposed
.isEmojiOnlyas a function.
0.5.18 #
- Added
.isEmojiOnlyproperty. It can determine if the text contains only emojis.
0.5.15 #
- Improved markdown extraction algo. You can use as a link if the URL contains markdown symbols, such as
https://wikipedia.com//track/We_Up_(Album_Version_(Edited)).
0.5.14 #
- Hashtag formatted text is not allowed as Markdown.
- Improved the extraction algo for markdown. (#901)
0.5.12 #
0.5.11 #
- Improved handle extraction algorithm. From with this version, the use of spaces as well as URLs is no longer required. (#892)
0.5.10 #
- Fixed to add
https://to markdown URLs when it is not given.
0.5.9 #
- The markdown URL must always contain
.symbol.
0.5.8 #
- Added
enableMarkdownparam onBlueskyText. Defaults totrue.
0.5.7 #
- Fixed a bug regarding byte calculation when detecting markdowns.
0.5.6 #
- Improved entity extraction for unformatted markdown. For example,
[test](https://example.com)extracts entities so thattestcan be highlighted. Facets of this entity cannot be generated with.toFacetsuntil.formatis executed.- Also added
EntityType.markdownLink. If you want to exclude entities in the markdown without being.format, you can filter by this fixed value.
- Also added
0.5.4 #
0.5.3 #
- Supported markdown style links. You can set any links to any text such as
[test](https://foo.com). Be sure to execute.format()to make the link in markdown format recognized as a facet. (#629)
0.5.2 #
- Fixed safer processing when shortening links.
0.5.1 #
- Improved link detection algorithm.
0.5.0 #
- Improved algorithm for detecting links.
- Removed deprecated properties.
.hasHandle.hasNotHandle.hasLink.hasNotLink.hasEntity.hasNotEntity
- Changed property from
int maxGraphemeLengthtobool enableShorteningonLinkConfig.
0.4.4 #
- Improved processing when
.format()is executed. Correct if the original text link does not contain thehttpprotocol.
0.4.3 #
- Added the ability to shorten links detected as facets. You just need to pass
LinkConfigtoBlueskyTextand run.format(). You can get new formattedBlueskyTextthen.
0.4.2 #
- Upgraded
xrpcpackage. Fixed field names for rate limit.
0.4.1 #
- Fixed a bug in which URLs were not detected in specific cases.
0.4.0 #
- Improved algos for
.handles,links, and.entitiesbased on official RichText..handles- The value set to
.valueinEntityno longer contains@ - Domain is now validated based on ICANN TLDs
- The value set to
.links- Links with
http|httpsprefixes omitted are now also detected (such asbsky.app) - Domain is now validated based on ICANN TLDs
- Links with
0.3.2 #
- Fixed a bug that caused a range error if a string shorter than the search symbol (like
https://) existed. (#734)
0.3.0 #
- Drop support for null unsafe Dart, bump SDK constraint to '^3.0.0'. (#599)
- Dart3 modifier applied.
0.2.6 #
- Changed the dependency of the communication process from
atprototoxrpc. (#574) - Added
ignoreInvalidHandleoption totoFacetsinEntitiesandtoFacetinEntity. This flag controls the behavior when the handle is invalid. If true, no exception is thrown if an invalid handle is passed, and the process of creating a facet of the invalid handle is skipped; if false, anInvalidRequestExceptionis thrown if an invalid handle is passed.
0.2.2 #
- Upgraded dependencies.
0.2.1 #
- Added
getCustomEntitiesmethod. You can easily generate original facets, etc. by extracting entities from the text that are not officially provided. (#419)
0.1.1 #
- Fixed
toFacetandtoFacetsto exclude invalid handles from the result when they are called. (#354)
0.1.0 #
- Added some utilities. And changed return object from
handles,linksandentitiestoEntities. (#347)isHandleinEntityisLinkinEntityisLinkinEntityEntitiesobject, and you can easily get facet collection by usingtoFacets
- The following characters have been added as entity terminators. (#352)
\n\n\r- full-width space
0.0.1 #
- First Release!