Skip to content

v0.9.36

Choose a tag to compare

@suddendust suddendust released this 16 Mar 16:16
· 1 commit to main since this release
5025ed7

What's Changed

  1. Fixes a bug in PostgresResultIteratorWithBasicTypes in which float4/real values were cast to strings. So say we have a field ratings with is a real field - It would appear as "4.3" in Document instead of 4.3 (Mongo behaves correctly so this fix is added for functional compatibility).
  2. Added checks on the type of input in update parsers for fail-fast. This is inline with Mongo's behaviour.
  3. Handle array fields properly in SET update parsers to parse them as a single value.
  4. Fix the return behaviour of Collection#upsert for PG. Till now, it returns true if a new doc is created, false if it's updated. This is not inline with the contract or Mongo's behaviour - So now, it returns true if it succeeds.
  5. Handle SET on entire JSONB columns properly.
  6. Use CommonUpdateValidator for flat PG collections.

Full Changelog: 0.9.35...0.9.36