- Fixed casing of
AgreementResponse.agreementto remove uppercaseA - GraphQL peer dependency minimum compatible version downgraded to
14.5.8. (Incompatibilities were between GraphQL & GraphiQL, not this lib.)
- Added
classifiedAstoOrganization - Added
onHandEffecttoAction - Added
defaultUnitOfResourcetoResourceSpecification - Added
RecipeExchangeto the recipe module - Further modularised schemas to allow economic modules to be used without
Agentfunctionality - Updated GraphQL modules to most recent version (
15.xseries) and configuredgraphqlas a peerDependency to allow broader compatibility
- Allow overriding options for both
buildASTSchemaandmergeTypeDefs
- Allow overriding options to
mergeTypeDefsin order to deal with looser validation in extension schemas
- Added an additional argument to
buildSchemato allow passing extension schemas as SDL strings in order to extend core VF with custom domain-specific additions easily - Breaking: removed loose
AnyTypecustom scalar and restrictedinScopeOffields to only allowPerson | Organizationas valid values. Note that implementations may extend theAccountingScopeunion type if they wish to allow other types of record scoping (eg. groups without collective agency, geographical locations). - Breaking: removed
allprefixes from toplevel record listing endpoints for sensible autocomplete, and made search endpoint query prefixes into suffixes - Breaking: fixed deletion methods taking
Stringwhen they should receiveID
- Fix generated TypeScript / Flow types missing "bridging" fields due to misconfiguration of
graphql-codegen - Fix
EconomicEventappreciation edges linking directly to other events instead of viaAppreciation
- Added descriptions to all
inputfields, to make interacting with the API more self-documenting - Added pagination parameters to all list queries
- Removed many accounting fields from
EconomicEventUpdateParamsthat should not have been present - Added various fields missed in the original conversion:
Agent.primaryLocationScenario.definedAs
- Fixed missing input fields:
basedOn&classifiedAsinProcessUpdateParamsrefinementOfinPlancreate / updateresourceConformsToinRecipeResourcecreate / updateprocessClassifiedAsinRecipeProcesscreate / updaterefinementOfinScenariocreate / updateScenarioDefinitionUpdateParams.name
- Add missing mutations & queries for
Claim,Scenario,ScenarioDefinition&SpatialThing - Removed
pass&failactions from the set of core verbs (see ValueFlows/#610)
- Finished some rough edges on modularisation such that you no longer need to explicitly include
queryandmutationin the list of schemas tobuildSchema().
- Breaking: significant changes to the internal structure of the module to facilitate modular composition of schemas. Now exports a
buildSchemafunction rather than pre-initialisedschemaobject. UseprintSchemaon the output ofbuildSchema()for tools which require the input as an SDL schema string, rather than a GraphQLSchema object.
- Breaking: renames the
transfer-completeaction totransfer, as the former was confusing for some users - Adds missed mutations for
Proposaland related records
- Adds
defaultUnitOfEfforttoResourceSpecificationas a stop-gap for unit inference in VF0.4 release (see #64)
- Finalise fields for
EconmicResource&EconomicEventcreation & update logic
- Adds missed mutations for
Unit&ProcessSpecification
Updated for ValueFlows 0.4 release.
- Changed from QUDT to OM ontology for measurements
- New action metadata
- Add
EconomicResourcestage & state attributes - Remove
before&aftertime fields onEconomicEvent&Process
Initial release. Rough around the edges, missing many mutations & queries, but the core schema is stable.