Skip to content

Releases: seek-oss/scoobie

v17.1.2

03 Sep 05:07
c7f34ae
Compare
Choose a tag to compare

Patch Changes

  • mermaid: Fix flowchart labels being cut off (#698)

v17.1.1

02 Sep 00:59
0741865
Compare
Choose a tag to compare

Patch Changes

  • Lazy load mermaid-isomorphic to avoid import errors for non-mermaid projects (#696)

v17.1.0

01 Sep 23:40
e13de1c
Compare
Choose a tag to compare

Minor Changes

  • CodeBlock: Add initialIndex prop (#690)

  • MdxProvider: Add default code block directive (#690)

    This supports use cases like providing successive GraphQL operation samples where argument differences are the focal point:

    Permutation 1:
    
    ```graphql
    mutation ($input: Input!) {
      do(input: $input)
    }
    ```
    
    ```json default
    {
      "input": 1
    }
    ```
    
    Permutation 2:
    
    ```graphql
    mutation ($input: Input!) {
      do(input: $input)
    }
    ```
    
    ```json default
    {
      "input": 2
    }
    ```
  • Add support for Mermaid overrides (#693)

    Some Mermaid diagrams allow for YAML frontmatter. Scoobie has extended this by allowing a deep merge of the Mermaid configuration
    with a special overrides key in the frontmatter. This could be useful for diagram-specific configuration that is not otherwise easy to set.

    ```mermaid
    ---
    overrides:
      gantt:
        useWidth: 500
    ---
    gantt
        title A Gantt Diagram
        dateFormat  YYYY-MM-DD
        section Section
        A task           :a1, 2014-01-01, 30d
    ```

v17.0.0

30 Aug 03:43
47b90f8
Compare
Choose a tag to compare

Major Changes

  • Replace Mermaid plugin to be backed by Playwright (#689)

    Previously, the Mermaid plugin was backed by Puppeteer. This change replaces this via mermaid-isomorphic, in turn backed by Playwright.

    There are some consequences for Mermaid users:

    • Output changes (you should review and tweak these)
    • You'll no longer need to install puppeteer and manage it in e.g. your Dockerfiles
    • Before running builds with this change, you'll need to install mermaid-isomorphic (which is now a scoobie peer dependency), and playwright in order to run <packageManager> playwright install chromium. This could form a postinstall script.

v16.0.0

16 Jul 00:28
dbff499
Compare
Choose a tag to compare

Major Changes

  • Bump minimum supported version of sku to 13.0.0 (#666)

  • deps: webpack-merge ^6.0.0 (#665)

    This release bumps the minimum supported Node version to 18.18.

v15.3.0

15 Feb 02:31
1a4376e
Compare
Choose a tag to compare

Minor Changes

  • Add components override to MdxProvider (#617)

v15.2.0

24 Jan 01:39
e251c1a
Compare
Choose a tag to compare

Minor Changes

  • MdxProvider: Set Tables to overflowX="scroll" width="full" (#605)

Patch Changes

  • Table: Restore type="stripe" styling (#605)

  • CodeBlock: Restore bash and shell syntax highlighting (#605)

  • mermaid: Colour flowchart circle nodes (#605)

v15.1.0

23 Jan 07:11
c113ec4
Compare
Choose a tag to compare

Minor Changes

  • Table: Add overflowX and whiteSpace props (#603)

    These allow you to control overflow and wrapping behaviour when width is constrained.

    <>
      <Table />
    
      <Table overflowX="scroll" />
    
      <Table overflowX="scroll" whiteSpace="nowrap" />
    </>

v15.0.0

17 Oct 07:05
29368b8
Compare
Choose a tag to compare

15.0.0 (2023-10-17)

Features

  • Make @mdx-js/loader an optional peer dependency (#567) (29368b8)

BREAKING CHANGES

  • If importing scoobie/webpack, you'll need to add this optional peer dependency:
yarn add '@mdx-js/loader@^1.6.22'

This is to avoid including dependencies which have some security vulnerabilities
(CVE-2020-7753, CVE-2022-37601, CVE-2022-37599, CVE-2022-37603) if unnecessary.
This is a bridge until #566

v14.5.6

17 Oct 03:57
08d3c71
Compare
Choose a tag to compare