A new version of the Apache NetBeans IDE is now available.
Apache NetBeans 18
What's Changed
Gradle
- Fix spurious messages printed to the console. by @sdedic in #5538
- Avoid ConcurrentMod exception, tolerate broken project dependencies by @sdedic in #5660
- Fixed key escaping; fixed list/map property extraction. by @sdedic in #5535
- Upgraded Gradle Tooling to 8.1-rc-2 with JDK 20 Support by @lkishalmi in #5750
- Report empty set if project does not use buildscript; prevent NPE. by @sdedic in #5768
- Better handling for dependencies w/o versions by @sdedic in #5773
- Upgrade Gradle Tooling API to 8.1 GA by @lkishalmi in #5828
- Avoid NPE on null value in list/map/property. by @sdedic in #5868
- Fix kotlin source/target version. by @sdedic in #5899
Maven
- Fixed copypaste leftovers. by @sdedic in #5406
- UnsupportedOperationException in maven dependency graph "Exclude dependency" and "Fix Version Conflict" actions by @matthiasblaesing in #5431
- Maven EventSpy not compatible < JDK 1.8 by @graben in #5548
- fixes a NPE in TestOutputListenerProvider (maven output handler). by @mbien in #5645
- Improved maven indexer failure modes in low space situations by @mbien in #5655
- add maven indexer remote index download settings. by @mbien in #5646
- upgrade bundled maven to 3.9.1 by @mbien in #5679
- Remove dependencies on Autoupdate UI by @sdedic in #5711
- Maven indexing: Retain download index setting even if index setting is disabled by @matthiasblaesing in #5673
- [maven hints] try to infer compiler plugin version from active maven version. by @mbien in #5693
- make maven project properties window aware of the javac release option by @mbien in #5744
- Improve maven multithreaded execution detection. by @asbachb in #5482
- Force refresh of live subprojects when parent recovers from broken. by @sdedic in #5781
- basic auto completion for maven version properties. by @mbien in #5823
- disable compile-on-save by default in maven projects. by @mbien in #5826
- don't block in NBM wizard + skip snapshots + more. by @mbien in #5753
- support running tests from non default test folders by @Honza-cz in #4924
- add missing error code to enable-preview hint by @mbien in #5837
- Load bundled GraalJS, give priority to GraalVM if present. by @sdedic in #5842
- Fix running and debugging single integration test (GH4513) by @neilcsmith-net in #5911
- Fix unit test on single file being reported as integration test GH4587 by @neilcsmith-net in #5912
- fix wrong maven dependency versions in binariesembedded-list. by @mbien in #5939
Java
- Fixed javadoc tags by @tbw777 in #5419
- Cleanup j2ee.persistence module by @pepness in #5444
- [NETBEANS-4123] Initial implementation of handling large strings by @SirIntellegence in #5299
- Adding system path into the classpath info when parsing custom conditions in a hint file. Avoid failures while constructing custom scopes. by @jlahoda in #5296
- platform dir: fixed some javadoc discrepancies by @tbw777 in #5222
- New rt and rf abbrevations for return true; and return false; by @japplis in #5512
- apidoc error/warning fix ( #2) by @ebarboni in #5561
- Bulk added some missing ElementKind.RECORD enums. by @mbien in #5365
- Adding support for JDK 20 javac. by @jlahoda in #5550
- apidoc error/warning fix ( #3) by @ebarboni in #5623
- Show missing system properties in Javadoc popup (GH5403) by @neilcsmith-net in #5669
- Fixes for Java module graph (GH4227) by @neilcsmith-net in #5668
- apidoc error/warning fix ( #4) by @ebarboni in #5672
- Calculate JDK javadoc links dynamically. by @mbien in #4837
- [NETBEANS-5260] Binding patterns are valid even in absence of MatchException. by @jlahoda in #5682
- apidoc error/warning fix ( #5) by @ebarboni in #5712
- apidoc error/warning fix ( #6) by @ebarboni in #5734
- apidoc fixes by @ebarboni in #5741
- Make JDK URL calculation JDK 8 compatible by @matthiasblaesing in #5748
- apidoc master branch links fix by @ebarboni in #5755
- SourceUtils.findMatchingChild should never return a folder by @jglick in #5739
- Remove dependency of decl. hints on hints UI; UI plugs into hints SPI. by @sdedic in #5671
- Sort overload methods in the Navigator by @junichi11 in #5797
- Adding support for evaluating watches containing binding variables. by @jlahoda in #5763
- debugger.jpda: exclude AsynchStepTest to stabilize job by @mbien in #5832
- improved JDK detection startup tasks by @mbien in #5637
- Retain SOURCE annotations inside the internal model. by @jlahoda in #4882
- Do not attempt to remove unused binding variables for now. by @jlahoda in #5902
PHP
- [ GH-5427] PHP: Fix for displaying property type in documentation if @… by @troizet in #5443
- PHP: Corrected a typo in the php parser tests by @troizet in #5476
- PHP: Changed the way to parse an array type by analogy with other types. by @troizet in #5475
- PHP Debugger - show NULL values by default by @KacerCZ in #5531
- Fixed detection of duplicate types by @KacerCZ in #5534
- Regenerate PHP signature files by @junichi11 in #5565
- Fix #5578 namespaces/use placement by @rossluk in #5579
- Fixed display of hints descriptions for php in the hints settings by @troizet in #5649
- Test PHP cluster on JDK 11 and fix tests where needed by @mbien in #5658
- PHP: Adding a new error hint, as suggested in #5078. by @troizet in #5648
- Fix incorrect unused coloring #5551 by @junichi11 in #5670
- Show intersection types in the PHP doc window #5426 by @junichi11 in #5678
- Add the formatting options for the null coalescing oprator (??) #5011 by @junichi11 in #5689
- Fix GotoDeclaration feature for instanceof interface #5371 by @junichi11 in #5684
- Fix an array formatting in a match arm #5186 by @junichi11 in #5685
- Fix the code completion for instance context of Enum #5100 by @junichi11 in #5686
- [PHP] Multiple default namespace navigator fix, FixImports for the whole file by @rossluk in #5681
- PHP 8.1: Explicit octal integer literal notation #5026 by @junichi11 in #5695
- PHP: Fixed issue #5375 for intersection type by @troizet in #5700
- PHP: Fix the IntroduceSuggestion hint for Enum by @junichi11 in #5704
- Fix GotoDeclaration in Enum implementing interface by @junichi11 in #5706
- Fix an issue that whitespace cannot be added #5707 by @junichi11 in #5710
- Move each golden file to each test file directory by @junichi11 in #5713
- Fix find usages for Enums by @junichi11 in #5718
- Fix being shown incorrect documentation #4494 by @junichi11 in #5701
- Fix the highlighting for private constants of Enum by @junichi11 in #5720
- Prioritize "Before Class End" of Blank Lines Option #4611 by @junichi11 in #5731
- Don't show documentation for an empty line #5347 by @junichi11 in #5725
- Fix code completion for @mixin #4683 by @junichi11 in #5745
- Separate between class-based, function-based, and const-based use statements by a single blank line #4609 by @junichi11 in #5758
- Avoid being scrolled to the end of the editor in the preview panel for formatting options by @junichi11 in #5759
- Avoid showing invalid types in the Fix Imports panel by @junichi11 in #5767
- Fix Find Usages for __construct method #4382 by @junichi11 in #5766
- Fix the syntax error for Nowdoc #4345 by @junichi11 in #5777
- Fix code completion in throw new context #3806 by @junichi11 in #5780
- [ GH-5355] PHP: Corrects the display of the guessed return type for a function or method in the documentation by @troizet in #5779
- Fix the heredoc syntax error #5585 by @junichi11 in #5792
- Fix the problem that "Fix Imports" don't work when there are types that have the same suffix #5330 by @junichi11 in #5801
- Fix PSR1Hint for Enum by @junichi11 in #5805
- Disable PHPCCDocumentationTest.testIssueGH5347_02() in Windows by @junichi11 in #5813
- Add the "End of File" blank line formatting option #4641 by @junichi11 in #5824
- Fix for PHPUnit 10 #5790 by @junichi11 in #5853
- Fix the error when a single quote is escaped in the Latte template #5862 by @junichi11 in #5886
- Fix the problem that documentation for methods and properties is not shown #5881 by @junichi11 in #5885
Enterprise
- Use NotifyDescriptor.ComposedInput for Add ADB command by @jhorvath in #5353
- Various database fixes by @sdedic in #5361
- Improve TomEE support for JPA (Fix 4146) by @pepness in #5415
- Minor / typo fixes by @sdedic in #5442
- Update JSTL to the Jakarta family by @pepness in #5460
- Update ServletJSPAPI to the Jakarta family (covers up to Jakarta EE 8) by @pepness in #5462
- Add support for Glassfish 7.0.1 by @pepness in #5466
- Fix double initialization of comboHelper in Persistence Provider by @pepness in #5480
- Update JSPPARSER to the Jakarta family (covers up to Jakarta EE 8) by @pepness in #5495
- Audits should not automatically change persistent project settings. by @sdedic in #5521
- Upgrade EclipseLink from 2.7.10 to 2.7.12 by @pepness in #5607
- When adding an Autonomous DB, present profiles instead of tenancies by @sdedic in #5543
- Vscode ext should update default connection by @sdedic in #5560
- OCI Audit project command LSP API by @sdedic in #5590
- Use Payara Micro Maven Archetype 1.x/2.x release binary for respective Payara Micro 5.x/6.x by @jGauravGupta in #5573
- Some small UI fixes for the Wildfly/TomEE settings windows. by @mbien in #5608
- Add support for JPA 2.2 by @pepness in #5582
- Add support for GlassFish 7.0.2 by @pepness in #5611
- Add support for GlassFish 7.0.3 by @pepness in #5749
- Imports cleanup by @thurka in #5769
- Jakarta EE 10 - JPA 3.1 support by @jGauravGupta in #4687
Web
- Fixed incorrect regexp usage in KODataBindContext by @tbw777 in #5409
- CSS: Support recursive calc definition, improve compatibility for custom properties, support :has pseudo-class by @matthiasblaesing in #5432
- CSS: Support class/elements names with colons and fix HTML character entity completion by @matthiasblaesing in #5641
- Update Online HTML5 templates: by @pepness in #5729
- JS: Improve handling of private/static fields in JS classes by @matthiasblaesing in #5677
- Stabelize html lexer in broken cases by @matthiasblaesing in #5756
- html.validator: Remove dependency on log4j by @matthiasblaesing in #5716
- JS: Static initializer blocks and "for await ... of ..." by @matthiasblaesing in #5694
- JS: Improve JSX lexing (support fragment syntax and embedded comments) by @matthiasblaesing in #5765
- JS: Improve stability of JS model building (prevent cycles) by @matthiasblaesing in #5786
- JS: Improve handling of export declarations (references and classes) by @matthiasblaesing in #5796
- JS: Don't handle this as global value by @matthiasblaesing in #5800
- Further fixes for GraalVM classloader by @sdedic in #5924
Versioning
- enable versioning labels by default. by @mbien in #5831
- bump delete-artifact action to v2 to be node 16 compatible. by @mbien in #5927
Editor
- Fix case when ANTLR getText() causes assertion in LexerInput. by @lkishalmi in #5619
- Added CompletionItem.shouldSingleClickInvokeDefaultAction to the Editor Completion API by @eirikbakke in #5334
- YAML: Step right curly and brackets when they are right to the caret by @lkishalmi in #5810
- Use Antlr runtimes from ide.libs by @pepness in #5804
- Initial HCL Support by @lkishalmi in #5612
UI Changes
- option window layout adjustments and UI fixes. by @mbien in #5625
- Four small UI improvements, in various areas by @eirikbakke in #5333
- #4818: Update string renderer to only escape undisplayable code points. by @rkeen-siemens in #5757
- option window: category buttons foreground color fix. by @mbien in #5798
- Improve the appearance of disabled icons on FlatLAF Dark (and a tiny improvement on FlatLAF Light) by @eirikbakke in #5761
- macOS: dark window title bars by @DevCharly in #5732
- FlatLaf: change accent color in Options dialog (Appearance > FlatLaf) by @DevCharly in #5795
- FlatLaf: use NetBeans folder icons in NB Explorer by @DevCharly in #5760
- Don't show the '+' separator in keyboard accelerators on MacOS by @eirikbakke in #5336
- Update FlatLaf from 3.0 to 3.1 by @DevCharly in #5818
- [NETBEANS-5327] Added the option to open the selected file or directory in the system file explorer by @Tnnienn in #5770
- Make Options category buttons accent colour aware in FlatLaf. by @neilcsmith-net in #5867
Platform
- platform dir: added missing @OverRide annotations by @tbw777 in #5189
- Improve Dialog Placement by @errael in #5280
- Minimal Lexing Support for Go Language by @lkishalmi in #5297
- Temporary fix: Support extra cluster directories. by @sdedic in #5503
- Update asm from 9.4 to 9.5 by @pepness in #5751
- connection layout AOBE fix by @ebarboni in #5819
Language Server Protocol
- Display additional options prior to the standard ones. by @sdedic in #5411
- Report progress start when handle immediately switches to indeterminate. by @sdedic in #5362
- LSP: Database connection context menu cleanup by @thurka in #5586
- Display DB welcome only when no connections are defined. by @sdedic in #5613
- LSP: Fix Delete action in context menu by @thurka in #5629
- LSP: Fix too many invocation of 'java.db.preferred.connection' by @thurka in #5628
- LSP: Database icons clean-up by @thurka in #5688
- Better LSP command names, conflict resolution by @sdedic in #5692
- Fix registration of Database node by @thurka in #5698
- Do not register AddADBAction in context menu by @thurka in #5696
- Action id of OpenServiceConsoleAction fixed by @thurka in #5703
- Use wait node in VSCode for long running computation of children by @thurka in #5709
- Use wait node in VSCode for long running computation of children by @thurka in #5737
- Service Console has been deprecated - use new replacement URL by @thurka in #5730
- DAP and LSP use a common Lookup. by @sdedic in #5742
- lower the OS level memory consumption of NB LSP by @thurka in #5914
VSCode Extension
- Group and define order for project actions. by @sdedic in #5507
- Fixed typos in DB welcome view by @sdedic in #5541
- Provide a waitable command that completes after NBLS fully starts & registers server-provided commands by @sdedic in #5615
- Remove JDK8 as minimum for build of VSNetBeans. by @MartinBalin in #5587
- VSCode: Limit findPath to file URLs only. by @dbalek in #5643
- VSNetBeans changelog update for 17.0.301 by @dbalek in #5782
- Mention Graal.JS as needed when GraalVM is runtime JDK behind proxy by @MartinBalin in #5785
- VSCode: Renaming Java 8+ debug configuration to Java+. by @dbalek in #5816
Maintanance
- bump test-summary action to v2.x by @mbien in #5376
- nbbuild dir: removed unessesary old forms of Integer type by @tbw777 in #5238
- Simplified usage String.substring() method from two arguments to one … by @tbw777 in #5319
- Cleanup by simplifying strings comparsion with JDK7 Objects.equals() by @tbw777 in #5399
- Replaced all [equals() -> "==", HashSet -> EnumSet, HashMap -> EnumMap] calls for enum types by @tbw777 in #5309
- Removed creating of unused objects by @tbw777 in #5320
- Streams from java.nio.file.Files have to be closed by @tbw777 in #5469
- Removed a lot of compiler warnings by @tbw777 in #5487
- Improved Map/Set usage by @tbw777 in #5332
- Replaced usage of String.to[U/L]Case() with String.equalsIgnoreCase() by @tbw777 in #5219
- switch CI from release to full cluster config. by @mbien in #5568
- Typo correction by @AanshSavla in #5583
- Remove Thread#stop from httpserver and update embedded tomcat by @matthiasblaesing in #5530
- Remove second set of Thread#suspend and Thread#resume usage by @matthiasblaesing in #5532
- Upgrade PostgreSQL JDBC driver to 42.5.4 by @pepness in #5657
- Improve image display tool (antialias, improved dragging, optimize menu and fix warnings) by @matthiasblaesing in #5661
- Upgrade commons compress from 1.21 to 1.23.0 by @pepness in #5705
- JAXB API module fixed by @thurka in #5812
- Jackson library upgrade by @thurka in #5814
- Slf4j library upgrade by @thurka in #5821
Other Changes
- partial revert of #5487 to fix master. by @mbien in #5492
- GoToType dialog checks source attribute before disassembling bytecode by @jtulach in #5539
- Rust by @vieiro in #5567
- Save/restore the ANTLR RustLexer specific internals. by @lkishalmi in #5624
- Remove unnessary build options from project definitions by @matthiasblaesing in #5652
- Rust options panel and Cargo executable selection by @vieiro in #5651
- Revert "Use wait node in VSCode for long running computation of children" by @neilcsmith-net in #5733
- nb-javac: "Eat your own dog food" testing by @jtulach in #5609
- Fixed Formatting under Project Properties by @KacerCZ in #5754
- Rust output window improvements by @vieiro in #5764
- Fix HCL Lexer heredoc error on trailing space. by @lkishalmi in #5846
- Update metabuild GitBranchHash task to handle packed refs. by @neilcsmith-net in #5841
- Make SystemOpenAction dynamic in main menu by @neilcsmith-net in #5870
- HCL fix compound expression grammar by @lkishalmi in #5854
- Fix the Maven Compile on Save UI. by @neilcsmith-net in #5876
- HCL Lexer shall recognize * and / as operator by @lkishalmi in #5888
New Contributors
- @japplis made their first contribution in #5512
- @AanshSavla made their first contribution in #5583
- @rossluk made their first contribution in #5579
- @Tnnienn made their first contribution in #5770
- @Honza-cz made their first contribution in #4924
Full Changelog: 17...18
Apache NetBeans 18