Skip to content

Releases: tot-ra/graphql-schema-registry

v3.3.0 GET /schema/latest no longer validates schema

24 May 22:59
3f41103
Compare
Choose a tag to compare
  • For performance reasons, we now skip federated schema validation in /schema/latest endpoint
  • We now have performance tests with k6

v3.2.3 Fix /schema/push to return 400 if schema version is the same

24 May 21:35
4b34836
Compare
Choose a tag to compare
  • /schema/push now returns 400 instead of 500 if you attempt to register new service schema with existing version
  • note, that you can register schema from multiple pods if it is the same (type definitions are matched)

v3.2.2 frontend tests, schema font update

24 May 19:57
Compare
Choose a tag to compare

Updated

  • Fonts in diff & definition tabs are now monospace & same size
  • Added support for use TypeScript in the client side code. A pair of components were converted to TypeScript to validate the configuration.
  • Added the configuration for testing-library/react and testing-library/react-hooks, so unit tests could be added to the client side code. A pair of tests were added to validate the configuration.
  • eslint-webpack-plugin was added to avoid forgetting to fix eslint and prettier issues during development.
  • Some commands on Dockerfiles were rewritten to benefit from caching when executing npm install

Screenshot 2022-05-24 at 22 39 16

v3.2.1 Added hot reload for frontend

14 May 18:50
f667cea
Compare
Choose a tag to compare
  • Added react-refresh-webpack-plugin. It only executes in development mode: its setup is conditionally imported in server side, so its inclusion is omitted in production mode.
  • For the setup of the previous one, I've had to wrap all the server setup in a async function to make the conditional import works. It doesn't affect to any functionality.
  • Added source map loading for node_modules libraries.
  • Removed some unused dependencies.

v3.2.0 security fixes, eslint, prettier, webpack 5

05 May 15:21
79282f1
Compare
Choose a tag to compare

Changes

  • eslint libraries were being listed as dependencies but not config was set. So an eslint config was added.
  • Same thing with prettier, it was listed as a dependency and executed on commit (not configured for ts files though) but some files were not formatted with it.
  • Some unused dependencies were removed from both dependencies and devDependencies.
  • Removed react-hot-loader because it was not proper configured. I have already a working version with react-refresh-webpack-plugin planned for a future PR.
  • Some libraries (mostly for the frontend part compilation) were upgrades in order to improve the generation of the bundle.
  • Some general cleanup: removed unused imports, unused declarations, etc.

v3.1.0 configureable logger

05 May 12:57
Compare
Choose a tag to compare

See PR

  • Added dependency to winston
  • Added an instance of logger in logger.ts and removed the logging functions
  • Replace every use of the previous logger functions with calls to the logger exposed from logger.ts

The logger is configured with the following environment variabbles:

  • LOG_LEVEL (default is info)
  • LOG_TYPE (default is pretty; json also supported)

Pretty log formats looks like this:

Screen Shot 2022-05-04 at 12 20 03 PM

v3.0.1 Minor UI fixes

07 Feb 22:30
b0db600
Compare
Choose a tag to compare
Minor UI fixes (#103)

* fix logo causing page slider

* fix code diff view font size, code diff width

* Update package.json

* Update CHANGELOG.md

v3.0.0 Typescript migration

07 Feb 12:43
49420a4
Compare
Choose a tag to compare
Typescript migration (#102)

* change build command

* move all js files to new folder & rename extension

* add ignore to destination folder

* fix critical TS errors

* fix unit test runner

* fix functional tests

* fix frontend build

* fix asset serving, move schema-registry.js file to src

* format

* fix graphql endpoint

* fix trx param passing, caused func test failures

* add /schema/diff func test

* bump version

* format

v2.2.4 Fixed 404 error on `__webpack_hmr` URL

04 Feb 23:49
8779098
Compare
Choose a tag to compare

v2.2.3 added functional tests

04 Feb 22:57
2fffba1
Compare
Choose a tag to compare
Update package.json