Releases: newcore-network/opencore-cli
Releases · newcore-network/opencore-cli
v0.5.1
OpenCore CLI v0.5.1
Highlights
- Correct LogLevel Propagation: Ensured
LogLeveland 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 preventReferenceError.
Fixes
- Fixed
ReferenceError: __OPENCORE_LOG_LEVEL__ is not definedin satellite resources. - Repository url fixed for
opencore clone --list
v0.5.0
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
findViewsPathto 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-metadatavia 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.tsinsrc/, as well asmain.tsorindex.tswithinserver/andclient/directories. No manual configuration required for most projects. - New Architecture Support: Added "No-Architecture" mode for minimal projects (simple
server.tsandclient.tsincore/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.tsandclient.tstemplates 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.jsoninternal cache to prevent versioning issues and ensure real-time update checks. - Template Typos: Fixed critical typos in templates (e.g.,
sourcevsplayer.sourcein 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
OpenCore CLI v0.4.10
Highlights
- New Sass/CSS support with integrated alias resolution for cleaner and more flexible imports
- Improved developer experience for
createcommands 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
createcommands 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_testfixed, to add dependencies - CI: fix in push with
Trusted Publisherand tests added - Updated all CI actions
Notes
- No breaking changes
v0.4.8
Full Changelog: v0.4.7...v0.4.8
v0.4.7
Full Changelog: v0.4.6...v0.4.7
v0.4.6
Full Changelog: v0.4.5...v0.4.6
v0.4.5
Full Changelog: v0.4.4...v0.4.5
v0.4.4
Full Changelog: v0.4.3...v0.4.4
v0.4.3
Full Changelog: v0.4.1...v0.4.3
v0.4.1
Full Changelog: v0.4.0...v0.4.1