Skip to content

Latest commit

 

History

History
83 lines (58 loc) · 2.64 KB

CHANGELOG.md

File metadata and controls

83 lines (58 loc) · 2.64 KB

1.6.2 (December 3, 2020)

  • Fix panic on assigning empty array to non-slice or array
  • Fix text array parsing disambiguates NULL and "NULL"
  • Fix Timestamptz.DecodeText with too short text

1.6.1 (October 31, 2020)

  • Fix simple protocol empty array support

1.6.0 (October 24, 2020)

  • Fix AssignTo pointer to pointer to slice and named types.
  • Fix zero length array assignment (Simo Haasanen)
  • Add float64, float32 convert to int2, int4, int8 (lqu3j)
  • Support setting infinite timestamps (Erik Agsjö)
  • Polygon improvements (duohedron)
  • Fix Inet.Set with nil (Tomas Volf)

1.5.0 (September 26, 2020)

  • Add slice of slice mapping to multi-dimensional arrays (Simo Haasanen)
  • Fix JSONBArray
  • Fix selecting empty array
  • Text formatted values except bytea can be directly scanned to []byte
  • Add JSON marshalling for UUID (bakmataliev)
  • Improve point type conversions (bakmataliev)

1.4.2 (July 22, 2020)

  • Fix encoding of a large composite data type (Yaz Saito)

1.4.1 (July 14, 2020)

  • Fix ArrayType DecodeBinary empty array breaks future reads

1.4.0 (June 27, 2020)

  • Add JSON support to ext/gofrs-uuid
  • Performance improvements in Scan path
  • Improved ext/shopspring-numeric binary decoding performance
  • Add composite type support (Maxim Ivanov and Jack Christensen)
  • Add better generic enum type support
  • Add generic array type support
  • Clarify and normalize Value semantics
  • Fix hstore with empty string values
  • Numeric supports NaN values (leighhopcroft)
  • Add slice of pointer support to array types (megaturbo)
  • Add jsonb array type (tserakhau)
  • Allow converting intervals with months and days to duration

1.3.0 (March 30, 2020)

  • Get implemented on T instead of *T
  • Set will call Get on src if possible
  • Range types Set method supports its own type, string, and nil
  • Date.Set parses string
  • Fix correct format verb for unknown type error (Robert Welin)
  • Truncate nanoseconds in EncodeText for Timestamptz and Timestamp

1.2.0 (February 5, 2020)

  • Add zeronull package for easier NULL <-> zero conversion
  • Add JSON marshalling for shopspring-numeric extension
  • Add JSON marshalling for Bool, Date, JSON/B, Timestamptz (Jeffrey Stiles)
  • Fix null status in UnmarshalJSON for some types (Jeffrey Stiles)

1.1.0 (January 11, 2020)

  • Add PostgreSQL time type support
  • Add more automatic conversions of integer arrays of different types (Jean-Philippe Quéméner)

1.0.3 (November 16, 2019)

  • Support initializing Array types from a slice of the value (Alex Gaynor)

1.0.2 (October 22, 2019)

  • Fix scan into null into pointer to pointer implementing Decode* interface. (Jeremy Altavilla)

1.0.1 (September 19, 2019)

  • Fix daterange OID