Releases: boxwise/boxtribute
Releases · boxwise/boxtribute
v2.5.1
Changelog of GraphQL API
The API contains several updates to facilitate measure-products and intra-organisation shipments.
Added
- new
Unit
type - optional field
displayUnit
andmeasureValue
forBox
type - optional fields
displayUnitId
andmeasureValue
forBoxCreationInput
andBoxUpdateInput
- optional fields
dimensionId
andabsoluteMeasureValue
inMovedBoxesResult
andStockOverviewResult
types - new
dimension
field inMovedBoxDataDimensions
andStockOverviewDataDimensions
types - new
units
field inSizeRange
type - new
organisationName
field inUnauthorizedForBaseError
type
Changed
- the
size
field of theBox
type is nullable (if null, the box contains a measure-product) - the
qrCode
argument for the queriesqrCode
andqrExists
is renamed tocode
- the
qrCode
query now returns aQrCodeResult
- the
BoxResult
type is renamed toBoxesResult
- the
box
field of theQrCode
type is aBoxResult
- the
sizeId
field ofBoxCreationInput
is optional - the
sizeId
field ofMovedBoxesResult
andStockOverviewResult
is optional - the
transferAgreementId
field ofShipmentCreationInput
is optional. If null, an intra-organisation shipment is created - the
transferAgreement
field of theShipment
type is optional
v2.4.10
v2.4.9
Changelog of GraphQL API
Removed
- the fields
ProductCategory.sizeRanges
andSizeRange.productCategory
are deleted; no resolvers were implemented anyways
Added
- plenty of comments on queries, mutations, and types
Fixed
User.bases
returns null for any user different from the one currently logged-in, instead of the authorized bases of the currently logged-in user
v2.4.8
Changelog of GraphQL API
Breaking changes
- the
bases
query, as well as the fieldsOrganisation.bases
,TransferAgreement.sourceBases
andTransferAgreement.targetBases
only return non-deleted bases by default. In order to fetch all bases, use( filterInput: { includeDeleted: true } )
Added
- new
Base.deletedOn
field
v2.4.7
Changelog of GraphQL API
Added
- bulk-actions on boxes
- new mutations
deleteBoxes
,moveBoxesToLocation
,assignTagToBoxes
,unassignTagFromBoxes
- corresponding input types, response types incl. error types
- new mutations
- "standard product" feature and custom product mutations
- new mutations
enableStandardProduct
,editStandardProductInstantiation
,disableStandardProduct
- new queries
standardProduct
andstandardProducts
for newStandardProduct
type - new
ProductType
andProductTypeFilter
enums - new mutations
createCustomProduct
,editCustomProduct
,deleteProduct
- new
Product.type
field
- new mutations
- updated beneficiary API
- new
deactivateBeneficiary
mutation - new
BeneficiaryCreationInput.tagIds
field - new
MovedBoxesResult.organisationName
field
- new
- misc.
- new
Box.deletedOn
field - new
Product.inShop
field - new
BeneficiaryDemographicsResult.deletedOn
field
- new
Changed
Base.products
now accepts optionalFilterProductInput
v2.4.3
v2.4.0
v2.3.0
Changelog of GraphQL API
Added
- new
NotDelivered
value inBoxState
enum - new
TargetType
enum - new
boxes(baseId: ID!, ...)
query to fetch all undeleted boxes of a base - new
Product.deletedOn
field - more filter fields for
FilterBoxInput
- new
Shipment.labelIdentifier
field - six queries to fetch statistics about stock and beneficiaries
v2.2.0
Changelog of GraphQL API
Added
- new
InTransit
value inBoxState
enum - new fields
sourceQuantity
,targetQuantity
inShipmentDetail
type
Changed
Box.product
andBox.location
return null instead of raising an authorization error if the user is not authorized for the base that the product/location belongs to
v2.1.4
Changelog of GraphQL API
Added
- new
shipmentDetail
field inBox
type - new fields
sourceSize
,targetSize
,removedBy
,removedOn
,lostBy
,lostOn
,receivedBy
,receivedOn
inShipmentDetail
type
Changed
- in the
BoxState
enum, the valueReceived
is renamed toReceiving
Removed
- the fields
deletedBy
,deletedOn
inShipmentDetail
type