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 namephoneNumber
was added. This type is a primitive type liketext
,string
, etc - as compared to reference type. Similar to the existing typegeoProperties
, the new type contains more than a single field.๐ The full type definition can be seen in the
swagger.json
definitionUsage
0๏ธโฃ There are two user-settable sub-fields (
input
anddefaultCountry
).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
) nodefaultCountry
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 thedefaultCounty
(in this case:"de"
), so that the parse can correctly convert the number into all formats.
Inputs and Formats
phoneNumber.input
is of typestring
. You can enter any phone number. Optional digits, such as an optional0
(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 typestring
. 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 validinput
(string
): The raw phone number as put in by the user (helpful for debugging purposes), see Usage abovedefaultCountry
(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
- When you enter an international number (e.g.