Releases: faberNovel/ccios
Releases · faberNovel/ccios
v5.2.0
Added
- Add support for Swift Packages and Xcode 16 synchronized folders
- Add new optional variable nammed "project_type" which accepts 2 values: "xcode" and "filesystem". When missing ccios use "xcode" by default.
- When "project_type" is set to "filesystem" ccios will not try to update a pbxproj and will only generate files.
- When "project_type" is set to "filesystem" multi target definition is no longer supported for generated files.
- When generating files for an filesystem project, the target name in the header is either: the target defined in the template variables, the target defined in
.ccios.yml
, or it will try to guess the name when using SPM by searching the target name inside the standard naming scheme of: "Sources/<target_name>/".
v5.1.0
Changed
- Target variable is now optional, an empty string or an unset value will use the first target of the project. This change allows templates to not overrides global target settings in
.ccios.yml
- When multiple targets are provided for a file,
{{project_name}}
will now be replaced by the name of the project instead of the name of the first target @MainActor
has been added to relevent files in Coordinator and Presenter templates to improve Swift 6 support- dependency provider snippets has been updated to handle Swift 6 issue (see this issue for why this is required)
v5.0.0
This release is an entire rewrite of the templating system, allowing customization of template and settings.
Added
- New templating system that allows definition of custom templates per project
- A template can now declare multiple CLI arguments and flags
- Generated files can be added to multiple targets
- The base_path group and target can be configured independently for each generated file if needed.
- Add validation that each variable used in a mustache file is provided by the template. The default provided variables are:
filename
,lowercase_filename
,project_name
,full_username
anddate
- List of known templates is available using
ccios --help
Changed
- Default templates has been migrated to the new format
- Configuration file (
.ccios
) format has been changed - Command line invocation has changed:
ccios -p Example [-d]
is nowccios presenter Example [-d]
ccios -c Example [-d]
is nowccios coordinator Example [-d]
ccios -i Example [-d]
is nowccios interactor Example
ccios -r Example [-d]
is nowccios repository Example
- Some default provided mustache variables have been renamed:
name
is nowfilename
lowercased_name
is nowlowercased_filename
v4.1.0
Added
- Allow user to overload templates with local version thanks to the new config parameter in
.ccios.yml