Skip to content

Commit

Permalink
v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
iamSahdeep committed Feb 23, 2022
1 parent 7641e71 commit f419653
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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)
<img src="https://cdn-images-1.medium.com/max/1200/1*2yFbiGdcACiuLGo4dMKmJw.jpeg" width="90" height="35">
2 changes: 1 addition & 1 deletion lib/renderers/text_renderer/text_renderer_web.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit f419653

Please sign in to comment.