Skip to content

Releases: graceframework/grace-framework

v2023.0.1

07 Sep 10:31
ce0879e
Compare
Choose a tag to compare

What's Changed

🛠 Improvements

  • 7892088 Change group and description of Gradle task console and shell #525
  • ef6d147 Change group of Gradle task urlMappingsReport #524
  • 1ef2844 Change group of Gradle task runCommand and runScript #523
  • 8fa8867 Set group of Gradle task configScript #522
  • 8a31e8a Improve ApplicationTemplateCommand Support using command line options in app:template #516

🐞 Bug Fixes

  • 569f3ed Task mergeTestReports shoud explicit depend on test #548
  • ee0ade6 Grace BOM: Add missing grace-datastore-web #547
  • 47dcbb2 Fixes compiling error when a Domain Class with @Resource annotation #545
  • 83b8cad Remove exclude dependency org.codehaus.groovy of grace-datatore-* #544
  • 55d7b1a Use ResourceUtils.getURL to resolve the viewsDir location to a java.net.URL #526
  • 3140263 Fixes link 404 in grace-plugin-dynamic-modules/README.md #515

⚙️ Tasks

  • ce0879e Release v2023.0.1
  • 65714f4 Next development version: 2023.0.1-SNAPSHOT

🚀 Dependency Upgrades

Full Changelog: v2023.0.0...v2023.0.1

v2023.0.0

21 Aug 00:26
4f59bcb
Compare
Choose a tag to compare

What's Changed

🛠 Improvements

  • d88304a Update README.md
  • bc59e97 Set group and description of Gradle task pathingJar and pathingJarCommand #513
  • c3532e2 Set group and description of Gradle task runCommand and runScript #512
  • 457daee Set group and description of Gradle task findMainClass #511
  • acbd048 Set description of Gradle task configScript #510
  • 7257f3b Set group and description of Gradle task compileGroovyPages and compileWebappGroovyPages #509
  • c31b3b5 Set group and description of Gradle task urlMappingsReport #508
  • 50f1fe7 Set group and description of Gradle task buildProperties #507
  • 56eb64d Improvements for GrailsPluginManager and DefaultModuleDescriptorFactory #505
  • 9016d58 Adds new method doDynamicModules() to GrailsPluginManager
  • ba8471a Refactor DefaultModuleDescriptorFactory
  • bd98ac5 Enhance DefaultModuleDescriptorFactory Don't throw exception when ModuleDescriptor class of module type not found
  • 2925c41 Deprecate grace-plugin-dynamic-modules #504
  • 1d8cd15 Update DefaultGrailsPluginTests
  • 3db429b Deprecate grace-plugin-dynamic-modules
  • 1df7852 Update DynamicPlugin, change void doWithDynamicModules() to Closure doWithDynamicModules()
  • bd8edf1 Make tests passed Because dependency spring-boot changed to compileOnly #501
  • d108c77 Cleanup runtime dependencies of gracce-shell #501
  • c17fbc1 Ensure that features are applied in a fixed order when creating a project #498
  • b9276a6 Refine ProfileInfoCommand: Check wheather commands deprecated of profile, and append [deprecated] to its description #444
  • f1a0fa1 Change URL of grails-bom to mavenCentral() repository #443

🐞 Bug Fixes

  • 0ce7ddb Disable banner and logging off when executing ./gradlew urlMappingsReport #506
  • 9e13939 Fixed NPE error with DynamicPlugin.doWithDynamicModules() #504
  • c6c12ed Fixes StaticResourceLoaderTests#500
  • 14156f0 Fixes create-app error with App Template #499
  • af1f19b Don't exclude **/.gitkeep when creating a new project #497
  • 1d0974f Remove exclusions of dependency groovy #496
  • d386d0b Optimize SLF4J dependencies for all modules #495
  • 38f9a2e Exclude grace-shell.tar in the distribution of Grace #494
  • 8c5babb Singleton as the defualt scope of Controllers #493
  • 626e87c Use HttpMethod.valueOf instead of resolve method

