Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@graphql-markdown/docusaurus

Package Overview
Dependencies
Maintainers
0
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-markdown/docusaurus - npm Package Versions

1345

1.23.0

Diff

Changelog

Source

1.23.0 - 2024-02-10

:sparkle: Executable types (operations and related directives) and system types (entity types) have now separate sections. The behaviour can be disabled by setting the option printTypeOptions.useApiGroup to false or using the cli flag --noApiGroup (see documentation).

Screenshot from 2024-02-10 16-37-28

The online examples have been updated with one using the new sections and one with the option disabled. Note that the examples have some custom CSS that is not part of the default package.

What's changed

Full Changelog: https://github.com/graphql-markdown/graphql-markdown/compare/1.22.0...1.23.0

[Changes][1.23.0]

<a id="1.22.0"></a>

edno
published 1.22.0 •

Changelog

Source

1.22.0 - 2023-12-27

🧑‍🔧 A new setting docOptions.frontMatter makes it easier to generate pages with Docusaurus settings. Using this setting you can pass any front matter setting to the generator.

Example for the Docusaurus draft setting:

plugins: [
    [
      "@graphql-markdown/docusaurus",
       {
        schema: "./schema/swapi.graphql",
        docOptions: {
          frontMatter: {
            draft: true, // set draft for generated pages
          },
        },
      },
    ],
  ],

[DEPRECATED] This option deprecates the options docOptions.pagination and docOptions.toc (more details in the documentation).

What's Changed

Full Changelog: https://github.com/graphql-markdown/graphql-markdown/compare/1.21.3...1.22.0

[Changes][1.22.0]

<a id="1.21.3"></a>

edno
published 1.21.3 •

Changelog

Source

1.21.3 - 2023-11-24

🐛 Fix the incorrect build for 1.21.2 that was missing the changes for #1101.

What's Changed

edno
published 1.21.2 •

Changelog

Source

1.21.2 - 2023-11-22

:magic_wand: Improve compatibility with Docusaurus 3 by using the new admonition format for the deprecated admonition (see #1096).

| Docusaurus 2 | Docusaurus 3 | |---|---| |<code>:::caution DEPRECATED</code>|<code>:::warning[DEPRECATED]</code>|

What's Changed

edno
published 1.21.1 •

Changelog

Source

1.21.1 - 2023-11-05

:rocket: Fix compatibility with Docusaurus 3, since it comes with MDX v3 that is stricter than the version used by Docusaurus 2. :rocket:

The compatibility with Docusaurus 2 is maintained, and there is no plan to drop it.

What's Changed

edno
published 1.21.0 •

Changelog

Source

1.21.0 - 2023-09-30

🚀 BIG release 🚀

This is an exceptionally big release packed with a lot of changes, so read carefully the release notes before upgrading.

The main changes are under the hood as we migrated the codebase from Javascript to Typescript to simplify the coding experience but also to increase the code safety.

⚠️ Breaking changes

  • Custom directive helpers have been moved to dedicated packages, see docs.

✨ New features

  • onlyDocDirective filters the schema entities to be rendered in the documentation. This is the counterpart of skipDocDirective, based on a request from @brampurnot in #994. See documentation.
  • metatags adds HTML metadata to pages using Docusaurus head metadata, based on a request from @akillkumar in #1015. See documentation.
  • Helper directiveDescriptor now supports the description placeholder, where description is the default directive's description.

🛠️ Other changes

  • Typing is available in a dedicated package @graphql-markdown/types.
  • Modules helpers, graphql and logger have been extracted from @graphql-markdown/utils into dedicated packages.
  • Logger has now a single method called log().
  • TS API is getting documented, see API in the docs.
  • More and better tests.
  • Upgrade dependencies version.

Full Changelog: https://github.com/graphql-markdown/graphql-markdown/compare/1.20.4...1.21.0

[Changes][1.21.0]

<a id="1.20.4"></a>

edno
published 1.21.0-next.0 •

edno
published 1.20.4 •

Changelog

Source

1.20.4 - 2023-08-07

:technologist: Technical release to freeze the last JS changes before the migration of the code to TS.

What's Changed

edno
published 1.20.3 •

Changelog

Source

1.20.3 - 2023-07-19

:bug: Fix a CSS issue for type badges in related type sections (see option printTypeOptions.relatedTypeSection).

  • Before fix :disappointed: Screenshot 2023-07-19 at 14-22-28 Deleted GraphQL-Markdown

  • After fix :grinning: Screenshot 2023-07-19 at 14-30-46 Deleted GraphQL-Markdown

What's Changed

edno
published 1.20.2 •

Changelog

Source

1.20.2 - 2023-07-07

:sparkles: New option printTypeOptions.codeSection and CLI flag --noCode for hiding the codeblock section, based on an initial request from @ris314 in #895. See documentation for more information.

Screenshot 2023-07-07 at 16-28-08 AddCourse GraphQL-Markdown

What's Changed

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc