diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 66ea638..a24404f 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,33 +1,35 @@ # Changelog -### [3.0.5](https://github.com/obetomuniz/tatooine/compare/3.0.4...3.0.5) (2023-03-24) - +## [3.1.0](https://github.com/obetomuniz/tatooine/compare/3.0.5...3.1.0) (2023-03-27) ### Features -* **conditions:** Introduce that allows filter results expected based in some operations. Close [#346](https://github.com/obetomuniz/tatooine/issues/346) ([d833200](https://github.com/obetomuniz/tatooine/commit/d8332005f9627b3c16ca304b50edf8ac59a18b50)) +- **plugins:** Add support to plugins. ([5dcf4d3](https://github.com/obetomuniz/tatooine/commit/5dcf4d35146f27e9fae03b3ba16cacbd1361567d)) +- **conditions:** Move `conditions` previously added as a core feature t the new plugins architecture. ([5dcf4d3](https://github.com/obetomuniz/tatooine/commit/5dcf4d35146f27e9fae03b3ba16cacbd1361567d)) +### [3.0.5](https://github.com/obetomuniz/tatooine/compare/3.0.4...3.0.5) (2023-03-24) + +### Features + +- **conditions:** Introduce that allows filter results expected based in some operations. Close [#346](https://github.com/obetomuniz/tatooine/issues/346) ([d833200](https://github.com/obetomuniz/tatooine/commit/d8332005f9627b3c16ca304b50edf8ac59a18b50)) ### Bug Fixes -* **docs:** Add SPA engine to docs ([123b486](https://github.com/obetomuniz/tatooine/commit/123b486c07a98c0cf75242013f830eea1020a4bf)) -* Improve project description ([2063478](https://github.com/obetomuniz/tatooine/commit/20634786a9869012ce7c9644d7aa7e9a3e360e2c)) +- **docs:** Add SPA engine to docs ([123b486](https://github.com/obetomuniz/tatooine/commit/123b486c07a98c0cf75242013f830eea1020a4bf)) +- Improve project description ([2063478](https://github.com/obetomuniz/tatooine/commit/20634786a9869012ce7c9644d7aa7e9a3e360e2c)) ### [3.0.4](https://github.com/obetomuniz/tatooine/compare/3.0.3...3.0.4) (2023-03-24) - ### Features -* Support setup headless and HTTP requests. Introduce SPA Engine. Improve typings. Update docs. ([4eb708c](https://github.com/obetomuniz/tatooine/commit/4eb708c2d474c21eb043fe779068c16427dffa70)) - +- Support setup headless and HTTP requests. Introduce SPA Engine. Improve typings. Update docs. ([4eb708c](https://github.com/obetomuniz/tatooine/commit/4eb708c2d474c21eb043fe779068c16427dffa70)) ### Bug Fixes -* **docs:** Improve package description. Add NPM package.json description. ([1f34382](https://github.com/obetomuniz/tatooine/commit/1f34382fc939a22ccb3c60266490baf545f9f826)) +- **docs:** Improve package description. Add NPM package.json description. ([1f34382](https://github.com/obetomuniz/tatooine/commit/1f34382fc939a22ccb3c60266490baf545f9f826)) ### 3.0.3 (2023-03-24) - ### Features -* **release:** Introduce release-it to help with releasing management ([7ca785f](https://github.com/obetomuniz/tatooine/commit/7ca785fffe09981d93a2adc8e4ec4856f6943821)) \ No newline at end of file +- **release:** Introduce release-it to help with releasing management ([7ca785f](https://github.com/obetomuniz/tatooine/commit/7ca785fffe09981d93a2adc8e4ec4856f6943821)) diff --git a/docs/XML.md b/docs/XML.md index 5b80ccc..ef1b79c 100644 --- a/docs/XML.md +++ b/docs/XML.md @@ -17,11 +17,13 @@ import { scrapeXml } from "tatooine" const xmlUrl = "https://example.com/feed.xml" const xmlData = await scrapeXml(xmlUrl, { - title: { - selector: "//channel/title", - }, - description: { - selector: "//channel/description", + selectors: { + title: { + selector: "//channel/title", + }, + description: { + selector: "//channel/description", + }, }, }) diff --git a/package-lock.json b/package-lock.json index e0f29a0..8d41d67 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "tatooine", - "version": "3.0.5", + "version": "3.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "tatooine", - "version": "3.0.5", + "version": "3.1.0", "license": "MIT", "dependencies": { "axios": "^1.3.4", diff --git a/package.json b/package.json index f5ef465..2c7eec2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tatooine", - "version": "3.0.5", + "version": "3.1.0", "description": "A powerful scraper for JavaScript Developers", "directories": { "doc": "docs",