Releases: luabagg/orcgen
Downgrade rod version and add alias
Changes:
-
Downgrade latest go-rod version to 0.116.0 - issues found in the release: go-rod/rod#1123
-
Add aliases to main package:
v2.0.1
Fixes package versioning - imports updated to v2 according to the Go pkg standards.
Full Changelog: v2.0.0...v2.0.1
Orcgen v2 - simpler and more configurable package
Makes the implementation of the package much simpler, and enables configurations using rod.
Changes:
- pkg dir now contains 3 main parts:
- fileinfo: a struct to standardize the returns / file saves.
- handlers: the implementations of the page file save functionality (PDF / Screenshots).
- webdriver: simple wrapper over rod library.
New flow:
The user must first initialize a rod's Page instance. It can be done using the webdriver struct. The user can also configure the timeouts or other Browser options.
Then the user must instantiate a handler, and can optionally change the default configuration.
After this, the user can use the handler directly, calling GenerateFile. It returns a Fileinfo struct, that can be used to access the content and / or save a file.
What's Changed
New Contributors
Full Changelog: v1.1.2...v2.0.0
v1.1.2
Small fixes in go docs.
Full Changelog: https://github.com/luabagg/orcgen/commits/v1.1.2
v1.1.1
Fix project structure:
Now it's possible to import using only github.com/luabagg/orcgen.
Full Changelog: https://github.com/luabagg/orcgen/commits/v1.1.1
v1.0.0
First release;
Next steps are adding tests and documentation.
Full Changelog: https://github.com/luabagg/orcgen/commits/v1.0.0