Skip to content

Version 2.12.2

Latest
Compare
Choose a tag to compare
@thekevinbrown thekevinbrown released this 04 Mar 07:29
· 22 commits to main since this release
7116593

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

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

Full Changelog: v2.12.1...v2.12.2