Releases: AlexFalappa/nb-springboot
Releases · AlexFalappa/nb-springboot
Refinements
- Single column layout of Spring Boot Dependencies in Initializr wizard and Add Spring Boot Dependencies dialog
- Support of
java.time.Period
configuration properties in completion and data type mismatch highlighting (new feature in Spring Boot 2.3.x) - Action to dump Spring Boot configuration properties metadata to a CSV file (mostly useful for debugging)
- All completions add missing chars and continue when sensible
- Java completion in logger name accepts package by pressing dot key
- Updated project content for Basic Spring Boot project wizard
- Improved and updated code generator to inject a Spring Boot setup into a
pom.xml
file - Badge added on maven projects icon in Projects view for projects with Spring Boot dependencies (based on contribution by Hector Espert)
- Fixes to logger name completion provider and configuration properties highlighters
- Upgrade of internal dependencies
- List of closed issues
Completion galore
- Minimum required NetBeans version is now 8.2, minimum required JDK version is now 8
- Configuration properties completion enhanced:
- Logger name, class reference and handle-as value providers are now supported
- Proposals for properties whose data type is a Java enumeration, Java boolean, Spring Resource, Charset and Locale
- Proposals from map key hints
- Proposals for properties of data type List, Set and Map according to contained type
- Implemented Show Method Parameters (
Ctrl+P
) to show data type of property under cursor in a tooltip - Implemented Show Documentation (
Ctrl+Shift+Space Bar
) to show the documentation popup of property under cursor
- New option to prefer array notation in completion
- Upgrade of internal dependencies
Polishing
- Use HTTPS protocol when contacting Spring Initializr service
- New Java files code template for command line runner beans
- Improved Spring Boot Restart action enablement and logic
- List of closed issues
Reactive Goodies
- Support for projects based on Spring Boot 2.x
- Refined the Spring Initializr project wizard:
- presents frequently used starter dependencies first
- linked editing of some base project properties (i.e. artifactId linked to name and package)
- New File templates for:
- actuator endpoints
- reactive
@RestController
annotated classes - reactive repository interfaces
- reactive handler classes
- classes implementing
InfoContributor
- classes implementing
HealthIndicator
- File templates for
@Controller
and@RestController
annotated classes allow to generate error handling methods - New code templates:
- in Java files for web request mapping annotations and webflux router functions beans
- in configuration properties files for commonly used sets of properties
- Changes in maven
pom.xml
management in the Spring Initializr project wizard:- Do not make
spring-boot-devtools
dependency optional by default (use theexcludeDevtools
option of the spring boot maven plugin to control inclusion of devtools in repackaged archive) - Do not set
fork
to true tospring-boot-maven-plugin
configuration section (forking a jvm is automatic when needed)
- Do not make
- Show deprecated configuration properties of level error by default (only effective if no previous plugin preferences found)
- List of closed issues
Hints and quick fixes
- Java editor hints:
- Warning and fix on use of
@ConfigurationProperties
annotation withoutspring-boot-configuration-processor
dependency - Warning and fixes on import of annotations/interfaces of Spring MVC/Spring Data without relevant dependencies
- Warning and fix on use of
- Quick fixes:
- Removal of deprecated,unknown or duplicate properties
- Substitution of deprecated properties with replacement (if present in metadata)
- Error highlighting in configuration properties editor:
- Added highlighting for deprecated properties according to their level in metadata
- Relaxed configuration properties name variants are recognized
- Upgrade to Spring Boot 1.5.8
- List of closed issues
Configuration properties highlighting
- Error highlighting in configuration properties editor for:
- Syntax errors
- Duplicate properties
- Data type mismatches (see documentation for limitations)
- Unknown properties
- Upgrade to Spring Boot 1.5.4
- Manage deprecation error level in configuration properties metadata
- New plugin options for customizing error higlighting severity
- New plugin options for configuration properties lists used in completion and override on launch:
- Include deprecated properties with level error
- Show all deprecated properties last
- Style of configuration properties items in lists is more uniform
- The
application.properties
file wizard allows to choose between main and test resource folders - List of closed issues
Another round of fixes
- Upgrade to Spring Boot 1.5.3
- Projects wizard now open
pom.xml
instead of main class after generation - Internal reworkings to improve plugin initialization and reaction to project build and configuration properties changes
- Focus filter textfield in Add Spring Boot Dependencies dialog
- List of closed issues
Dependencies management and configuration properties editor
- Configuration properties files:
- Custom icon
- Specific editor with extended syntax highlighting (dot separated keys and array notation)
- The Spring Initializr project wizard now supports documentation links recently added to the Spring Initializr web service
- The old code generators for Maven
pom.xml
files have been superseded by a new code generator for adding a set of Spring Boot dependencies exploiting the Spring Initializr service metadata - New code generator for Maven
pom.xml
to add a basic Spring Boot project setup to generic Maven projects - Project wizards open the main class and trigger async download of dependencies after creation
- Metadata downloaded from the Spring Initializr web service are now cached
- Upgrade to Spring Boot 1.5.2
- List of closed issues
Better application launch
- Improved project properties panel:
- Override of Spring Boot configuration properties at application launch
- Checkboxes for enabling debug mode and toggling color output
- Specify Java VM options and add launch optimizations
- Default launch options for newly created projects in global plugin settings
- Updated project content for Basic Spring Boot project wizard
- List of closed issues
General fixes
- File templates ignored a per project custom license
- Reload action renamed to restart and shorcut changed to avoid conflict with new Paste as Lines command in editor multicaret
- Visual improvements to request mappings navigator panel
- Properly handle
Ctrl + Enter
configuration properties completion to overwrite the current property name - Initializr project wizard: removed option to add Spring Boot configuration processor as now it can be chosen in the Dependencies page and checked by default the 'Run/Debug with spring boot maven plugin' option
- Restart action now exploits an environment variable instead of a command line argument. You may see an unexpected
--spring.devtools.restart.trigger-file
argument on old projects after upgrade - List of closed issues