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
Uh oh!
There was an error while loading. Please reload this page.
-
What's Changed
⭐️ New Features
starterstarter 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-appcommand, but not support SNAPSHOT versions. Support for creating Grails apps that using Profiles #425grace-versionSupport specific Grace version using command flaggrace-version#423quietflag inCreateAppCommandAdd supportsquietflag inCreateAppCommand#421GroovyScriptCommandThis allow script command to apply Application Templates to exist project, perform some complex tasks such as install, uninstall, upgrade. RefineGroovyScriptCommand#413namespacetoorg.grails.cli.profile.Command, allow commands groupd by namespace. Namespaced Command #410Commandcan be hidden Commands can be hidden, in some cases, some infrequently used commands do not need to be shown to the user. SupportCommandcan be hidden #409lib\extjars in classpath Support start scripts includinglib\extjars in classpath #382⚡️ Breaking Changes
🐞 Bug Fixes
StackOverflowErrorwhen GSP view not exists Don't return cachedUrlMappingInfoin theUrlMappingsHandlerMappingThrowStackOverflowErrorwhen GSP view not exists #378🛠 Improvements
tomcat-jdbcasimplementationdependency tograce-plugin-datasourceMaketomcat-jdbcasimplementationdependency tograce-plugin-datasource#429app:templatein non project directoryApplicationTemplateCommandshould implementsProjectCommandinstead ofProfileCommandDon't showapp:templatein non project directory #428logfield for Domain Class Don't addlogfield for Domain Class #422GrailsVersiongetGrailsGradlePluginVersion()error for using Grails versiongrace-versionmaybe null when usingtoStringgrace-versionSupports Grails 3, 4grace-versionSupports Grails 5, 6grace-versionCreateAppCommandto allow only log errorsquietflag toCommandLinecssdatabasejavascriptenable-previewUseenable-previewto ignore flags or options valiategetDeclaredOptions()forCommandLinearchiveClassifierof plugin jar topluginSetarchiveClassifierof plugin jar toplugin#419UrlMappingsHolderFactoryBeanRemove unneed code, it will cause type cast exception EnhanceUrlMappingsHolderFactoryBean#418ApplicationTemplateCommandFixes a minor bug inCreateAppCommandApplication Templates #406apply()method toGroovyScriptCommandThis will supports script commands to apply Application Templatesdeprecatedproperty toGroovyScriptCommandvisibleproperty toGroovyScriptCommandopencommand Deprecateopencommand #412Commandto be deprecated AllowCommandto be deprecated #411[deprecated]on commands inhelpcommanddeprecatedproperty toMultiStepCommandboolean isDeprecated()toCommandgetNamespace()andgetFullName()toCommandHelpCommandAdd flagallto show all commands, only show visible commands defaultvisibleproperty toMultiStepCommandorg.grails.cli.profile.Commandto Java Add default methodboolean isVisible()LazyBeanMapUseLazyMetaPropertyMapinstead Remove deprecatedLazyBeanMap#408evaluateFeaturespostGenerateProjectgenerateProjectSkeletonpreApplyTemplateandpostApplyTemplateGroovytask to execute Application Template scriptshasFeaturenullGrailsConsoleAntProjectand Grace's Ant tasksGrailsConsoleLoggerto its own classCreateAppCommand* Fixes wrong project type * MakegetDestinationDirectoryprotectedCreateAppCommandCleanupCreateAppCommandDon't use global variablesresolveArtifactStringCreateAppCommandCreateAppCommandCreateAppCommandcopySkeletonCheck file exists before copying Copy.gitattributesCreateAppCommandcreate-appcommand: display project informations after project created Improvecreate-appcommand: display project informations after project created #385create-appcommand error message when the app directory exists Improvecreate-appcommand error message when the app directory exists #384stacktraceandverbosetocreate-appcommand Add flagsstacktraceandverbosetocreate-appcommand #381mavenLocal()repository when using Grace snapshots version AddmavenLocal()repository when using Grace snapshots version #380JavaPluginExtensioninstead of deprecatedJavaPluginConventionDirectoryWatcher: Change logging level todebugwhen jna not available on MacOSMetadata.DEFAULT_SERVLET_VERSIONto6.0⚙️ Tasks
🚀 Dependency Upgrades
org.xhtmlrenderer:core-rendererR8 Upgrade toorg.xhtmlrenderer:core-rendererR8 #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