Weaviate v0.22.2 Release Notes

Release Date: 2020-02-28 // about 4 years ago
  • ๐Ÿณ Docker image/tag: semitechnologies/weaviate:0.22.2
    ๐Ÿ‘€ See also: example docker compose files in english and dutch.

    ๐Ÿ’ฅ Breaking Changes

    none

    ๐Ÿ†• New Features

    โฌ†๏ธ Upgrade to Go 1.14 (#1090)
    โšก๏ธ No user-facing changes. Even for contributors it's very unlikely that this update introduced any changes. But we recommend updating your Go environment to the latest version if you plan on contributing to Weaviate. Thanks.

    ๐Ÿ†• New Data Type: phoneNumber (#1088 and #1087)
    A new data type with the name phoneNumber was added. This type is a primitive type like text, string, etc - as compared to reference type. Similar to the existing type geoProperties, the new type contains more than a single field.

    ๐Ÿ‘€ The full type definition can be seen in the swagger.json definition

    Usage

    0๏ธโƒฃ There are two user-settable sub-fields (input and defaultCountry). input must always be set when using the type, defaultCountry must only be set in specific situations:

    • When you enter an international number (e.g. +49 171 1234567) no defaultCountry must be entered, as the underlying parser will recognize that the above is a German number due to the +49 prefix
    • When you enter the same number as above in a national format (e.g. 0171 1234567), you need to specify the defaultCounty (in this case: "de"), so that the parse can correctly convert the number into all formats.

    Inputs and Formats

    • phoneNumber.input is of type string. You can enter any phone number. Optional digits, such as an optional 0 (e.g. +49 (0) 171 ....) will be automatically recognized and normalized. Furthermore all formatting helpers, such as dashes or spaces are being removed by the parser.
    • phoneNumber.defaultCountry is of type string. See "Usage" above on when this optional field is required. Content should be entered as ISO 3166-1 alpha-2 country codes.

    ๐Ÿ“œ Read-only fields after parsing

    When reading back a field of type phone number, the following (read-only) fields appear:

    • internationalFormatted (string): Phone number in international format, e.g. "+49 171 123456"
    • national (unsigned integer): National part of the phone number, eg. 171123456
    • nationalFormatted (string): Phone number in national format, eg. "0171 123456"
    • countryCode (unsigned integer): Country-code digits, e.g. 49
    • valid (boolean): Whether the parser recognized the phone number as valid
    • input (string): The raw phone number as put in by the user (helpful for debugging purposes), see Usage above
    • defaultCountry (string) The default country as put in by the user, only set if explicitly set by the user, see Usage above

    Limitations

    The following phone-related features are not yet part of the above release

    • Search by phone numbers (#1089)
    • Aggregate phone numbers

    ๐Ÿ›  Fixes

    none