Grace v2023.0.0-RC1 released #431
rainboyan
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What's Changed
⭐️ New Features
starter
starter is a new Profile provides only one file, it gives you to write your own Application Templates, apply it when you create a new project including app, plugin, profile. Add a new Profilestarter
#427create-app
command, but not support SNAPSHOT versions. Support for creating Grails apps that using Profiles #425grace-version
Support specific Grace version using command flaggrace-version
#423quiet
flag inCreateAppCommand
Add supportsquiet
flag inCreateAppCommand
#421GroovyScriptCommand
This allow script command to apply Application Templates to exist project, perform some complex tasks such as install, uninstall, upgrade. RefineGroovyScriptCommand
#413namespace
toorg.grails.cli.profile.Command
, allow commands groupd by namespace. Namespaced Command #410Command
can be hidden Commands can be hidden, in some cases, some infrequently used commands do not need to be shown to the user. SupportCommand
can be hidden #409lib\ext
jars in classpath Support start scripts includinglib\ext
jars in classpath #382⚡️ Breaking Changes
🐞 Bug Fixes
StackOverflowError
when GSP view not exists Don't return cachedUrlMappingInfo
in theUrlMappingsHandlerMapping
ThrowStackOverflowError
when GSP view not exists #378🛠 Improvements
tomcat-jdbc
asimplementation
dependency tograce-plugin-datasource
Maketomcat-jdbc
asimplementation
dependency tograce-plugin-datasource
#429app:template
in non project directoryApplicationTemplateCommand
should implementsProjectCommand
instead ofProfileCommand
Don't showapp:template
in non project directory #428log
field for Domain Class Don't addlog
field for Domain Class #422GrailsVersion
getGrailsGradlePluginVersion()
error for using Grails versiongrace-version
maybe null when usingtoString
grace-version
Supports Grails 3, 4grace-version
Supports Grails 5, 6grace-version
CreateAppCommand
to allow only log errorsquiet
flag toCommandLine
css
database
javascript
enable-preview
Useenable-preview
to ignore flags or options valiategetDeclaredOptions()
forCommandLine
archiveClassifier
of plugin jar toplugin
SetarchiveClassifier
of plugin jar toplugin
#419UrlMappingsHolderFactoryBean
Remove unneed code, it will cause type cast exception EnhanceUrlMappingsHolderFactoryBean
#418ApplicationTemplateCommand
Fixes a minor bug inCreateAppCommand
Application Templates #406apply()
method toGroovyScriptCommand
This will supports script commands to apply Application Templatesdeprecated
property toGroovyScriptCommand
visible
property toGroovyScriptCommand
open
command Deprecateopen
command #412Command
to be deprecated AllowCommand
to be deprecated #411[deprecated]
on commands inhelp
commanddeprecated
property toMultiStepCommand
boolean isDeprecated()
toCommand
getNamespace()
andgetFullName()
toCommand
HelpCommand
Add flagall
to show all commands, only show visible commands defaultvisible
property toMultiStepCommand
org.grails.cli.profile.Command
to Java Add default methodboolean isVisible()
LazyBeanMap
UseLazyMetaPropertyMap
instead Remove deprecatedLazyBeanMap
#408evaluateFeatures
postGenerateProject
generateProjectSkeleton
preApplyTemplate
andpostApplyTemplate
Groovy
task to execute Application Template scriptshasFeature
null
GrailsConsoleAntProject
and Grace's Ant tasksGrailsConsoleLogger
to its own classCreateAppCommand
* Fixes wrong project type * MakegetDestinationDirectory
protected
CreateAppCommand
CleanupCreateAppCommand
Don't use global variablesresolveArtifactString
CreateAppCommand
CreateAppCommand
CreateAppCommand
copySkeleton
Check file exists before copying Copy.gitattributes
CreateAppCommand
create-app
command: display project informations after project created Improvecreate-app
command: display project informations after project created #385create-app
command error message when the app directory exists Improvecreate-app
command error message when the app directory exists #384stacktrace
andverbose
tocreate-app
command Add flagsstacktrace
andverbose
tocreate-app
command #381mavenLocal()
repository when using Grace snapshots version AddmavenLocal()
repository when using Grace snapshots version #380JavaPluginExtension
instead of deprecatedJavaPluginConvention
DirectoryWatcher
: Change logging level todebug
when jna not available on MacOSMetadata.DEFAULT_SERVLET_VERSION
to6.0
⚙️ Tasks
🚀 Dependency Upgrades
org.xhtmlrenderer:core-renderer
R8 Upgrade toorg.xhtmlrenderer:core-renderer
R8 #407Full Changelog: v2023.0.0-M7...v2023.0.0-RC1
This discussion was created from the release v2023.0.0-RC1.
Beta Was this translation helpful? Give feedback.
All reactions