Releases: tot-ra/graphql-schema-registry
Releases · tot-ra/graphql-schema-registry
v3.3.0 GET /schema/latest no longer validates schema
- 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
/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
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
andtesting-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
v3.2.1 Added hot reload for frontend
- 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
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
anddevDependencies
. - 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
- 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:
v3.0.1 Minor UI fixes
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
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
Update CHANGELOG.md
v2.2.3 added functional tests
Update package.json