-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[typescript-angular] Update default Angular version from 4.3 to 7.0 #2117
[typescript-angular] Update default Angular version from 4.3 to 7.0 #2117
Conversation
👍 Thanks for opening this issue! The team will review the labels and make any necessary changes. |
@@ -93,7 +93,7 @@ public TypeScriptAngularClientCodegen() { | |||
this.cliOptions.add(new CliOption(PROVIDED_IN_ROOT, | |||
"Use this property to provide Injectables in root (it is only valid in angular version greater or equal to 6.0.0).", | |||
SchemaTypeUtil.BOOLEAN_TYPE).defaultValue(Boolean.FALSE.toString())); | |||
this.cliOptions.add(new CliOption(NG_VERSION, "The version of Angular. Default is '4.3'")); | |||
this.cliOptions.add(new CliOption(NG_VERSION, "The version of Angular. Default is '6.0.0'")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest to use 7.0.0
, the most recent stable
@@ -138,7 +138,7 @@ public void processOpts() { | |||
if (additionalProperties.containsKey(NG_VERSION)) { | |||
ngVersion = new SemVer(additionalProperties.get(NG_VERSION).toString()); | |||
} else { | |||
ngVersion = new SemVer("4.3.0"); | |||
ngVersion = new SemVer("6.0.0"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
7.0.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok , i'll fix it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…penAPITools#2117) * [typescript-angular] Update default Angular version from 4.3 to 6.0 (NPM Client) * [typescript-angular] Update default Angular version from 4.3 to 7.0 (NPM Client)
PR checklist
./bin/
to update Petstore sample so that CIs can verify the change. (For instance, only need to run./bin/{LANG}-petstore.sh
,./bin/openapi3/{LANG}-petstore.sh
,./bin/security/{LANG}-petstore.sh
and./bin/openapi3/security/{LANG}-petstore.sh
if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in.\bin\windows\
.master
,. Default:3.4.x
,4.0.x
master
.@TiFu (2017/07) @taxpon (2017/07) @sebastianhaas (2017/07) @kenisteward (2017/07) @Vrolijkx (2017/09) @macjohnny (2018/01) @nicokoenig (2018/09) @topce (2018/10)
Description of the PR
update the default Angular version from 4.3 to 6.0 for generate client with npm libraries
issue #2116
useful link : https://angular.io/guide/releases#support-policy-and-schedule