Skip to content

Nuts

v0.8.5.0 Breaking

This release includes 4 breaking changes for platform teams planning a safe upgrade.

Published 1y Build & Package
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

devops java maven package-manager

Summary

AI summary

DEPRECATED the old docusaurus website, added --boot-repository boot option, and introduced simple NTemplate text templating.

Full changelog

This is a new refactored version with focus on library usability:
Main features:

  • TSON support out of the box
  • NSession & NWorkspace context (no more passed as parameters
  • Enhanced boot wit a new project nuts-boot
    Other features include :
  • ADDED: added NSession::isLogTermLevel, NSession::isVerboseTerm and equivalent for file log as well
  • FIXED: fixed ANSI support for resetLine in Swing Terminal Panel
  • ADDED: boot option (--boot-repository) to help considering this repo only to create the workspace (at create time)
  • ADDED: NRepository::isTemporary
  • ADDED: NPath::writeObject|NPath::writeMsg|NPath::writeText to handle efficient file writing (and or appending)
  • ADDED: better support in NRef for primitive type ( NIntRef has an inc method for instance)
  • ADDED: better added support for --@filepath format in commandline to embed files ars arguments
  • ADDED: better support of windows in nserver
  • ADDED: added support for ps and kill on windows, linux and macos
  • ADDED: added support of dependency resolution regardless of current OS environment (needed for bundles creation)
  • ADDED: added foundations for I18n
  • ADDED: added new runtime repository that supports (for now) netbeans and tomcat
  • ADDED: added simple Levenstein implementation to detect typos of boot commandline arguments and provide meaningful suggestions
  • ADDED: added rememberMe key in NAsk to help remembering user's input to avoid asking the same questions multiple times in same session.
  • ADDED: added simple templating (NTemplate) in NExpr to help manage text templating with simple expressions
  • ADDED: added new tool ndoc and nsite-lib (the related library) to generate statically html websites...
  • FIXED: enhanced NExprs toolkit to support complex expressions, and is now default for ndoc
  • DEPRECATED: deprecated for removal nclown (was really never used)
  • DEPRECATED: deprecated for removal old docusaurus website and replace with one new based on ndoc (a tool by nuts!!)
  • REMOVED: removed NFetch::isDependencies, NFetch::isEffective, NSearch::isDependencies, NSearch::isEffective (now information is loaded in lazy mode)
  • CHANGED: When generating preview jar, it will support natively thevpc.net
  • ADDED: added option --preview-repo | -U to help simplifying preview mode installation.
  • CHANGED: nuts-app now depends only on nuts-boot
  • CHANGED: extracted nuts boot that does only load runtime all within its API. This will make simpler api upgrades
  • CHANGED: nuts is exploded into nuts-boot (minimal bootstrap app), nuts (api library), nuts-lib (common library), two applications : nuts-app (minimal) and nuts-app-full (including runtime)
  • WARNING: The OSS License has changed from APACHE2 to LGPL3
  • REMOVED: cleanup and removal of javax.security (and all SecurityManager staff) as It's marked for removal for JDK 24
  • CHANGED: simplified NPathSPI interface to help simpler implementation of, let's say, in-memory files for instance
  • FIXED: fixed NStringBuilder::lines()
  • CHANGED: enhanced and simplified NProgressMonitor API
  • ADDED: added support for TSON
  • CHANGED: introduced NAppRunOptions to help customize application behaviour when running NApplication (exit on termination, throw error when found, handle error and only show a short message,etc)
  • ADDED: added NPath::ensureEmptyDirectory, NPath::ensureEmptyFile to help delete file/folder content is a clean manner
  • ADDED: Now you can customize NOptional Message with NOptional::withMessage
  • FIXED: fixed several issues related to utility methods that generate NException whereas the workspace is not yet created
  • CHANGED: for now on, nuts jar will include information about if it supports automatically preview features. You still can disable them using repo filters.
  • CHANGED: refactored nuts to separate nuts-boot, nuts-api (nuts), nus-lib and nuts-runtime

Breaking Changes

  • DEPRECATED: nclown (marked for removal)
  • DEPRECATED: old docusaurus website (replaced with ndoc‑based site)
  • REMOVED: NFetch::isDependencies, NFetch::isEffective, NSearch::isDependencies, NSearch::isEffective
  • REMOVED: javax.security and all SecurityManager staff

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track Nuts

Get notified when new releases ship.

Sign up free

Related context

Earlier breaking changes

  • v0.8.9.0 Removed matrix support; matrices are now simple arrays of arrays in TSON v2.0.
  • v0.8.9.0 Nuts becomes the reference implementation of TSON; TSON GitHub repo sources are obsolete.
  • v0.8.9.0 Removed regex support in TSON v2.0 due to conflicts with expressions.

Beta — feedback welcome: [email protected]