Releases
v1.3.0
1.3.0 (2025-01-21)
Features
repo: add a class to mock http requests with use of moq (94d70bc )
repo: add a fromCredentials static method, and a webhook verifier method (dd1bd68 )
repo: add ability to override base url, with tests (e16e7dd )
repo: add ability to use Render() and RenderAsync() with a dictionary instead of UrlboxOptions (03d5747 )
repo: add an extension method for DI easy injectionwhich takes an IOptions (UrlboxConfig) (9ff0180 )
repo: add contribution guide including how to set env vars for test (82f2f43 )
repo: add deployment workflow less deploy step (7bb4b5c )
repo: add docbblocks to methods (3eda4ec )
repo: add example for fail on options (ef4c30d )
repo: add final enum types to options (6af28dd )
repo: add gh test running workflow (a5a8305 )
repo: add helper methods takemp4 takepdf takewithmeta takemobile and takefullpage (70d2003 )
repo: add in a new project showing example and webhooks (589d6d9 )
repo: add in push to nuget (881a40c )
repo: add in tests for validating screenshot options (ac9af6f )
repo: add internal constructor for testing, which allows mocking http client (65d1f12 )
repo: add metadata/side renders as types to sync response, with resource tests and test for deserializer in render() (d093059 )
repo: add partial class to implement constructor for the quicktype generated urlboxoptions class (504bd1a )
repo: add section on render links and the api reference in readme: (5cb10b9 )
repo: add signed and unsigned variants of render link calls (68fb56f )
repo: add tests for getstatus (13fbb50 )
repo: add tests for render and render async endpoints for success and failure cases (a33a6db )
repo: add trivial change to test actions (3363422 )
repo: add webhook secret to Urlbox overload, and urlbox api endpoint CONSTS (70a4a70 )
repo: create an options builder for fluent options creation, with validation (b22f1e9 )
repo: create Urlbox interface + factory for Dependency injection (3475fc1 )
repo: ensure user agent is added to each request (a5e54f4 )
repo: extract value validation logic for reusability (b9a4237 )
repo: implement extraction methods for side formats (4965ba8 )
repo: implement post sync and post async methods, including response types and custom deserializer (8dbc95c )
repo: implement takeScreenshot (b791199 )
repo: implement validation for engine version (b1f38fc )
repo: Install dependencies for using env vars locally and in gh actions (d5bb2b3 )
repo: introduce UrlboxException, thrown on err with more meaningful information (a0e62d1 )
repo: make render links signed by default (7bb05de )
repo: Update instances of .io to .com (c3cb8fb )
repo: update readme (70d2003 )
repo: update readme with extraction methods and how to use IDictionary overload (3363422 )
repo: update the readme WIP (70d2003 )
repo: update the readme with the new DI instructions (b8f3b35 )
repo: Upgrade package from dotnet 2.0 -> 6.0 (31ee319 )
repo: upgrade package version to 2.0.0, add changelog to readme (a840aa5 )
repo: Use class input UrlboxOptions to improve typing (308dd47 )
tests: Add tests for checking Urlbox can be instantiated via DI for singleton/request/transient (02e18cf )
tests: enable parallel testing (f0dc1f3 )
test: update tests to use compatible .net version for macOS (5b94c0c )
Bug Fixes
readme: add explanation for getting project keys with screenshot (a840aa5 )
readme: replace occurrences of screenshotting with rendering (a840aa5 )
readme: update comments in JSON to use # (4f362d4 )
readme: update s3 comment, replace lowercased .render with .Render (4f362d4 )
repo: add gh image not showing in repo variant of readme (a840aa5 )
repo: add missing awaits to tests (3363422 )
repo: add webhookUrl to tests (5cb10b9 )
repo: change cookies to obj and fix string interpretation of array (37b80e5 )
repo: clarify code comments (3eda4ec )
repo: ensure null values dont show in responses (5dcecbc )
repo: ensure nullable fields dont show up in render response (6d15666 )
repo: ensure options only accepts one of html or url but not both (fe67dc0 )
repo: ensure strings are included in array string representations (a26001c )
repo: fix blockUrls to be arr (a33a6db )
repo: fix failing test (5dcecbc )
repo: handle nullable warnings that came out from enabling nullable in project (9eb55fc )
repo: make download method throw error with urlbox error message (0297648 )
repo: make ints nullable in options (3a3d5f7 )
repo: move private methods in urlbox to bottom of file, add overload for makepost to serialise UrlboxOptions with quicktyped serializer (1553854 )
repo: prepare repo for nuget package upload (3eda4ec )
repo: rename namespace from screenshots to UrlboxSDK (4f362d4 )
repo: rename target project for tests (6e2e858 )
repo: update cookie type to be tighter to string OR string[] (59ff448 )
repo: update snakeCaseNamingPolicy with tests (bdd9d5c )
repo: update urlbox sln to recognise the urlbox.csproj file (17982f5 )
repo: update urlboxexception to not use init (9aac91c )
repo: update validator to handle header edge cases (3ccd5ea )
repo: wip - enable nullable on project, introduce enums, tests passing (fadbce2 )
You can’t perform that action at this time.