⚙️ Tasks

  • 4f59bcb Release v2023.0.0
  • af800b2 Start building against Grace Fields Plugin 6.0.0 snapshots #481
  • 206ceb4 Start building against Grace Scaffolding 6.0.0 snapshots #490
  • 8fcab6d Start building against Grace Profile: Web 2023.0.0 snapshots #488
  • 8d3c724 Start building against Grace Profile: Base 2023.0.0 snapshots #483

🚀 Dependency Upgrades

Full Changelog: v2023.0.0-RC2...v2023.0.0

v2022.2.8

15 Aug 22:52
e0af1ce
Compare
Choose a tag to compare

What's Changed

🐞 Bug Fixes

  • 24868e9 Fixes GrailsVersion throw NPE when execute grace -v #473

⚙️ Tasks

  • e0af1ce Release v2022.2.8
  • 589dbf1 Next development version: 2022.2.8-SNAPSHOT

Full Changelog: v2022.2.7...v2022.2.8

v2022.2.7

15 Aug 22:02
79be42d
Compare
Choose a tag to compare

What's Changed

⚠️ The CLI of this version has broken by #473, please use v2022.2.8 instead.

🐞 Bug Fixes

  • 3c4a9a1 Copy .gitattributes to project directory when creating a new project #469
  • 0dec386 Singleton as the defualt scope of Controllers #467
  • 192877d Remove deprecated LazyBeanMap #466
  • 4de88c5 Explicitly set resolve strategy to OWNER_FIRST in BeanBuilder.invokeBeanDefiningClosure #269
  • 1e1cf9e Enhance UrlMappingsHolderFactoryBean Remove unneed code, it will cause type cast exception #415
  • 3195903 Gradle: Use JavaPluginExtension instead of deprecated JavaPluginConvention
  • c38719b Throw StackOverflowError when GSP view not exists #379

🛠 Improvements

  • a13ec34 Optimize SLF4J dependencies for all modules No need to add SLF4J dependencies to all modules #471
  • 19d0dcc Ensure that features are applied in a fixed order when creating a project #470
  • d8a6e6d Exclude grace-shell.tar in the distribution of Grace #468
  • 3c22dbf Force overwrite of existing files When creating an new app #446
  • a1c8484 Set archiveClassifier of plugin jar to plugin #417
  • 2105fab Improve create-app command: display project informations after project created #414
  • a41827a Improve command error message when the app directory exists
  • 086e786 Add mavenLocal() repository when using Grace snapshots version
  • d99f785 Add flags stacktrace and output to create-app command
  • b8c860c Improve DirectoryWatcher: Change logging level to debug when jna not available on MacOS
  • 23caa30 Update docs templates

⚙️ Tasks

  • 79be42d Release v2022.2.7
  • 9db315d Next development version: 2022.2.7-SNAPSHOT

🚀 Dependency Upgrades

Full Changelog: v2022.2.6...v2022.2.7

v2023.0.0-RC2

06 Aug 21:25
e66ebbc
Compare
Choose a tag to compare
v2023.0.0-RC2 Pre-release
Pre-release

What's Changed

🐞 Bug Fixes

  • a54dee1 Fixes GrailsVersion throw NPE when execute grace -v #440

⚙️ Tasks

🚀 Dependency Upgrades

  • 6adc762 Upgrade to Grace Profile: Base 2023.0.0-RC2 #432
  • 18fa4ff Upgrade to Grace Profile: Plugin 2023.0.0-RC2 #433
  • 344b557 Upgrade to Grace Profile: Profile 2023.0.0-RC2 #434
  • 04527e7 Upgrade to Grace Profile: Rest API 2023.0.0-RC2 #435
  • 593c6fe Upgrade to Grace Profile: Starter 2023.0.0-RC2 #436
  • d398ddc Upgrade to Grace Profile: Web Plugin 2023.0.0-RC2 #437
  • 854d59b Upgrade to Grace Profile: Web 2023.0.0-RC2 #438
  • d397174 Upgrade to Tomcat 10.1.28 #439

Full Changelog: v2023.0.0-RC1...v2023.0.0-RC2

v2023.0.0-RC1

06 Aug 16:47
f8621c6
Compare
Choose a tag to compare
v2023.0.0-RC1 Pre-release
Pre-release

