Skip to content

Releases: intuit/saloon

Security updates

29 Jun 21:49
Compare
Choose a tag to compare

Resolved all Snyk and Dependabot alerts.

Allow array params for definitions

12 Sep 20:37
Compare
Choose a tag to compare

Fixes an issue where array params where being casted to objects
thanks @b-paul

Better GraphQL Error Handling

18 Dec 16:49
Compare
Choose a tag to compare
1.4.2

Even better graphql error handling

Better GraphQL Support

17 Dec 22:08
Compare
Choose a tag to compare

The GraphQL query doesn't belong in the resource, it should be at the definition-level. The resource params now map to additional GraphQL variables.

GraphQL Support

05 Dec 21:04
8988d22
Compare
Choose a tag to compare

Added support for GraphQL queries and mutations in personas:

  1. Add the transport: 'graphql' property to your entity definition
  2. Replace the params object in the persona with your GraphQL query/mutation

Cypress plugin support

29 Nov 22:45
Compare
Choose a tag to compare

Cypress plugins don't have the same console methods. This patch adds an undefined check for all console methods.

Type casting booleans in expression functions

22 Oct 19:15
9ab5a6e
Compare
Choose a tag to compare

Enhance email expression function

19 Oct 15:05
01f3b35
Compare
Choose a tag to compare

chance.js' email function isn't very unique, it's common to get something like [email protected], which is lame. This release adds an additional param for appending a timestamp:

Before

email('intuit.com'); // [email protected]

After

email('intuit.com', true); // [email protected]

Fixing node support

07 Jun 19:17
Compare
Choose a tag to compare
1.2.1

Bumping to 1.2.1

Retries and browser support

06 Jun 16:36
Compare
Choose a tag to compare

Saloon will now automatically retry after failed requests up to three times.

Added browser support but had to remove Winston, as it doesn't work in browser. Waiting on Winston v3.1.0, which adds browser support--then will reimplement.