Releases: seek-oss/scoobie
v17.1.2
v17.1.1
v17.1.0
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 specialoverrides
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
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 ascoobie
peer dependency), andplaywright
in order to run<packageManager> playwright install chromium
. This could form a postinstall script.
v16.0.0
v15.3.0
v15.2.0
v15.1.0
v15.0.0
15.0.0 (2023-10-17)
Features
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
14.5.6 (2023-10-17)
Bug Fixes
- CodeBlock: Support
diff
highlighting (#564) (08d3c71), closes /developer.seek.com/migration-guides/jobstreet-and-jobsdb-uplift/phase-2-job-posting/ad-selection#option-1