bluesky_text 0.5.4 bluesky_text: ^0.5.4 copied to clipboard
Provides the easiest and most powerful way to analyze the text on Bluesky Social.
Release Note #
v0.5.4 #
v0.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)
v0.5.2 #
- Fixed safer processing when shortening links.
v0.5.1 #
- Improved link detection algorithm.
v0.5.0 #
- Improved algorithm for detecting links.
- Removed deprecated properties.
.hasHandle
.hasNotHandle
.hasLink
.hasNotLink
.hasEntity
.hasNotEntity
- Changed property from
int maxGraphemeLength
tobool enableShortening
onLinkConfig
.
v0.4.4 #
- Improved processing when
.format()
is executed. Correct if the original text link does not contain thehttp
protocol.
v0.4.3 #
- Added the ability to shorten links detected as facets. You just need to pass
LinkConfig
toBlueskyText
and run.format()
. You can get new formattedBlueskyText
then.
v0.4.2 #
- Upgraded
xrpc
package. Fixed field names for rate limit.
v0.4.1 #
- Fixed a bug in which URLs were not detected in specific cases.
v0.4.0 #
- Improved algos for
.handles
,links
, and.entities
based on official RichText..handles
- The value set to
.value
inEntity
no longer contains@
- Domain is now validated based on ICANN TLDs
- The value set to
.links
- Links with
http|https
prefixes omitted are now also detected (such asbsky.app
) - Domain is now validated based on ICANN TLDs
- Links with
v0.3.2 #
- Fixed a bug that caused a range error if a string shorter than the search symbol (like
https://
) existed. (#734)
v0.3.0 #
- Drop support for null unsafe Dart, bump SDK constraint to '^3.0.0'. (#599)
- Dart3 modifier applied.
v0.2.6 #
- Changed the dependency of the communication process from
atproto
toxrpc
. (#574) - Added
ignoreInvalidHandle
option totoFacets
inEntities
andtoFacet
inEntity
. 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, anInvlidRequestException
is thrown if an invalid handle is passed.
v0.2.2 #
- Upgraded dependencies.
v0.2.1 #
- Added
getCustomEntities
method. You can easily generate original facets, etc. by extracting entities from the text that are not officially provided. (#419)
v0.1.1 #
- Fixed
toFacet
andtoFacets
to exclude invalid handles from the result when they are called. (#354)
v0.1.0 #
- Added some utilities. And changed return object from
handles
,links
andentities
toEntities
. (#347)isHandle
inEntity
isLink
inEntity
isLink
inEntity
Entities
object, 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
v0.0.1 #
- First Release!