Skip to content

Releases: dnotes/quickpickle

@quickpickle/[email protected]

21 May 04:57
4ea00c5

Choose a tag to compare

Minor Changes

  • 8a32a09: Add a true path sanitizer to the base World object

    BREAKING CHANGE:

    The base world object no longer has a public projectRoot property.
    Instead of constructing paths that way, developers should use the
    world.fullPath() method to get the full path to a file or subfolder.
    This should ensure that only files below the projectRoot are accessed.

    Playwright and Browser world constructors no longer have the
    sanitizeFilepath method. Instead, there is a new "sanitizePath"
    method on the base World, which should be relatively safe even
    for user input, avoiding path traversal and the like.

  • 15e0e06: Major refactor with breaking changes, including to the World Constructor APIs.

    • Added tests for all step definitions (using Svelte) based on Playwright package tests
    • Added basic instructions to README
    • Added scrolling step definitions
    • Added screenshot step definitions
    • Added step definitions to test for integer values
    • Added step definitions to check that an element is in the viewport
    • Added step definitions to check for clicked items
    • Changed the VitestBrowserWorld API to accommodate step definitions
    • Changed the React, Vue and Svelte worlds to use the new API

    BREAKING CHANGES:

    • When extending the VitestBrowserWorld class, subclasses must implement the render
      and cleanup methods. The render method must not only render the component
      but also set the page property using RenderResult.container.

Patch Changes

@quickpickle/[email protected]

21 May 15:26
9b0ced6

Choose a tag to compare

Patch Changes

@quickpickle/[email protected]

21 May 04:57
4ea00c5

Choose a tag to compare

Minor Changes

  • 8a32a09: Add a true path sanitizer to the base World object

    BREAKING CHANGE:

    The base world object no longer has a public projectRoot property.
    Instead of constructing paths that way, developers should use the
    world.fullPath() method to get the full path to a file or subfolder.
    This should ensure that only files below the projectRoot are accessed.

    Playwright and Browser world constructors no longer have the
    sanitizeFilepath method. Instead, there is a new "sanitizePath"
    method on the base World, which should be relatively safe even
    for user input, avoiding path traversal and the like.

Patch Changes

[email protected]

15 May 04:56
a7f0dee

Choose a tag to compare

Patch Changes

  • 9145a9c: fixed types from last update

[email protected]

15 May 01:54
96e064c

Choose a tag to compare

Minor Changes

  • 1cf8cca: update dependencies
  • 1162c84: feat: added stepTimeout option for quickpickle

Patch Changes

  • 2e7530d: updating packages

  • 094f7dd: rollup config and hoisting for vitest browser

  • 7ad035c: fix: some errors would error when formatting stack

    In some environments, errors during step execution are
    not formatted correctly, leading to another error that
    is very unhelpful. This commit works around that problem.

  • ab52cf6: fix: removed dependency on @cucumber/cucumber for DataTable

    The DataTable model from @cucumber/cucumber is now mirrored by
    QuickPickle because including it from the cucumber-js package
    brought all the test runner stuff with it, which was too big
    and messed up anything that tried to run in the browser.

@quickpickle/[email protected]

15 May 04:56
a7f0dee

Choose a tag to compare

Patch Changes

@quickpickle/[email protected]

15 May 01:54
96e064c

Choose a tag to compare

Patch Changes

@quickpickle/[email protected]

15 May 04:56
a7f0dee

Choose a tag to compare

Patch Changes

@quickpickle/[email protected]

15 May 01:54
96e064c

Choose a tag to compare

Minor Changes

Patch Changes

[email protected]

18 Jan 10:51
57e0936

Choose a tag to compare

Patch Changes

  • 156ee84: Use vite/vitest root directory for QuickPickle World projectRoot.
  • 375fd69: Fix and optimize lodash imports for CommonJS