Skip to content

v5.0.1 - Full Text Formatting

Compare
Choose a tag to compare
@tibetsprague tibetsprague released this 20 Jan 23:02
· 415 commits to dev since this release

Added

  • Post#LinkPreviewFeatured to indicate if a LinkPreview should be given precedence in the UI when displaying post
  • All parsing of Post#details and Comment#text HTML is now handled here and nowhere else, moving and refactoring presentHTML from hylo-shared to support new TipTap editor formatting, and consolidating similar functions from hylo-evo all and here all into RichText
  • Support for Post "Collections" which are a curated set of posts. New collections and collections_posts tables.
  • CustomViews can now be of type 'collection' and point to a collection_id. When this is the case the Collection name will always be the same as the CustomView.
  • CustomViews can now have a default sort specified.
  • Much better inline documentation of our GraphQL APIs using Graphiql or other graphql doc viewers.

Changed

  • Updates LinkPreview scrapping to be more rich and somewhat more reliable
  • Updates all notification email and push notifications to work with new RichText handling, fixing/improving some results
  • Deprecates use of linkifyjs for autolinker for link recognition in HTML, and cheerio for jsdom for parsing
  • Replace 'express-graphql' library with 'graphql-yoga'. Back-end errors are now returned to the front-end with generic text of 'Unknown Error', except when explicitly specified in the back-end by throwing a GraphQLYogaError object.

Fixed

  • Update hylo-shared to fix bug in Mention HTMl generation