- Fixed casing of
AgreementResponse.agreement
to remove uppercaseA
- GraphQL peer dependency minimum compatible version downgraded to
14.5.8
. (Incompatibilities were between GraphQL & GraphiQL, not this lib.)
- Added
classifiedAs
toOrganization
- Added
onHandEffect
toAction
- Added
defaultUnitOfResource
toResourceSpecification
- Added
RecipeExchange
to the recipe module - Further modularised schemas to allow economic modules to be used without
Agent
functionality - Updated GraphQL modules to most recent version (
15.x
series) and configuredgraphql
as a peerDependency to allow broader compatibility
- Allow overriding options for both
buildASTSchema
andmergeTypeDefs
- Allow overriding options to
mergeTypeDefs
in order to deal with looser validation in extension schemas
- Added an additional argument to
buildSchema
to allow passing extension schemas as SDL strings in order to extend core VF with custom domain-specific additions easily - Breaking: removed loose
AnyType
custom scalar and restrictedinScopeOf
fields to only allowPerson | Organization
as valid values. Note that implementations may extend theAccountingScope
union type if they wish to allow other types of record scoping (eg. groups without collective agency, geographical locations). - Breaking: removed
all
prefixes from toplevel record listing endpoints for sensible autocomplete, and made search endpoint query prefixes into suffixes - Breaking: fixed deletion methods taking
String
when they should receiveID
- Fix generated TypeScript / Flow types missing "bridging" fields due to misconfiguration of
graphql-codegen
- Fix
EconomicEvent
appreciation edges linking directly to other events instead of viaAppreciation
- Added descriptions to all
input
fields, to make interacting with the API more self-documenting - Added pagination parameters to all list queries
- Removed many accounting fields from
EconomicEventUpdateParams
that should not have been present - Added various fields missed in the original conversion:
Agent.primaryLocation
Scenario.definedAs
- Fixed missing input fields:
basedOn
&classifiedAs
inProcessUpdateParams
refinementOf
inPlan
create / updateresourceConformsTo
inRecipeResource
create / updateprocessClassifiedAs
inRecipeProcess
create / updaterefinementOf
inScenario
create / updateScenarioDefinitionUpdateParams.name
- Add missing mutations & queries for
Claim
,Scenario
,ScenarioDefinition
&SpatialThing
- Removed
pass
&fail
actions from the set of core verbs (see ValueFlows/#610)
- Finished some rough edges on modularisation such that you no longer need to explicitly include
query
andmutation
in the list of schemas tobuildSchema()
.
- Breaking: significant changes to the internal structure of the module to facilitate modular composition of schemas. Now exports a
buildSchema
function rather than pre-initialisedschema
object. UseprintSchema
on the output ofbuildSchema()
for tools which require the input as an SDL schema string, rather than a GraphQLSchema object.
- Breaking: renames the
transfer-complete
action totransfer
, as the former was confusing for some users - Adds missed mutations for
Proposal
and related records
- Adds
defaultUnitOfEffort
toResourceSpecification
as a stop-gap for unit inference in VF0.4 release (see #64)
- Finalise fields for
EconmicResource
&EconomicEvent
creation & 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
EconomicResource
stage & state attributes - Remove
before
&after
time fields onEconomicEvent
&Process
Initial release. Rough around the edges, missing many mutations & queries, but the core schema is stable.