diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d414be..be4ff20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +# 0.5.0 +* Using Widget `RobotDetector` to detect google bot etc. `debug` option to enable robot mode even if user agent don't have it. +* `routeObserver` name changed to `seoRouteObserver` +* `TextRenderer` now can have `Text` or `RichText` as `child` or simply `text` as String. if both supplied `text` property will be prioritised. +* `style` property now have `TextRendererStyle` which is Enum, defaults to `TextRendererStyle.paragraph` +* `LinkRenderer` have `text` property instead of `anchorText` and `href` instead of `link` to provide Link. +* `ImageRenderer` can have `src` which is String type and child which can be any `ImageProvider`. `src` will have priority in both them. +* `RenderScrollListener` is removed and scrolls will be automatically handled. +* All thanks to @krokyze, see [PR11](https://github.com/iamSahdeep/seo_renderer/pull/11) + # 0.4.0 * New ScrollAware widget to listen and update renderer widgets without RenderController. see PR #9 diff --git a/README.md b/README.md index 1e8ac8d..13c3bcf 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ All PR's are welcome :) ```yaml dependencies: - seo_renderer: ^0.4.0 + seo_renderer: ^0.5.0 ``` - Get the package from Pub: @@ -153,4 +153,6 @@ This project is created by [Sahdeep Singh](https://github.com/iamSahdeep) > If you appreciate my work you can connect and endorse me on [LinkedIn](https://www.linkedin.com/in/iamsahdeep/) to keep me motivated :) +> Don't forget to check out these [AWESOME contributors](https://github.com/iamSahdeep/seo_renderer/graphs/contributors) + diff --git a/lib/renderers/text_renderer/text_renderer_web.dart b/lib/renderers/text_renderer/text_renderer_web.dart index cb41cb1..122a08a 100644 --- a/lib/renderers/text_renderer/text_renderer_web.dart +++ b/lib/renderers/text_renderer/text_renderer_web.dart @@ -3,8 +3,8 @@ import 'dart:html'; import 'dart:ui' as ui; import 'package:flutter/material.dart'; -import 'package:seo_renderer/helpers/route_aware_state.dart'; import 'package:seo_renderer/helpers/robot_detector_web.dart'; +import 'package:seo_renderer/helpers/route_aware_state.dart'; import 'package:seo_renderer/helpers/size_widget.dart'; import 'package:seo_renderer/renderers/text_renderer/text_renderer_style.dart'; diff --git a/pubspec.yaml b/pubspec.yaml index be9d1fb..7117fac 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: seo_renderer description: A flutter plugin to render text widgets as html for SEO purpose. -version: 0.4.0 +version: 0.5.0 homepage: https://github.com/iamSahdeep/seo_renderer environment: