Software 42837 Published by

A new version of the Apache NetBeans IDE is now available.



Apache NetBeans 21

What's Changed

Gradle

  • Move platform jobs to 11 by  @mbien in  #6617
  • OCI ADM vulnerability audit fixes by  @sdedic in  #6669
  • Prevent endless recursion, limit traversal depth. by  @sdedic in  #6691
  • Fix Swaped proxy and exec combo in Gradle Options by  @lkishalmi in  #6806
  • Allow to configure just JVM params or app params by  @sdedic in  #6812
  • Avoid null type, derive from provider type params or fallback to Object. by  @sdedic in  #6820
  • Verify tool proxy setting before adjusting or asking. by  @sdedic in  #6764
  • Project Dependency modification (private) API by  @sdedic in  #6868
  • Let NetBeans know that Gradle 8.5 is good with Java 21 by  @lkishalmi in  #6807
  • Ignore scope inheritance for configs not present in the project. by  @sdedic in  #6936
  • Ensure Gradle new project wizard picks up latest Gradle version by  @neilcsmith-net in  #7029
  • Update Gradle Tooling API to 8.6 by  @lkishalmi in  #6926
  • Debugging fixes by  @sdedic in  #7038

Maven

  • Update maven central repo URL by  @mbien in  #6754
  • Update bundled maven to 3.9.6. by  @mbien in  #6773
  • Update maven mirror generator action. by  @mbien in  #6766
  • Better transient repo deduplication. by  @mbien in  #6757
  • Centralize internal maven artifact version queries. by  @mbien in  #6751
  • Maven dependency update hint and version completion for pom profiles. by  @mbien in  #6765
  • Work better with custom exec-style goals by  @sdedic in  #6805
  • Update to maven-indexer 7.1.1 and lucene 9.9.1. by  @mbien in  #6791
  • Disable ANSI decorations for default (embedded) maven logger. by  @mbien in  #6843
  • Return root node even though everything is filtered. by  @sdedic in  #6846
  • Priming build and reload improvements revisited by  @sdedic in  #6789
  • Upgrade maven-indexer from 7.1.1 to 7.1.2 by  @mbien in  #6935
  • #7018: Avoid NPE on null properties (compatibility) by  @sdedic in  #7033

Java

  • Enable previously disabled tests for the java.hints module. by  @mbien in  #6554
  • Fix for outline tab not loading in case package-info.java file is present in the workspace in vscode by  @Achal1607 in  #6642
  • Code completion support for Micronaut Expression Language added. by  @dbalek in  #6648
  • Fixing the UnitTestForSourceQueryImpl for openjdk projects. by  @lahodaj in  #6481
  • The list of tests should include TestNG tests. by  @lahodaj in  #6615
  • Avoiding crash during indexing when a record has a component with a wrong name. by  @lahodaj in  #6649
  • Improving String templates support in the code gen. by  @lahodaj in  #6637
  • Attempt to fix navigator popup menu race. by  @mbien in  #6727
  • Adding CommandProvider API, to allow removal of commands out of java.lsp.server. by  @lahodaj in  #6133
  • LSP: Java code completion speedup. by  @dbalek in  #6755
  • Fix multiline String brace matching. by  @mbien in  #6726
  • Support for multi-file source launcher. by  @lahodaj in  #6329
  • Micronaut Data Endpoint Method generation added. by  @dbalek in  #6799
  • Detect JPA provider on classpath, removing requirement to have it as legacy library by  @matthiasblaesing in  #6748
  • Fix errors from java multi-file source launcher by  @matthiasblaesing in  #6832
  • Added warning for case where var and diamond operator are used together by  @Achal1607 in  #6780
  • Stacktrace analyzer window fixes by  @mbien in  #6841
  • LSP: Using labelDetails in CompletionItems by  @dbalek in  #6904
  • Not registering the LSP's SingleFileOptionsQueryImpl in java.lsp.server, but only in nbcode by  @lahodaj in  #6854
  • Make NetBeans aware of the StringTemplate.STR default field import. by  @mbien in  #6908
  • nb-javac: Check for Abort/CancelAbort in exception cause chain by  @matthiasblaesing in  #6865
  • Adds null check before calling nullable repository variable method to avoid NPE  #6682 by  @snreinert in  #6694
  • JShell: Running "Execute Java Shell" from Maven project fails by  @matthiasblaesing in  #6905
  • ConvertToLambda hint should ignore default methods. by  @mbien in  #6658
  • Updated test results window by  @mbien in  #6695
  • [NETBEANS-6881][NETBEANS-6880][NETBEANS-6921] Additional fixes for the multi-file launcher: by  @lahodaj in  #6912
  • Adding ability to safely enable/disable module fragments (requires restart, obviously), and tweaking nbjavac so that it can be enable/disabled. by  @lahodaj in  #6743
  • [GITHUB-6970] MultiSourceRootProvider: reduce logging verbosity by  @matthiasblaesing in  #6975
  • Update the mx suite parsing to work with sources of GraalVM version 23.1.0 by  @entlicher in  #7013

