From ed76f2d90a6051f801654406375b6107b8dc9e99 Mon Sep 17 00:00:00 2001 From: "Jules Sam. Randolph" Date: Mon, 8 Feb 2021 17:19:55 -0300 Subject: [PATCH] chore: release @native-html/table-plugin@5.0.0 --- packages/table-plugin/CHANGELOG.md | 19 +++++++++++++++++++ packages/table-plugin/package.json | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/packages/table-plugin/CHANGELOG.md b/packages/table-plugin/CHANGELOG.md index 2dcc759..cdc2ac2 100644 --- a/packages/table-plugin/CHANGELOG.md +++ b/packages/table-plugin/CHANGELOG.md @@ -1,3 +1,22 @@ +# [5.0.0](https://github.com/native-html/plugins/compare/@native-html/table-plugin@4.0.3...@native-html/table-plugin@5.0.0) (2021-02-08) + + +### Features + +* **table-plugin:** automatically handle relative URLs ([000b9b4](https://github.com/native-html/plugins/commit/000b9b44de3adb924901bee7fa131542af2b4bc4)) + + +### BREAKING CHANGES + +* **table-plugin:** `sourceBaseUrl` has been moved from `TableConfig` to +`HTMLTableBaseProps`. It means you cannot override this value with +`renderersProps.table.sourceBaseUrl` anymore. Use a custom renderer with +`useHtmlTableProps` hook and HTMLTable component to override this value +manually, but you probably shouldn't since the new foundry engines +allows it automatically. If your html source is inline, use +`source.baseUrl` instead, so that every relative URL will be normalized +against this base. Read https://git.io/JtwG0 for a detailed description. + ## [4.0.3](https://github.com/native-html/plugins/compare/@native-html/table-plugin@4.0.2...@native-html/table-plugin@4.0.3) (2021-02-07) ## [4.0.2](https://github.com/native-html/plugins/compare/@native-html/table-plugin@4.0.1...@native-html/table-plugin@4.0.2) (2021-02-07) diff --git a/packages/table-plugin/package.json b/packages/table-plugin/package.json index eaacf94..15ce6ae 100644 --- a/packages/table-plugin/package.json +++ b/packages/table-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@native-html/table-plugin", - "version": "4.0.3", + "version": "5.0.0", "description": "🔠 A WebView-based plugin to render tables in react-native-render-html", "main": "lib/commonjs/index.js", "module": "lib/module/index.js",