Skip to content

Releases: arkstack-hq/arkstack

0.12.35

Choose a tag to compare

@3m1n3nc3 3m1n3nc3 released this 20 Jun 01:13

What's Changed

Fixed: cloud deployments (Railway, Heroku, Render, …)

  • The server now binds to 0.0.0.0 by default instead of localhost, so platform healthcheck proxies can reach your app.
  • Port resolution prefers the platform-provided PORT variable over APP_PORT (PORTAPP_PORT3000).
  • A new APP_HOST variable (fallback HOST) lets you override the bind host. Set APP_HOST=localhost to restrict to local connections only.
  • No configuration changes are required for existing local development.

Full Changelog: 0.12.29...0.12.35

0.12.29

Choose a tag to compare

@3m1n3nc3 3m1n3nc3 released this 14 Jun 15:53

What's Changed

Fixed

  • use() now throws a clear, actionable error when a trait is undefined/invalid instead of crashing with the cryptic Cannot read properties of undefined (reading 'id'). The message names the likely cause (a circular import where a trait module hadn't finished initializing) so the failure is diagnosable at a glance.

Full Changelog: 0.12.26...0.12.29

0.12.26

Choose a tag to compare

@3m1n3nc3 3m1n3nc3 released this 13 Jun 11:14

What's Changed

  • Add support for Google Cloud Console storage in filesystem pacakge.

Full Changelog: 0.12.23...0.12.26

0.12.23

Choose a tag to compare

@3m1n3nc3 3m1n3nc3 released this 10 Jun 08:55

What's Changed

  • Improve type safety.
  • Provide methods to access the current disk and driver.

Full Changelog: 0.12.22...0.12.23

0.12.22

Choose a tag to compare

@3m1n3nc3 3m1n3nc3 released this 10 Jun 06:19

What's Changed

  • Resolve filesystem disk driver bug that prevented registering disks whose names didn't match driver names.

Full Changelog: 0.12.21...0.12.22

0.12.21

Choose a tag to compare

@3m1n3nc3 3m1n3nc3 released this 09 Jun 22:57

What's Changed

Request Binding Fixes

  • Preserve Clear Router's original request as the Arkstack request source.
  • Populate IP and authentication fields on container-bound requests.
  • Keep user, auth, authUser, and authToken synchronized with middleware updates.
  • Unwrap nested Clear Router request sources correctly.
  • Add real route-level container resolution regression coverage.

Full Changelog: 0.12.20...0.12.21

0.12.20

Choose a tag to compare

@3m1n3nc3 3m1n3nc3 released this 09 Jun 22:35

What's Changed

Authentication Context Fixes

  • Consistently set user, auth, authUser, and authToken after login, registration, and token hydration.
  • Reuse the same Auth instance throughout Express authentication.
  • Synchronize authentication state with underlying request sources.
  • Clear request authentication state on logout.
  • Bind Arkstack's Request class to the active request through arkstackHttpPlugin.
  • Add regression coverage for authentication flows and container resolution.

Full Changelog: 0.12.18...0.12.20

0.7.7

Choose a tag to compare

@3m1n3nc3 3m1n3nc3 released this 14 May 15:08

What's Changed

  • Add support for custom HTML and text templates in MailNotification

Full Changelog: 0.7.3...0.7.7

0.7.3

Choose a tag to compare

@3m1n3nc3 3m1n3nc3 released this 14 May 07:09

What's Changed

Added

  • Added a new Express limiter middleware powered by express-rate-limit.
  • Rate limit violations now throw RateLimitExceededException.
  • Added MailNotification.prepare() to prepare recipient and data context before sending mail.

Changed

  • Renamed auth device payload terminology from AuthAgentPayload to DeviceAgentPayload.
  • Session device detection now reads client-provided device metadata from the x-device-agent header instead of x-auth-agent.
  • Mail notifications now resolve {app_name} from config('app.name'), falling back to Arkstack.

Fixed

  • Mail notification app name rendering now follows application config instead of relying only on APP_NAME.

Compatibility Notes

  • Consumers using AuthAgentPayload should update imports to DeviceAgentPayload.
  • Clients sending device metadata should switch from x-auth-agent to x-device-agent.

Full Changelog: 0.7.2...0.7.3

0.7.2

Choose a tag to compare

@3m1n3nc3 3m1n3nc3 released this 14 May 02:32

What's Changed

  • Update migration tables to use UUIDs for primary keys and user IDs

Full Changelog: 0.7.1...0.7.2