What's Changed

⚠️ The CLI of this version has broken by #440, please use v2023.0.0-RC2 instead.

⭐️ New Features

  • 8b2acd3 Add a new Profile 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. #427
  • 81d5eab Force overwrite of existing files When creating an new app When creating a new app, force overwrite are allowed even if the directory already exists #426
  • a38b898 Support for creating Grails apps that using Profiles Using a specific Grails version when you create a new app with create-app command, but not support SNAPSHOT versions. #425
  • 1663f6d Support using latest Grace Snapshot version to test Snapshot is the latest, un-released version of Grace. #424
  • dce18a9 Support specific Grace version using command flag grace-version #423
  • a0bcc67 Add supports quiet flag in CreateAppCommand #421
  • d82c782 Refine GroovyScriptCommand This allow script command to apply Application Templates to exist project, perform some complex tasks such as install, uninstall, upgrade. #413
  • c2e3438 Namespaced Command Add new attribute namespace to org.grails.cli.profile.Command, allow commands groupd by namespace. #410
  • 4c677a7 Support Command can be hidden Commands can be hidden, in some cases, some infrequently used commands do not need to be shown to the user. #409
  • 4993db5 Application templates are simple Groovy files containing DSL, Ant scripts, etc. you can use templates to generate/customize Grace applications. #406
  • 0df7628 Support start scripts including lib\ext jars in classpath #382

⚡️ Breaking Changes

🐞 Bug Fixes

  • f80fec6 Throw StackOverflowError when GSP view not exists Don't return cached UrlMappingInfo in the UrlMappingsHandlerMapping #378

🛠 Improvements

  • 96805c6 Make tomcat-jdbc as implementation dependency to grace-plugin-datasource #429
  • e85768a Don't show app:template in non project directory ApplicationTemplateCommand should implements ProjectCommand instead of ProfileCommand #428
  • 36ae4a6 Don't add log field for Domain Class #422
  • 90b66db Refactor GrailsVersion
  • 31f7415 Fixes getGrailsGradlePluginVersion() error for using Grails version
  • f220ca3 Fixes value of option grace-version maybe null when using toString
  • f2b3bfa Support specific Grails version using command flag grace-version Supports Grails 3, 4
  • 537c6cc Make Gradle compatible old versions used in Grails 3/4
  • 31578ff Fixes issues when initializing dependencies of Profile and Features
  • c8c9b25 Support specific Grails version using command flag grace-version Supports Grails 5, 6
  • a093874 Add methods to check Grails versions
  • 15dc5c3 Support specific Grace version using command flag grace-version
  • 090bdeb Add methods to check Grace versions
  • a76746f Update CreateAppCommand to allow only log errors
  • f7af7fe Add quiet flag to CommandLine
  • 5cdcd92 Provide Command Options for Application Templates When creating a new project, we need to know the command options to create files or apply templates. #420
  • 9b9e762 Add command options to script property and template binding
  • 5289f09 Add more options: css database javascript enable-preview Use enable-preview to ignore flags or options valiate
  • 7632a4d Add getDeclaredOptions() for CommandLine
  • 81a78bc Set archiveClassifier of plugin jar to plugin #419
  • c481d1f Enhance UrlMappingsHolderFactoryBean Remove unneed code, it will cause type cast exception #418
  • 946a950 Use a temporary directory to generate template files #406
  • 72f132e Refine ApplicationTemplateCommand Fixes a minor bug in CreateAppCommand #406
  • b4320ec Add apply() method to GroovyScriptCommand This will supports script commands to apply Application Templates
  • 1ebe33a Add deprecated property to GroovyScriptCommand
  • 5083fac Add visible property to GroovyScriptCommand
  • ee71854 Provides namespace for Script Command
  • 5616e91 Deprecate open command #412
  • 872ee80 Allow Command to be deprecated #411
  • e91e280 Display a warning message when executing a deprecated command
  • 3a56606 Marked [deprecated] on commands in help command
  • 9ab28e8 Add deprecated property to MultiStepCommand
  • ee0d71e Add boolean isDeprecated() to Command
  • c406066 Support namespaced commands
  • 98f2d71 Add getNamespace() and getFullName() to Command
  • 8e46fee Refactor HelpCommand Add flag all to show all commands, only show visible commands default
  • e8e03bb Add visible property to MultiStepCommand
  • ce45bf2 Convert org.grails.cli.profile.Command to Java Add default method boolean isVisible()
  • fd9cb9d Fixes fail tests related Groovy STC #404
  • 19a9c6a Remove deprecated LazyBeanMap Use LazyMetaPropertyMap instead #408
  • 5239dee Extract method evaluateFeatures
  • aadb4ae Support template hooks postGenerateProject
  • a740307 Extract method generateProjectSkeleton
  • 19faeec Support template hooks preApplyTemplate and postApplyTemplate
  • 25ef93b Use Groovy task to execute Application Template scripts
  • c1f88ec Fixes error in hasFeature
  • 3d805c3 Fixes template could be null
  • a3be838 Improve generated project information
  • 7e514da Use GrailsConsoleAntProject and Grace's Ant tasks
  • 052e600 Add more Ant tasks: * File * Git * Grace * Gradle * Groovy * Npm * Run * Say
  • 18b4db3 Move GrailsConsoleLogger to its own class
  • 5cc120d Refactor CreateAppCommand * Fixes wrong project type * Make getDestinationDirectory protected
  • 8550404 Refactor CreateAppCommand Cleanup
  • b6bf662 Refactor CreateAppCommand Don't use global variables
  • 0b10261 remove unneed method resolveArtifactString
  • 91ddf03 Define constant UNZIP_TEMPLATE_TEMP_DIR
  • 24b93a9 Refactor CreateAppCommand
  • fd32d3e Refactor CreateAppCommand
  • af9818c Refactor CreateAppCommand
  • bcd1f47 Binding variables and versions to GStringTemplate
  • 4c9348b Don't call replacestring on binary files
  • 8841e2e Improve copySkeleton Check file exists before copying Copy .gitattributes
  • 6da967b Refactor CreateAppCommand
  • 2d733b7 Add more variables to Ant project properties
  • 653db6d Support zip and git template and template directory
  • 31abf28 Support url resource for templates
  • 7947222 Introduce Grace Application Templates
  • 614429f Improve create-app command: display project informations after project created #385
  • fc836fa Improve create-app command error message when the app directory exists #384
  • dc4f970 Update Gradle default Start Script Templates #383
  • 28da7e8 Add flags stacktrace and verbose to create-app command #381
  • e56cc40 Add mavenLocal() repository when using Grace snapshots version #380
  • dd06d1c Gradle: Use JavaPluginExtension instead of deprecated JavaPluginConvention
  • a93884f Improve DirectoryWatcher: Change logging level to debug when jna not available on MacOS
  • a62daa0 Update docs templates
  • 5f98732 Update github workflows Upgrade Gradle Actions
  • a16f871 Add Jakarta Servlet and JSP taglib schema definitions
  • d97dc03 Update Metadata.DEFAULT_SERVLET_VERSION to 6.0

⚙️ Tasks

🚀 Dependency Upgrades

Full Changelog: v2023.0.0-M7...v2023.0.0-RC1

v2022.2.6

19 Jun 19:39
0937e05
Compare
Choose a tag to compare

What's Changed

🐞 Bug Fixes

  • c1145cc Update SimpleDataBinder to prevent binding to specific types
  • 69a0c5f Fixed hard coded grails-app dir name in GroovyPageCompileTask and GroovyPageForkCompileTask #376
  • e41188b Migrate to org.graceframework.plugins dependency in PluginDefiner #375
  • d356375 Migrate to grace-docs dependency in GrailsDocGradlePlugin #374
  • 08cd974 Fixes Groovy STC errors
  • 80cfeed Set grailsVersion in GrailsUtilTests

🛠 Improvements

⚙️ Tasks

🚀 Dependency Upgrades

❤️Contributors

@rainboyan

Full Changelog: v2022.2.5...v2022.2.6

v2022.1.9

16 Jun 15:21
4304285
Compare
Choose a tag to compare

What's Changed

This is a patch release in the 2022.1.x release line

🐞 Bug Fixes

  • 5c9be36 Update SimpleDataBinder to prevent binding to specific types
  • 046c58b Set grailsVersion in GrailsUtilTests

🛠 Improvements

  • 8641808 Update README.md
  • 94ae461 Update github workflows
  • f8d5dd6 Update github workflows Fixes deprecation upgrade warnings

⚙️ Tasks

🚀 Dependency Upgrades

Full Changelog: v2022.1.8...v2022.1.9

v2022.0.6

16 Jun 14:06
5df2bc9
Compare
Choose a tag to compare

What's Changed

🐞 Bug Fixes

  • cb64093 Update SimpleDataBinder to prevent binding to specific types
  • 61e356e Fixes tests
  • 28b49c5 Fixes Groovy STC errors

🛠 Improvements

⚙️ Tasks

🚀 Dependency Upgrades

Contributors

@rainboyan

Full Changelog: v2022.0.5...v2022.0.6

v2023.0.0-M7

11 Jun 19:24
6cbbefa
Compare
Choose a tag to compare
v2023.0.0-M7 Pre-release
Pre-release

What's Changed

⚡️ Breaking Changes

  • 0560b5a Temporarily remove the run command
  • 3fb9f9b Migrate the new hibernate plugin

🐞 Bug Fixes

  • e7b90fb Fixes task compileGroovy execute failed on Windows
  • eaf1e51 test: Use NullObject.getNullObject()
  • eb67719 Gradle build: Using ByteBuddy instead of Cglib with Spock
  • 3f7c97c Make tests passed Some tests ignored, should resolved later
  • 1a1193f The SourceDirectorySet.outputDir property has been deprecated, use the classesDirectory property instead
  • 97168a6 Fixes test because NullObject's constructor is private now
  • af58932 Grails Web: Fixes StackOverflowError when view not found
  • 1d604fb Grails GSP: Fixes failed test in GrailsConventionGroovyPageLocatorSpec
  • bcdf1cd Grails Bootstrap: Fixes failed test in GrailsPluginMetadataTests
  • 7db7592 Grails Plugin GSP: Fixes StackOverflowError, because DefaultGroovyPageLocator‘s precompiledGspMap was not properly initialized
  • 390aee0 Grails Plugin GSP: Fixes circle reference error in GroovyPagesAutoConfiguration
  • d1c8806 Grails Plugin GSP: Fixes NPE in GroovyPagesAutoConfiguration
  • 4930cd0 Grails Boot: fixes NOT generate ApplicationLoader in BootInitializerClassInjector

🛠 Improvements

  • 5a96f10 Start building against SiteMesh 2.6.0 snapshots #299
  • 0a26b2b Start building against Grace Data Hibernate 2023.0.0 snapshots #296
  • ddc5bff Start building against Grace Data 2023.0.0 snapshots #295
  • 4bedc24 Grails GSP: Make logger protected in DefaultGroovyPageLocator
  • cb4bc76 Grails GSP: Improvements for DefaultGroovyPageLocator
  • f245f73 Grails Shell: Make Commands and Features displaying by order
  • cf43ceb Grails Shell: Rearrange repositories and buildRepositories before using Grails profile
  • e39a542 Grails Core: Make shouldInject(URL) default method in ClassInjector
  • ff683f0 Grails Plugin Interceptors: Adds missing grails.factories
  • 8859660 Grails Plugin GSP: Adding version property to groovyPages plugin
  • 9f777a1 Grails Core: GrailsASTUtils: adding more methods to check whether the specified source is a Grails project source
  • a1adcb8 Grails Core: Deprecated ClassInjector.shouldInject(URL), in favor of shouldInject(ClassNode)
  • 371db31 Grails Gradle Plugin: configure Groovy AST Metadata for configurationScript of GroovyCompileOptions
  • 779befd Improve Gradle build
  • e699075 Gradle Build: cleanup
  • 9876a23 Gradle Build: Configure Java toolchain

⚙️ Tasks

🚀 Dependency Upgrades

Full Changelog: v2023.0.0-M6...v2023.0.0-M7