...

Text file src/github.com/jackc/pgtype/CHANGELOG.md

Documentation: github.com/jackc/pgtype

     1# 1.14.0 (February 11, 2023)
     2
     3* Fix: BC timestamp text format support (jozeflami)
     4* Add Scanner and Valuer interfaces to CIDR (Yurii Popivniak)
     5* Fix crash when nilifying pointer to sql.Scanner
     6
     7# 1.13.0 (December 1, 2022)
     8
     9* Fix: Reset jsonb before unmarshal (Tomas Odinas)
    10* Fix: return correct zero value when UUID conversion fails (ndrpnt)
    11* Fix: EncodeText for Lseg includes [ and ]
    12* Support sql Value and Scan for custom date type (Hubert Krauze)
    13* Support Ltree binary encoding (AmineChikhaoui)
    14* Fix: dates with "BC" (jozeflami)
    15
    16# 1.12.0 (August 6, 2022)
    17
    18* Add JSONArray (Jakob Ackermann)
    19* Support Inet from fmt.Stringer and encoding.TextMarshaler (Ville Skyttä)
    20* Support UUID from fmt.Stringer interface (Lasse Hyldahl Jensen)
    21* Fix: shopspring-numeric extension does not panic on NaN
    22* Numeric can be assigned to string
    23* Fix: Do not send IPv4 networks as IPv4-mapped IPv6 (William Storey)
    24* Fix: PlanScan for interface{}(nil) (James Hartig)
    25* Fix: *sql.Scanner for NULL handling (James Hartig)
    26* Timestamp[tz].Set() supports string (Harmen)
    27* Fix: Hstore AssignTo with map of *string (Diego Becciolini)
    28
    29# 1.11.0 (April 21, 2022)
    30
    31* Add multirange for numeric, int4, and int8 (Vu)
    32* JSONBArray now supports json.RawMessage (Jens Emil Schulz Østergaard)
    33* Add RecordArray (WGH)
    34* Add UnmarshalJSON to pgtype.Int2
    35* Hstore.Set accepts map[string]Text
    36
    37# 1.10.0 (February 7, 2022)
    38
    39* Normalize UTC timestamps to comply with stdlib (Torkel Rogstad)
    40* Assign Numeric to *big.Rat (Oleg Lomaka)
    41* Fix typo in float8 error message (Pinank Solanki)
    42* Scan type aliases for floating point types (Collin Forsyth)
    43
    44# 1.9.1 (November 28, 2021)
    45
    46* Fix: binary timestamp is assumed to be in UTC (restored behavior changed in v1.9.0)
    47
    48# 1.9.0 (November 20, 2021)
    49
    50* Fix binary hstore null decoding
    51* Add shopspring/decimal.NullDecimal support to integration (Eli Treuherz)
    52* Inet.Set supports bare IP address (Carl Dunham)
    53* Add zeronull.Float8
    54* Fix NULL being lost when scanning unknown OID into sql.Scanner
    55* Fix BPChar.AssignTo **rune
    56* Add support for fmt.Stringer and driver.Valuer in String fields encoding (Jan Dubsky)
    57* Fix really big timestamp(tz)s binary format parsing (e.g. year 294276) (Jim Tsao)
    58* Support `map[string]*string` as hstore (Adrian Sieger)
    59* Fix parsing text array with negative bounds
    60* Add infinity support for numeric (Jim Tsao)
    61
    62# 1.8.1 (July 24, 2021)
    63
    64* Cleaned up Go module dependency chain
    65
    66# 1.8.0 (July 10, 2021)
    67
    68* Maintain host bits for inet types (Cameron Daniel)
    69* Support pointers of wrapping structs (Ivan Daunis)
    70* Register JSONBArray at NewConnInfo() (Rueian)
    71* CompositeTextScanner handles backslash escapes
    72
    73# 1.7.0 (March 25, 2021)
    74
    75* Fix scanning int into **sql.Scanner implementor
    76* Add tsrange array type (Vasilii Novikov)
    77* Fix: escaped strings when they start or end with a newline char (Stephane Martin)
    78* Accept nil *time.Time in Time.Set
    79* Fix numeric NaN support
    80* Use Go 1.13 errors instead of xerrors
    81
    82# 1.6.2 (December 3, 2020)
    83
    84* Fix panic on assigning empty array to non-slice or array
    85* Fix text array parsing disambiguates NULL and "NULL"
    86* Fix Timestamptz.DecodeText with too short text
    87
    88# 1.6.1 (October 31, 2020)
    89
    90* Fix simple protocol empty array support
    91
    92# 1.6.0 (October 24, 2020)
    93
    94* Fix AssignTo pointer to pointer to slice and named types.
    95* Fix zero length array assignment (Simo Haasanen)
    96* Add float64, float32 convert to int2, int4, int8 (lqu3j)
    97* Support setting infinite timestamps (Erik Agsjö)
    98* Polygon improvements (duohedron)
    99* Fix Inet.Set with nil (Tomas Volf)
   100
   101# 1.5.0 (September 26, 2020)
   102
   103* Add slice of slice mapping to multi-dimensional arrays (Simo Haasanen)
   104* Fix JSONBArray
   105* Fix selecting empty array
   106* Text formatted values except bytea can be directly scanned to []byte
   107* Add JSON marshalling for UUID (bakmataliev)
   108* Improve point type conversions (bakmataliev)
   109
   110# 1.4.2 (July 22, 2020)
   111
   112* Fix encoding of a large composite data type (Yaz Saito)
   113
   114# 1.4.1 (July 14, 2020)
   115
   116* Fix ArrayType DecodeBinary empty array breaks future reads
   117
   118# 1.4.0 (June 27, 2020)
   119
   120* Add JSON support to ext/gofrs-uuid
   121* Performance improvements in Scan path
   122* Improved ext/shopspring-numeric binary decoding performance
   123* Add composite type support (Maxim Ivanov and Jack Christensen)
   124* Add better generic enum type support
   125* Add generic array type support
   126* Clarify and normalize Value semantics
   127* Fix hstore with empty string values
   128* Numeric supports NaN values (leighhopcroft)
   129* Add slice of pointer support to array types (megaturbo)
   130* Add jsonb array type (tserakhau)
   131* Allow converting intervals with months and days to duration
   132
   133# 1.3.0 (March 30, 2020)
   134
   135* Get implemented on T instead of *T
   136* Set will call Get on src if possible
   137* Range types Set method supports its own type, string, and nil
   138* Date.Set parses string
   139* Fix correct format verb for unknown type error (Robert Welin)
   140* Truncate nanoseconds in EncodeText for Timestamptz and Timestamp
   141
   142# 1.2.0 (February 5, 2020)
   143
   144* Add zeronull package for easier NULL <-> zero conversion
   145* Add JSON marshalling for shopspring-numeric extension
   146* Add JSON marshalling for Bool, Date, JSON/B, Timestamptz (Jeffrey Stiles)
   147* Fix null status in UnmarshalJSON for some types (Jeffrey Stiles)
   148
   149# 1.1.0 (January 11, 2020)
   150
   151* Add PostgreSQL time type support
   152* Add more automatic conversions of integer arrays of different types (Jean-Philippe Quéméner)
   153
   154# 1.0.3 (November 16, 2019)
   155
   156* Support initializing Array types from a slice of the value (Alex Gaynor)
   157
   158# 1.0.2 (October 22, 2019)
   159
   160* Fix scan into null into pointer to pointer implementing Decode* interface. (Jeremy Altavilla)
   161
   162# 1.0.1 (September 19, 2019)
   163
   164* Fix daterange OID

View as plain text