Skip to content

Releases: newcore-network/opencore-cli

v0.5.1

18 Jan 12:17
c874528

Choose a tag to compare

OpenCore CLI v0.5.1

Highlights

  • Correct LogLevel Propagation: Ensured LogLevel and OpenCore-specific defines (__OPENCORE_LOG_LEVEL__, __OPENCORE_TARGET__) are correctly applied to all resource build tasks, including UI/Views.

Changes

  • Build Defines: Added __OPENCORE_LOG_LEVEL__ and __OPENCORE_TARGET__ defines to all resource and standalone builds to prevent ReferenceError.

Fixes

  • Fixed ReferenceError: __OPENCORE_LOG_LEVEL__ is not defined in satellite resources.
  • Repository url fixed for opencore clone --list

v0.5.0

17 Jan 15:31
01eab03

Choose a tag to compare

OpenCore CLI v0.5.1

Highlights

  • Smart Views Auto-Discovery: The builder now automatically discovers UI/Views directories (ui, view, views, web, html) within resources and standalones, detecting the framework and configuring build tasks without manual intervention.
  • Reflect-Metadata Injection: Added automatic injection of import 'reflect-metadata'; at the top of all client and server bundles.

Changes

  • Views Discovery Logic: Implemented findViewsPath to search for common UI directory conventions.
  • Enhanced Task Generation: Integrated auto-discovery into both glob-based and explicit resource/standalone collection.
  • Global Decorator Support: Injected reflect-metadata via esbuild banners for server/client builds.

OpenCore CLI v0.5.0

Highlights

  • Smart Entry Point Auto-Discovery: The builder now automatically detects server.ts/client.ts in src/, as well as main.ts or index.ts within server/ and client/ directories. No manual configuration required for most projects.
  • New Architecture Support: Added "No-Architecture" mode for minimal projects (simple server.ts and client.ts in core/src).
  • Improved Scaffolding: Refactored layer-based templates for better server/client separation and consistent dependency injection.
  • Enhanced UI Support: Added auto-detection and plugin support for Svelte and Vue frameworks.
  • Styling Improvements: Added support for SASS/CSS and custom alias resolver plugins.

Changes

  • Automatic Entry Point Resolution: Implemented a flexible resolution logic in the build system to support multiple project structures out-of-the-box.
  • No-Architecture Mode: New CLI option to generate projects without complex folder structures.
  • Layer-Based Refactor: Controllers now correctly inject services by default for better architectural separation.
  • Bootstrap Updates: Updated server.ts and client.ts templates with clearer examples and better initialization logic.
  • NPM & Go Updates: Updated Go version to 1.24.5 and optimized NPM package structure.
  • Documentation: Comprehensive CLI documentation added and README updated.

Fixes

  • Update Cache Removed: Removed update.json internal cache to prevent versioning issues and ensure real-time update checks.
  • Template Typos: Fixed critical typos in templates (e.g., source vs player.source in controllers).
  • Framework Detection: Improved framework detection logic for UI builds.

Notes

  • Version v0.4.11 was skipped in favor of v0.5.0 to reflect major architectural improvements.
  • No breaking changes for existing projects.

v0.4.10

11 Jan 19:45
a761f83

Choose a tag to compare

OpenCore CLI v0.4.10

Highlights

  • New Sass/CSS support with integrated alias resolution for cleaner and more flexible imports
  • Improved developer experience for create commands with unified prompts and consistent output

Changes

  • Added support for Sass and CSS, including a new alias resolver plugin for build-time path resolution
  • Refactored all create commands to use shared prompt logic and standardized output formatting
  • Introduced reusable helpers for name resolution, prompt configuration, and result rendering

Fixes

  • Removed duplicated validation and prompt logic across create flows
  • Eliminated inconsistent success messages between feature, resource, and standalone creation
  • Test resource_builder_test fixed, to add dependencies
  • CI: fix in push with Trusted Publisher and tests added
  • Updated all CI actions

Notes

  • No breaking changes

v0.4.8

07 Jan 18:31
556efe1

Choose a tag to compare

Full Changelog: v0.4.7...v0.4.8

v0.4.7

07 Jan 17:40
f946a19

Choose a tag to compare

Full Changelog: v0.4.6...v0.4.7

v0.4.6

05 Jan 22:55
495ea09

Choose a tag to compare

Full Changelog: v0.4.5...v0.4.6

v0.4.5

05 Jan 19:15
e21682f

Choose a tag to compare

Full Changelog: v0.4.4...v0.4.5

v0.4.4

05 Jan 13:45
ea30ee7

Choose a tag to compare

Full Changelog: v0.4.3...v0.4.4

v0.4.3

05 Jan 13:31
e6bf317

Choose a tag to compare

Full Changelog: v0.4.1...v0.4.3

v0.4.1

04 Jan 21:49
e1260a7

Choose a tag to compare

Full Changelog: v0.4.0...v0.4.1