Skip to content

Pincore v3.7.6

Choose a tag to compare

@esmaeilbahrani esmaeilbahrani released this 13 Jul 21:01

Package: pinoox/pincore · Kernel: 3.7.6 (code 172) · PHP: 8.2+
Since: 3.4.6 (code 54) · Compare v3.4.6…v3.7.6

composer require pinoox/pincore:^3.7
php pinoox version --kernel

Highlights

  • Zero-config Vite HMR via @pinooxhq/vite-plugin (multi-app / multi-theme)
  • Platform .zip build & release (build platform, Pinx release)
  • user:login / user:logout CLI and __PINOOX__.auth for @pinooxhq/auth
  • Local serve --domain (hosts file + OS elevation)
  • HTTP QUERY method + upgraded Http client / Portal facade

Added

Frontend / serve / Inspector

  • Mount-aware zero-config fe dev and fe dev:apps for multi-app Vite
  • Theme contexts in fe dev (all contexts for multi-theme apps)
  • @pinooxhq/vite-plugin with Laravel-style pinoox() Vite config
  • Vite runtime state consolidated into .pinoox/dev.json
  • Network mode + auto free-port pick for php pinoox serve / --network
  • Platform serve option and per-app URLs in the platform stack
  • Platform Inspector CLI integrated into serve/dev
  • Expanded backend refresh globs (Component, Portal, config)

Auth & HTTP

  • user:login CLI (wizard, --id, transport scope, env confirm)
  • user:logout and default PINOOX_LOGIN on login
  • Multi-app PINOOX_LOGIN lines; restore PINOOX_LOGIN_TOKEN with --force
  • Publish auth.client slice to __PINOOX__.auth for @pinooxhq/auth
  • HTTP QUERY method on the router
  • Upgraded Http client with QUERY support and Portal facade

Local domain

  • serve --domain for local hostnames
  • Auto-add domain to the hosts file (elevation fallback)
  • Domain wired through fe dev / dev commands

Build / Pinx / packaging

  • Platform .zip build via build platform
  • Build alias + release command
  • vendor_prune and auto-exclude of Composer require-dev packages
  • Gitignore-style include/exclude for builds
  • Scaffold storage + materialize vendor/pinoox path packages from Composer symlinks
  • sodium_compat fallback for Pinx signing without ext-sodium
  • Pinx workspace at project root (~pinx, pinx/keys, pinx/releases)
  • pinx serve (forwards to pincore for matching output)
  • Pinroll CLI registration

Routing & tooling

  • API route filters, priority, and multiple methods
  • Fluent RouteGroupBuilder / route group expansion
  • Unified doctor runner for platform and single-app projects
  • Auto-detect pinx vs php pinoox CLI hints by project layout
  • Formalized package naming (case-insensitive canonical form)

Fixed

  • Autoload helper functions via Composer files
  • Isolate PINOOX_LOGIN_TOKEN from jwt/cookie auth
  • Domain serve: keep bind port, proxy 80 → bind, elevation for hosts updates
  • Platform build: regenerate Composer autoload after staging apps; strip .git and nested vendor from materialized path packages
  • Nested route files: bind Router helpers to the active collection
  • Vite HMR / ports / hot file / Windows PINOOX_VITE_HMR edge cases
  • Migrations path normalized to lowercase database/
  • Optional routes/actions.php in doctor checks

Changed

  • Prefer @pinooxhq/vite-plugin over synced theme Vite stubs
  • Simpler single-stack and platform auto-dev CLI output
  • Removed unused legacy HttpRequest client

Intermediate tags since v3.4.6

v3.4.10v3.4.20v3.5.14v3.6.13v3.6.35v3.7.4v3.7.5v3.7.6