PHP

  • Fix php tag fold test (attempt 2) by  @mbien in  #6665
  • PHP 8.2 Support: Constants in Traits  #4725 by  @junichi11 in  #6700
  • PHP: Implemented correct return type guessing for a function that returns an array by  @troizet in  #6697
  • Handle brackets other than string correctly when "]" is typed  #6706 by  @junichi11 in  #6720
  • Fix the formatting for a method invocation with a ternary or null-coalescing operator  #5380 by  @junichi11 in  #6724
  • Fix incorrect indentation behavior  #6731 by  @junichi11 in  #6738
  • PHP: Improve the performance for Go to Declaration by  @junichi11 in  #6712
  • PHP 8.3 Support: Dynamic class constant fetch  #6701 by  @junichi11 in  #6752
  • PHP 8.3 Support: Typed class constants  #6701 by  @junichi11 in  #6793
  • PHP features for NB21 by  @junichi11 in  #6819
  • PHP: Improve enum cases by  @junichi11 in  #6825
  • PHP: Fixing cancelability bugs by reverting from a for each loop to a normal loop by  @troizet in  #6853
  • PHP 8.3 Support: Marking overridden methods (#[\Override])  #6701 by  @junichi11 in  #6873
  • Fix the formatting for the method call arguments alignment option  #6714 by  @junichi11 in  #6877
  • PHP: mark a breakpoint as broken when an error is received when breakpoint_set is executed to set a breakpoint by  @troizet in  #6876
  • Formatting for the group multiline alignment for match arm arrows  #6074 by  @junichi11 in  #6884
  • PHP: New way to set the current breakpoint by  @troizet in  #6891
  • Improve magic methods generation by  @junichi11 in  #6896
  • Add the IncorrectStaticContextHintError as a new hint  #6703 by  @junichi11 in  #6899
  • Fix the named argument code completion for constructors by  @junichi11 in  #6911
  • Fix incorrect code completion with the same member names as semi-type prefixes  #6909 by  @junichi11 in  #6915
  • PHP 8.0 Support: Attribute Syntax (Part 4) by  @junichi11 in  #6929
  • Fix the problem that inccorect indentation is added after an attribute(e.g. #[Attr(1, 2)]) by  @junichi11 in  #6940
  • PHP 8.0 Support: Attribute Syntax (Part 5) by  @junichi11 in  #6939
  • Regenerate PHP signature files by  @junichi11 in  #6950
  • Fix the code completion for predefined attributes by  @junichi11 in  #6951
  • Prevent ParseException when CC is run on the EOF by  @junichi11 in  #7042

Enterprise

  • WildFly - ConcurrentHashMap over synchronized collections and some improvements by  @pepness in  #6602
  • Micronaut Template for Data repository - add support for Pageable by  @thurka in  #6591
  • Database dialect not detected by  @thurka in  #6609
  • Allow for creating Micronaut Controllers based on Data Repository interfaces by  @dbalek in  #6702
  • Micronaut Expression Language: Goto Declaration and Hover implementation by  @dbalek in  #6732
  • Download DB Wallet action should also create a DB Connection from IDE by  @thurka in  #6763
  • "Copy OCID" action added by  @thurka in  #6786
  • @Serdeable annotation added to generated entities. by  @dbalek in  #6811
  • Improve code REST code generation/integration in JavaEE 9+ environments (jakarta namespace change) by  @matthiasblaesing in  #6728
  • Update jaxb maven plugin and handle javax and jakarta namespaces by  @matthiasblaesing in  #6736
  • Add support for GlassFish 7.0.10 by  @pepness in  #6747
  • Add JAVA SE 23 support for Tomcat and TomEE by  @pepness in  #6824
  • allow to copy OCID to clipboard by  @thurka in  #6804
  • Add support for GlassFish 7.0.11 by  @pepness in  #6827
  • Wildfly Integration further cleanup after  dca223a by  @matthiasblaesing in  #6872
  • Entities from Database: Improve DB connection selection by  @matthiasblaesing in  #6888
  • Report all occurences of a vulnerability. by  @sdedic in  #6972

Web

Versioning

  • GIT: Removed unnecessary separators from the git toolbar by  @troizet in  #6709
  • Git client: Enable forced pushes for configured push and push to upstream by  @matthiasblaesing in  #6823
  • Update to JGit 6.8 and Bouncy Castle 1.77 by  @mbien in  #6887

Editor

  • Terminal, Output and Syntax Coloring options UI cleanup. by  @mbien in  #6660
  • [NETBEANS-6527] Do not cast FormatterDocument class to BaseDocument class for formatting xml files by  @Achal1607 in  #6631

UI Changes

  • Fix Project Group window EDT race condition and update UX by  @mbien in  #6772
  • TaskList Model issues broken table model change events (breaks on JDK21+) by  @matthiasblaesing in  #6882
  • Renamed Hudson to Jenkins in UI by  @rothardo in  #6797
  • Update FlatLaf from 3.2.5 to 3.3 by  @DevCharly in  #6948
  • FlatLAF properties fallback to Openable for rcp apps without editors by  @oyarzun in  #6958
  • DiffView: delegate mouse scroll events from lines bar to editor. by  @mbien in  #7009
  • Unable to open Preview Design window on Mac OS X and Windows by  @brunogptavares in  #7026

Platform

  • Update ASM from 9.5 to 9.6 by  @pepness in  #6597
  • [NETBEANS-1914] Fix startup problems on Windows after moving NetBeans install directory by  @eirikbakke in  #5027
  • Forcing restart when to_enable.txt file exists in the Windows launcher. by  @lahodaj in  #6914

Language Server Protocol

  • Ask for DB password when creating OCI Vault by  @jhorvath in  #6645
  • Improve error message for failure to connect to a DB by  @thurka in  #6655
  • The LSP client may send document content with non-LF line endings, normalize before comparing with NB document content. by  @lahodaj in  #6690
  • LSP: Minor changes. by  @dbalek in  #6739
  • Fix old command prefix. by  @jhorvath in  #6733
  • Remove usages of the -Xdebug option. by  @mbien in  #6722
  • LSP: Adding CodaActionProvider API. by  @dbalek in  #6770
  • Update OKE ConfigMap with Vault details by  @jhorvath in  #6746
  • Allow to instruct the client to save a document. by  @sdedic in  #6848
  • Fix unimported command prefix. by  @Ondrej-Douda in  #6851
  • Don't create OCI Vault secrets with empty datasource name by  @jhorvath in  #6870
  • asyncOpenSelectedProjects will return project that correspond to the candidates by  @sdedic in  #6852
  • Work on documents, not on editors. Translate URIs on Windows by  @sdedic in  #6941
  • CustomIndexerImpl should handle broken property files a bit better. by  @mbien in  #6945

VSCode Extension

  • CI: Add build-from-src-zip job by  @mbien in  #6579
  • Improving handling of string templates in the Java syntax. by  @lahodaj in  #6745
  • Use vscode's selected launch config for project launch and codelens run/debug by  @sdedic in  #6813
  • Publish configured GSON in request's Lookup by  @sdedic in  #6847
  • Prevent deadlock from firing events. by  @sdedic in  #6845
  • Adjusting command name for surround.with. by  @lahodaj in  #6771
  • Remove debugging debris preventing extension start. by  @sdedic in  #6928
  • VSCode: Java TextMate grammar updated. by  @dbalek in  #6946

Maintanance

  • Installed some internal generics to fix some compiler warnings by  @tbw777 in  #5576
  • Upgrade commons libs, freemarker, jackson, batik and flexmark by  @mbien in  #6918
  • Upgrade commons-io from 2.15.0 to 2.15.1. by  @mbien in  #6922
  • Github actions version bumps. by  @mbien in  #6850

Other Changes

New Contributors

Full Changelog 20...21

Release Apache NetBeans 21 · apache/netbeans