Changelog¶
Version 0.4.1¶
Released on April 30, 2017.
- Fixed
AssertionError
fromgetlist()
on entities with empty claims.
Version 0.4.0¶
Released on April 24, 2017.
- Monolingual texts became able to be handled.
- Added
MonolingualText
type which is a true subtype ofstr
.
- Added
Version 0.3.0¶
Released on February 23, 2017.
- Now
Client
became able to customize how it decodes datavalues to Python objects.- Added
wikidata.datavalue
module andDecoder
class inside it. - Added
datavalue_decoder
option toClient
.
- Added
- Now files on Wikimeda Commons became able to be handled.
- New decoder became able to parse Wikimedia Commons files e.g. images.
- Added
wikidata.commonsmedia
module andFile
class inside it.
- The meaning of
Client
constructor’sbase_url
prameter beccame not to contain the trailing pathwiki/
fromhttps://www.wikidata.org/wiki/
. As its meaning changed, the value ofWIKIDATA_BASE_URL
constant also changed to not have the trailing path. - Added
load
option toClient.get()
method.
Version 0.2.0¶
Released on February 19, 2017.
- Made
Entity
multidict. Now it satisfiesMapping
[Entity
,object
] protocol. - Added
Entity.type
property andEntityType
enum class to represent it. - Added
entity_type_guess
option andguess_entity_type()
method toClient
class. - Implemented
Hashable
protocol and==
/=
operators toEntity
for equality test.
Version 0.1.0¶
Initial version. Released on February 15, 2017.