- Pinned
[email protected]
- Fixed SCSS deprecation warning
- Added
ensure-npm
developer script - Dependency updates
- BREAKING CHANGE: Drops support for Node 14
- Adds support for Node 20 and Node 22
- Dependency updates (mainly a CVE fix)
- Dependency updates
- Support Logo and Favicon Base64 embedding, as well as URL specification. #807
- Fix publishing and installation process. #876
- Fix/add support for
EnumValues
. - Non-zero exit code when there's an error.
- Fix scrollspy issue. #852 Thanks @MarcEspiard
- Dependency updates.
- Fix cross-OS bug where
rm
was used. #837 - Dependency updates
- Add support for
inputValueDeprecation
- Dependency updates
- Add
info.contact.url
to the templates
- Dependency updates
- Dependency updates
- Dependency updates
- Remove
foundation-sites
dependency
- Update dependencies.
- Fix typos in documentation.
- Bugfix: dynamic import on Windows machines: #627
- Update dependencies.
- Exit with an explicit
0
code when no need to build vendor packages. #606
- All lifecycle scripts only use
npm
(neveryarn
).
- BREAKING CHANGE: Drops support for Node 12. Requires Node
>=14
. - BREAKING CHANGE: Requires
npm >= 7
. - BREAKING CHANGE: The
run
andloadData
commands are now asynchronous and return a promise. - Fixes myriad bugs.
- Adds better support for various
example
generation scenarios. - BREAKING CHANGE:
Subscriptions
are now listed underOperations
, immediately afterQueries
andMutations
, in the default theme. - BREAKING CHANGE: No external fonts can be loaded in the included themes, so the
loadExternalFont
option was removed. config
yaml will have environment variable substitution performed.config
yaml can now be specified as a CLI option (-c
or--config
), instead of only as the first argument.- Themes written as ESM/
.mjs
modules are now supported. - BREAKING CHANGE: Accessibility improvements for
<h>
tags deeper than<h6>
using thearia-level
attribute. embeddable
,oneFile
andtargetDir
are now options that can be specified in the config yaml (previously was only CLI).targetDir
can be set tonull
in order to not write any output to a user directory.- BREAKING CHANGE:
headers
CLI option is now-H
instead of-A
- Moves a number of unmaintained Grunt dependencies "in-house" so that they can be updated for vulnerabilities and bugs.
- BREAKING CHANGE: Dropped support for accidental
queryNameStategy
option. 🤦 - BREAKING CHANGE: Expects
node 16
when cloning and developing on this repo.
- Updated dependencies.
- Add option to disable 3rd party font request in some built-in themes via the
loadExternalFont
option. #556
- Default a few deconstructed object params to be an empty object. #553
- Fix bug where config and SDL files were not being properly watched in some cases. #554
- Fix bug, now allow anything but
undefined
to be used as an example. #547
- Re-publish after some reverts
- Dependency updates
- Last LTS for 1.x and Node 12
- Dependency updates
- Option to have
run
resolve with an object containing the outputs. #497
- Dependency updates
- Better support for parsing
@spectaql
directive options. #462 Thanks @kylebjordahl
- Add option to remove unused types.
- Updated
microfiber
to add support for usage ofINTERFACES
to count as usage of the types that implement them.
- Dependency updates
- Added examples and better support for various things in the
metadata.json
file, as well as examples.
- Support for metadata via the
@spectaql
directive. #439
- Dependency updates
- Accessibility improvements. #397
- Support interpolation of references in
loadTextFromFile
and add it to intro items area. https://github.com/anvilco/spectaql/pull/new/newhouse/416/interpolation-in-file-reads
- Add support for inline fragments for Union queries. #407
- Add (back) support for Interfaces.
- Dependency updates to remove warnings.
- Handles defaults with enumerated types better. #400
- Checks for "lengthy"
fields
on a Type when determining how to handle fragmentation and expansion in example queries. #385
- Added
logoHeightPx
and removedlogoMaxHeightPx
.
- Added a
custom.scss
file to the default theme to allow for simple theme customizations to easily get ohter CSS updates. - Added a
logoMaxHeightPx
option to set the logo'smax-height
property. - Added
scrollPaddingTopPx
option to set thescroll-padding-top
property for when there's a Nav bar situation.
- CSS will be concatenated with SpectaQL's css coming before other CSS. #353
- Re-published from borked publish of
1.1.3
- Updated dependencies.
- Fixed bug where List return type for Query or Mutation was not working properly. #342
- Fixed navigation bug. #343
- Fixed mismatched header tags
- Fixed name of
queryNameStrategy
options
- Added
augmentData
to exports. - Updated dependencies.
- Added option for "fieldExpansionDepth". #302
- Bug fix: scrolling issues in Firefox. #299
- Update
microfiber
to include bugfix.
- Bug fix: Windows absolute path bug. #288
- Dependency updates
- Bug fixes: Overflow text. SVG logos. Slow resize. #286
- Add support for query name strategies. #282
- Bug fix: support examples from metatdata for Scalars. #283
- Bug fix:
themeDir
from CLI support. #284 - Bug fix: Reference interpolation. #285
- Lots of dependency updates.
- Add some basic support for Headers in the server info area.
- Bug fix: Examples array problem. #265
- Bug fix: Bad path resolution. #258
- Bug fix: Bad path resolution. #257
- Bad publish of
1.0.3
. - Bug fix: Put back Glob support for multiple GraphQL files.
- Bug fix: GraphQL Scalar example bug. #262
spectaql
was in a "beta" state in all versions before 1.0.0
. If you were using a version before 1.0.0
you will want to have a look at these breaking changes that may impact you.
Some notable additions/enhancements to 1.0.0
are:
- When used in a
node
project, there are a few more exports now:run
: same as the default export that will build everything if you pass it sane options.parseCliOptions
: used to parse the CLI arguments into sane arguments to be passed torun
.loadData
: bascially does all the processing that SpectaQL would do with gathering and processing the data right up to the point where SpectaQL would start to generate the HTML, etc.buildSchemas
: Does a bit less thanloadData
in that it will take the provided options and return an augmented Introspection Query Response as well as a GraphQL Schema instance.- Choose from several built-in "themes", tweak the default theme, or completely change things up with your own theme! See the /examples/themes/README.md for more.