Skip to content

Vendure GoedGepickt plugin changelog

← Plugin documentation · View on npm

  • Split the single nightly full sync scheduled task into two separate tasks:
    • goedgepickt-sync-stock runs every night at 2:00 AM to pull stock levels from GoedGepickt
    • goedgepickt-push-products runs every Monday at 6:00 AM to push all Vendure products to GoedGepickt
  • Split doFullSync() into pullAllStocklevels() and pushAllProductsToGoedgepickt() in GoedgepicktService
  • Include dashboard extensions in dist.
  • Replaced manual full sync with an automated nightly scheduled task. The plugin now registers a ScheduledTask that runs every night at 2:00 UTC (4:00 CEST) and syncs all enabled channels.
  • Pull stock levels from GoedGepickt via a button on the product detail page.
  • Breaking: Removed endpointSecret from GoedgepicktPluginConfig. The /goedgepickt/fullsync/:secret endpoint has been removed.
  • Breaking: Removed the runGoedgepicktFullSync GraphQL mutation.
  • Breaking: Removed the GoedGepickt full sync action bar item from the product list page in the dashboard. Use the scheduled task UI to trigger a full sync.
  • Breaking: The DefaultSchedulerPlugin must now be present in your Vendure config for the full sync to run automatically.
  • Fix negative freeStock from Goedgepickt by clamping stockOnHand to 0, preventing error.stockonhand-cannot-be-negative errors
  • Migrated to React Dashboard
  • Fix image placeholder detection so Vendure images are sent when Goedgepickt’s placeholder is .jpg and so new products get the Vendure image
  • Send house numbers as strings to Goedgepickt API to prevent “Billing house number moet een tekst zijn” errors
  • Reduced push order job retries from 10 to 3
  • Upgraded to Vendure 3.6.3
  • Added support for incoming compound product stock update webhook
  • Upgraded to Vendure 3.5.3
  • Fix object null is not iterable at GoedgepicktService.splitHouseNumberAndAddition for empty house number string
  • Documentation update
  • Updated official documentation URL
  • Allow empty UUID and ApiKey in Goedgepickt config on Channel.
  • Improved error logging when incoming webhooks fail
  • Don’t try to transition to Delivered when the order is in PaymentAuthorized state
  • Upgrade to Vendure to 3.3.2
  • Try/catch around event handling, to prevent node process crash on error
  • Fix for numeric SKU’s
  • Set correct main and types paths in package.json, now that we don’t export files from outside the root anymore.
  • Process incoming stock and order webhooks via the job queue, to prevent webhook disabling in GoedGepickt
  • Process stock updates via the job queue, so that it is retried when GoedGepickt returns a Too Many Attempts error
  • Don’t use GoedGepickt as fulfilment handler anymore, instead directly move to Shipped or Delivered on incoming status change.
  • Update image when the image on GoedGepickt is a placeholder
  • Check for undefined or null, to prevent stock updates with 0 being ignored
  • Prevent empty update SQL statement
  • Update stock in batches of 500
  • Setting allocated to 0 on incoming stock updates and full sync
  • Removed validating of webhook signature. Fetching stock and order status directly from GoedGepickt on incoming webhook instead.
  • Moved GG config to Channel Custom Fields, instead of custom UI component.
  • Breaking: DB migration needed
  • Breaking: You need to save GoedGepickt credentials on a channel now: Settings > Channel > GoedGepickt custom fields
  • Only sync product image on creation, not on update, after complaints from GoedGepickt about too many updates.
  • Update Vendure to 3.1.1
  • orderPlacedAt field should not be mandatory to push to Picqer
  • Allow setting custom order state in GoedGepickt
  • Update compatibility range (#480)
  • Updated Vendure to 2.2.6
  • Push jobs to queue with promise.all(), so that the fullsync webhook finishes faster, and all jobs are in queue.
  • Query by SKU fix for MySQL. sku = :sku instead of productVariant.sku = :sku
  • Log rate limit exceeded as info statements and retry.
  • Fix related to stock not updating when a variant with the same SKU has been deleted before.
  • Correctly transition to Delivered from Shipped
  • Updated vendure to 2.1.1