-
Notifications
You must be signed in to change notification settings - Fork 38
Remove old stuff #11
Comments
To avoid this rename dance in the future, each template will explicitly name the swift version it's for. |
Should we also remove the logic of falling back to a default name in the CLI (in Commander's config)? Or should we keep it falling back to |
As this will be for 5.0 and thus a breaking change, I'd say remove the |
While documenting the templates, I was wondering what the use case is for the |
It's historical, was the first template for colors (before someone pointed out that it wouldn't allow multiple color names having same value). We might as well remove it indeed as it doesn't add any real value |
As we've decided to keep the flat strings template, I think it'd be better if we have |
Side note: maybe we should start a MigrationGuide.md, and enrich it on every PR removing old stuff. Like for this PR we could have a paragraph "old name / new name" for the templates so that people know what to replace their |
Had the same thought. Will see about making one for this to get started. |
Refs SwiftGen/SwiftGen#244
default
: rename toswift2
swift3
: no changesrawvalues
: delete, deprecated bydefault
default
: rename toswift2
swift3
: no changesdefault
: delete, deprecated bydot-syntax
dot-syntax-swift3
: rename toswift3
dot-syntax
: rename toswift2
swift3
: delete, deprecated bydot-syntax
all-values
: add the all values option to templates using a--param
default
: rename toswift2
swift3
: no changesosx-default
: rename tomacOS-swift2
osx-swift3
: rename tomacOS-swift3
lowercase
: check if these are still needed with module parsing introduced in 4.2uppercase
: check if these are still needed with module parsing introduced in 4.2osx-lowercase
: check if these are still needed with module parsing introduced in 4.2default
: rename toflat-swift2
dot-syntax-swift3
: rename tostructured-swift3
dot-syntax
: rename tostructured-swift2
genstrings
: no ideano-comments-swift3
: add as--param
option to other templatesstructured
: delete, deprecated bydot-syntax
swift3
: rename toflat-swift3
The text was updated successfully, but these errors were encountered: