- Installatble with PHP 8.1+
- Requires "wikibase/data-model-services": "~4.0"
- Split
\DataModel
namespace out intowikibase-datamodel
package. RevisionGetter
now returns a genericContent
object if the entity type is known but content mapping is not, instead of throwing.WikibaseFactory
default consstruction changed, with backward compatable fallback.- Can now be used to iteract with WikibaseMediaInfo entities, thanks to new functioanlity in the
addwiki/wikibase-datamodel
package.
- Installable with 7.4+ (including PHP8)
- Typing added throughout
- PSR4 namespacing. Now in
Addwiki\Wikibase
- Installable with 7.3+ (including PHP8)
- Set
maxlag
parameter whenEditInfo
with maxlag is passed toAddwiki\Wikibase\Api\WikibaseApi
RevisionSaver
only setsclear
parameter if it is given an empty entity
- Also installable with wikibase/data-model ~9.2|~8.0
- Require PHP 7.2+
- Initial release from new development monorepo
- All addwiki libraries now have aligned version numbers
- Allows more versions of wikibase/data-model ~4.2|~5.0|~6.0|~7.0|~8.0
- Allows version 0.7 of addwiki/mediawiki-datamodel
- Uses EntityRetrievingTermLookup instead of TermApiLookup to implement TermLookup interface
- Added newEntitySearcher method to WikibaseFactory
- Added newEntityLookup method to WikibaseFactory
- Added newItemLookup method to WikibaseFactory
- Added newPropertyLookup method to WikibaseFactory
- Added newTermLookup method to WikibaseFactory
- Added newEntityDocumentSaver method to WikibaseFactory
- Added ValueParser::parseAsync
- Implemented EntityRedirectLookup::getRedirectForEntityId
- ValueParser methods can now parse multiple values simultaneously
- RevisionSaver fallsback to EditInfo of Revision if no EditInfo is explicitly passed in
- Fixes to StatementCreator
- Fixes to ReferenceSetter
- Requires "wikibase/data-model-services": "~3.0"
- Requires "wikibase/data-model-serialization": "~2.0"
- Requires "wikibase/data-model": "~4.2"
- All deprecated Claim class and method aliases have been removed
- RevisionSaver now always sets the 'clear' param. Meaning elements can be removed from an entity.
- RevisionsGetter::getRevisions can now accept serialized EntityId strings
- Added BadgeIdsGetter service
- Added RedirectCreator service
- Renamed ClaimGetter to StatementGetter, leaving a b/c deprecated alias
- Renamed ClaimSetter to StatementSetter, leaving a b/c deprecated alias
- Renamed ClaimRemover to StatementRemover, leaving a b/c deprecated alias
- Renamed ClaimCreator to StatementCreator, leaving a b/c deprecated alias
- Renamed WikibaseRepo::newClaimGetter to WikibaseRepo::newStatementGetter, leaving a b/c deprecated alias
- Renamed WikibaseRepo::newClaimSetter to WikibaseRepo::newStatementSetter, leaving a b/c deprecated alias
- Renamed WikibaseRepo::newClaimCreator to WikibaseRepo::newStatementCreator, leaving a b/c deprecated alias
- Renamed WikibaseRepo::newClaimRemover to WikibaseRepo::newStatementRemover, leaving a b/c deprecated alias
- Moved ItemApiLookup to Lookup namespace
- Moved PropertyApiLookup to Lookup namespace
- NoLonger Require addwiki/mediawiki-api
- Requires "wikibase/data-model": "~4.0"
- Requires "wikibase/data-model-services": "~1.0"
- Requires "data-values/data-values": "~1.0.0" from "~0.1.0"
- Requires "data-values/time": "~0.8.0" from "~0.7.0"
- Requires "data-values/number": "~0.5.0" from "~0.4.0"
- Requires "data-values/common": "~0.3.0" from "~0.2.0"
- Requires "addwiki/mediawiki-api-base": "~0.3.0"
- Requires "addwiki/mediawiki-datamodel": "~0.5.0"
- Added RevisionsGetter services for getting multiple revisions in as few requests as possible.
- Stop type hinting against deprecated Entity per https://lists.wikimedia.org/pipermail/wikidata-tech/2014-June/000489.html
- Requires "wikibase/data-model": "~3.0"
- You can now clear an entity using RevisionSaver by passing an empty Item/Property/Entity object. Prior to this a UsageException would be thrown as the clear param was not passed to the api.
- SiteLinkSetter now uses the correct API module (wbsetsitelink). Previous to this it was for some reason trying to use 'wblinktitles'.
- RevisionSaver->save() now returns an Entity object instead of always returning true.
We now require the following:
- "wikibase/data-model-serialization": "~1.1"
- "wikibase/data-model": "~2.0|~1.0"
- "data-values/geo": "~1.0|~0.2.0"
- "data-values/data-types": "~0.4.0",
- Adjust for mediawiki-api 0.3
- Adjust for mediawiki-datamodel 0.3
- Internal classes renamed
- Introduced a Service namespace and ServiceFactory
- Introduce Property and Item Content objects
- Renamed ServiceFactory to WikibaseFactory
- Renamed RevisionRepo to RevisionGetter
- Introduced a GenericOptions object
- Introduced several new services
Initial release with the following features:
- EntityRevision
- RevisionRepo
- RevisionSaver
- ServiceFactory
- Can Get, Edit, Save, Create, Manipulate Entities