All notable changes to Tweet UI project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Updating photo_view dependency to 0.14.0
- Added videoPlaceholder for custom the video placeholder
- Fixed url launcher deprecation - use canLaunchUrl and launchUrl instead of canLaunch and launch
- Added videoControlBarBgColor for edit the video player control bar background
- Added an option to autoplay videos
- Added an option to disable fullscreen in video
- Added the ability to show the number of tweet replies on each tweet
- [BREAKING] - Change onTapImage to OnTapImage to remove analyser warning
- Updating ios version for example project to 11 to support better player
- Regenerating example project with flutter create command
- [BREAKING] - removed
useVideoPlayer
- now betterplayer will be used in a Tweet containing a video - unused video_player dependency
- lock file from repository - adding it to gitignore
- Adding android:exported="true" to example app to be able to run it on Android 12
- Added support for single tweet in data response (e.g. from GET /2/tweets/:id endpoint)
- Fix retweet in Twitter API V2
- updated url_launcher
- Update SDK and Flutter versions
- Update Android SDK versions
- Update cached_network_image, video_player, better_player, photo_view, url_launcher
- Added alpha version of support for Twitter API V2
- [BREAKING] - Changing Tweet to TweetV1Response, changing fromTweet to fromTweetV1
- Adding dependencies for: build_runner, json_serializable and json_annotation
- Added new DTOs for Twitter V2 objects
- Adding converter from Twitter V2 object to TweetVM
- Adding factory constructors for TweetView, CompactTweetView and EmbeddedTweetView that accept API V2 model
- Added example json files for Twitter API V2
- Updated README with Twitter API V2 examples
- Updated photo_view
- Moved prerelase nullsafety version as a regular release
- Updated cached_network_image, html_unescape
- Fix formatting
- Fix formatting
- Migrated to nullsafety with Dart 2.12
- Fixed Textoverflow in
RetweetInformation
- Update better_player
- Removed chewie as a video/gif player
- Added betterplayer as a video/gif player
- Update cached_network_image, video_player, photo_view, url_launcher
- Upgrading pre 1.12 Android example project
- Fix formatting
- BREAKING!!! Changed the logic for parsing/presenting a Tweet, when a Retweet is present in the JSON.
For more information, check
TweetVM.fromApiModel
and_originalTweetOrRetweet()
in thetweet_vm.dart
file. #49 - Update cached_network_image, video_player, photo_view, url_launcher, html_unescape
- Respect favorited value in EmbeddedTweetView #52
- Fix formating
- Update video_player and url_launcher
- Improve documentation
- Fix formating
- Fix formating
- Fix formating
- Update video_player and url_launcher
- Improve documentation
- Fix formating
- Fix formating
- Fix formating
- Update video_player and url_launcher
- Improve documentation
- Fix formating
- Update video_player and url_launcher
- Improve documentation
- Fix formating
- Added
videoPlayerInitialVolume
option to TweetView, CompactTweetView and EmbeddedTweetView allowing to set an initial volume when the Tweet has a video. The default value is set to 0.0 #33
- Fixed bug when Tweet had not text #32
- Updated example app
- Added some overflow behaviour to Text widgets, so the Tweet's look better on small devices.
- Updated video_player, cached_network_image
- Updated description
- Added support for retweets in TweetView, CompactTweetView and EmbeddedTweetView #29
- Updated video_player, photo_view, url_launcher, cached_network_image
- Fixed not clickable user links in EmbeddedTweetView
- BREAKING!!! Changed the logic for formatting tweet texts. Often tweets have a link at the end in the JSON response. As a quick solution previously we
ommited the last Entity which was usualy URL. This was a bad approach. Now we respect the
display_text_range
field in a tweet JSON which indicates what substring of the tweet text should be diplayed. More info can be found here TLDR; If you see an unwanted URL at the end of a tweet text, provide a tweet JSON wirth adisplay_text_range
field.
- Added new and modern looking tweet type: embedded tweet (class EmbeddedTweetView)
- Fixed tweet text formatting with one mention (or other entity) #24
- Updated video_player, photo_view, url_launcher, chewie
- Updates JSON examples
- Added possibility to change the created timestamp date format.
- Converting time when tweet was created to local time.
- Added displaying time when tweet was created. For now only 24H format
- Updated intl, video_player, photo_view
- Fixed default tweet text color when entities array was empty
- Updated cached_network_image, video_player and url_launcher
- Updated JSON examples
- Updated cached_network_image, video_player, photo_view and url_launcher
- Revert updating cached_network_image, photo_view packages
(version bump)
- Fix cached_network_image and photo_view dependency version range
- Updated cached_network_image, photo_view, url_launcher packages
- Updated cached_network_image, video_player, chewie, photo_view, url_launcher packages
- Updated JSON examples
- Updated video_player, chewie and photo_view packages
- Updated video_player and intl packages
- Custom onTapImage callback
- Standard, compact and quote Tweet views
- Support for 1, 2, 3, 4 photos, GIFs (which are .mp4 files in the Twitter API) and videos.
- Showing if a user is verified
- Opening links to user profile, symbols, hashtags, mentions and URLs, tweet, quote tweet