Releases: mrWh1te/Botmation
Repackage
The main botmation v3 package has been repackaged and released as @botmation/core v1.0 with one major change, it supports the latest Puppeteer v7.1.x.
This is part of a major refactor of the Botmation repo with Nx. This refactor reduces code requirements by simplifing the process of building and publishing (core & auxiliary) packages.
Two new auxiliary packages, @botmation/instagram and @botmation/linkedin, have been built and published on npm. They work with Core's functions to provide unique functions specific to those sites.
In conclusion, the main botmation
package v3 is replaced with @botmation/core
. Please update your project's Puppeteer
to the latest version 7, remove @types/puppeteer
from your project (Puppeteer comes with its own TS types as of v6) and replace the botmation
package with @botmation/core
.
If you have any troubles upgrading, file an Issue or reach out on Discord: Glitchseekers.
v3.0.0
Working with latest Puppeteer version 5.
Features
- Resolved a blocking issue with E2E testing
- Slimmer package size
- Unpacked 2.57MB -> 450kB
- Botmation Documentation updated
v2.1.0
This release includes a slight refactor to all BotAction's that assemble other BotAction's due to the newly added support for an Aborting signal #36 #66
Also, this includes another new type of BotAction called Scrapers for scraping the web page. It uses an agnostic HTML parser and therefore can be overridden with any HTML parsing function. The scrapers work by copying the outerHTML
property from the HTML node element that matches the given selector.
Yet, the best is saved for last, this release includes new BotAction's Switch Pipe, Pipe Case and Pipe Cases for more elaborate branching logic. It's possible to incorporate Abort with the three above to create a functional code block similar to the switch, case and break code block.
All this to support a new LinkedIn Feed BotAction likeUserPostsFrom() that scrapes the feed, while causing it too lazily load unfinished feed posts, to click the "Like" button of posts published by certain people from a names list.
Looking forward to supporting other Sites, while Botmation moves towards publishing separate npm packages for each site specific domain.
2.0.1
New Docs Site has been published!
It's up to par and more from what was existing in the original README.md docs. It will be expanded upon with Tutorial, and examples of each BotAction, etc
No source code changes. This is simply a docs update.
v2.0.0
Simplifies BotAction
's parameters, standardizes the injects
system, adds an ability to Pipe, replaces Factories
with Assembly Lines
and increased test coverage to 100% 🥳
--> Sync functions composing async functionality <--
Included:
- A fully composable design
- 6 new types of
BotAction
's- Local Storage, IndexedDB, Error Handling, PDF generating, etc.
- 100% test coverage
Install:
$ npm install botmation@2.0.0
npmjs ready
Initial Library Release
back to relative linking in the bots code - fix dist webpack