What's Changed
Note:
If you are using the GraphweaverMedia
support as in our S3 example, we were previously storing the JSON as a string in the database. This is valid JSON, so it did not break, however the intention was to store the actual JSON payload in the DB so that it could be indexed and queried with the JSON query operators.
From now, as images are updated on your entities, the JSON values will be properly encoded. If you want to speed up this process and re-encode all of them, you can use a query like so:
UPDATE submission
SET image =
CASE
WHEN jsonb_typeof(image) = 'string' THEN (image#>>'{}')::jsonb
ELSE image
END
WHERE jsonb_typeof(image) = 'string';
More information here: #1623
Improvements
- Feature / Multiple Version Protection by @thekevinbrown in #1616
- Add Markdown support to DetailPanelInputComponentOption by @juan871003 in #1610
- Exogw-400 - add a test and example for a custom mutation with a nested result by @eddiesholl in #1623
- Improvement / Default first datasource to open in sidebar by @thekevinbrown in #1648
Fixes
- Fixed sorting by non unique field by @mackcheesman in #1617
- Add handling for field_null and field_notnull in gqlToMikro by @juan871003 in #1625
- Obfuscate sensitive fields in authentication mutations by @juan871003 in #1624
- Exogw-395 - Implement bigint columns as string during import by @eddiesholl in #1631
- Fix (Mikroorm package): Handling ILIKE operator for non-postgres databases by @mackcheesman in #1641
EXOGW-415
- gqlToMikro -> handle multiple operations on the same filter key by @juan871003 in #1632- EXOGW-395 Add polyfill for bigint json serialisation by @eddiesholl in #1642
Dependency Version Bumps
- Bump @graphql-tools/utils from 10.8.1 to 10.8.2 in /src in the graphql-tools group by @dependabot in #1612
- Bump aws-cdk-lib from 2.179.0 to 2.180.0 in /src in the aws-cdk group by @dependabot in #1611
- Bump the mikro-orm group in /src with 5 updates by @dependabot in #1613
- Bump ts-jest from 29.2.5 to 29.2.6 in /src by @dependabot in #1615
- Bump @types/react-dom from 19.0.0 to 19.0.4 in /src by @dependabot in #1621
- Bump @eslint/js from 9.17.0 to 9.21.0 in /src by @dependabot in #1620
- Bump @graphql-tools/utils from 10.8.2 to 10.8.3 in /src in the graphql-tools group by @dependabot in #1619
- Bump aws-cdk from 2.1000.2 to 2.1000.3 in /src in the aws-cdk group by @dependabot in #1618
- Bump @okta/okta-auth-js from 7.9.0 to 7.11.0 in /src by @dependabot in #1629
- Bump typescript-eslint from 8.22.0 to 8.25.0 in /src by @dependabot in #1628
- Bump tsx from 4.19.2 to 4.19.3 in /src by @dependabot in #1630
- Bump graphiql from 3.7.2 to 3.8.3 in /src by @dependabot in #1627
- Bump react-modal from 3.16.1 to 3.16.3 in /src by @dependabot in #1634
- Bump the aws-cdk group in /src with 2 updates by @dependabot in #1626
- Bump graphql-scalars from 1.24.0 to 1.24.1 in /src by @dependabot in #1636
- Bump @types/jsonwebtoken from 9.0.7 to 9.0.9 in /src by @dependabot in #1635
- Bump the aws-sdk group in /src with 5 updates by @dependabot in #1639
- Bump the aws-cdk group across 1 directory with 2 updates by @dependabot in #1647
- Bump globals from 15.14.0 to 16.0.0 in /src by @dependabot in #1645
- Bump pg from 8.13.1 to 8.13.3 in /src by @dependabot in #1644
- Bump react-day-picker from 9.4.1 to 9.5.1 in /src by @dependabot in #1643
- Bump rollup-plugin-visualizer from 5.13.1 to 5.14.0 in /src by @dependabot in #1646
Full Changelog: v2.12.1...v2.12.2