Skip to content

Releases: nextdeveloper-nl/commons

feat: enhance address retrieval logic to allow viewing of other accou…

Choose a tag to compare

@yakari007 yakari007 released this 23 Jun 14:08
29abbab

feat: add method to set a single invoice address for the current account @ikhalilatteib

Choose a tag to compare

@yakari007 yakari007 released this 23 Jun 11:06
73bf7e6

Fix the Commons category filter to exact-match

Choose a tag to compare

@yakari007 yakari007 released this 23 Jun 06:26
2130d94

Added object_type and object_id to common_categories table

Choose a tag to compare

@yakari007 yakari007 released this 16 Jun 06:04
f9b6193

v1.18.5: Merge pull request #225 from nextdeveloper-nl/dev

Choose a tag to compare

@yakari007 yakari007 released this 01 Jun 12:34
1767cd2

Adds NextDeveloper\Commons\Helpers\ObjectHelper with three methods:

  • getPublicObjectName() — strips \Database\Models from a full model class name (e.g. NextDeveloper\IAAS\Database\Models\VirtualMachines → NextDeveloper\IAAS\VirtualMachines)
  • getPrivateObjectName() — reverses the above (short form → full model class)
  • getObject() — resolves and fetches a model by object type and ID/UUID

Abstract action negative runtime bug fixed

Choose a tag to compare

@yakari007 yakari007 released this 20 May 18:15
d1c3f74

Pusher is_test feature added

Choose a tag to compare

@yakari007 yakari007 released this 20 May 06:22
e66a4de
N8NPusher: Added is_test metadata flag — when true, replaces /webhook/ with /webhook-test/ in the URL for n8n test trigger mode
PushersService: trigger() now creates a PusherLog (status=pending) and explicitly dispatches PushObjectJob on the pushers queue — decoupled from the created:PusherLogs event which was architecturally incorrect
PushObjectJob: Removed EVENTS constant; job is no longer event-driven, it is dispatched directly by trigger()

Decouple PushersService

Choose a tag to compare

@yakari007 yakari007 released this 18 May 18:59
d69c596

Summary

PushersService::trigger() now creates the PusherLog (status=pending) and explicitly dispatches PushObjectJob — no longer relies on the created:NextDeveloper\Commons\PusherLogs event
Removed PushObjectJob::EVENTS constant — the job is no longer event-driven
Removed the status='processing' workaround and synchronous execute() call from trigger()

Why: Architecturally, a log creation event should not trigger its own delivery. The trigger point is PushersService::trigger(), not the DB write. The event-based binding was already commented out in BindEventsCommand.php with the note: "A Log cannot trigger an object. Object can create a log."
Test plan

Call PushersService::trigger($pusherId, $payload) and verify PushObjectJob is dispatched to the commons queue
Confirm the job executes the correct driver and the log transitions from pending → completed/failed
Verify no double-execution occurs

🤖 Generated with Claude Code

Pusher service trigger added

Choose a tag to compare

@yakari007 yakari007 released this 18 May 18:24
08ebb27

Pusher service trigger added

feat: Add GET /commons/timezones endpoint

Choose a tag to compare

@yakari007 yakari007 released this 16 May 07:00
b430f85