Skip to content

8.6.12

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Jun 17:33

๐Ÿš€ Bus Framework 8.6.12 Release Notes / ๅ‘ๅธƒ่ฏดๆ˜Ž


Changes since 8.6.11 / ่‡ช 8.6.11 ไปฅๆฅ็š„ๅ˜ๆ›ด

  • Version / ็‰ˆๆœฌ๏ผš8.6.12
  • Tag / ๆ ‡็ญพ๏ผš8.6.12

๐Ÿฃ New Features / ๆ–ฐ็‰นๆ€ง

  • โœจ Add Validate typed error-code constants 115000-115027 for Parameter, Blank, Chinese, CitizenId, Compare, Date, Each, Email, English, Equals, False, In, InEnum, IntRange, IPAddress, Length, Mobile, Multiple, NotBlank, NotEmpty, NotIn, NotNull, Null, Phone, Reflect, Regex, Size, and True validators (d791153)
  • โœจ Add Validate default message templates for each validator and preserve placeholders such as field, value, min, max, enumClass, and regexp (d791153)
  • โœจ Add BSD Systat parser for CPU temperature, fan RPM, voltage, battery names, and battery capacity fields from systat -ab sensors (e8f5414)
  • โœจ Add OpenBSD sensor support backed by Systat for CPU temperature, fan speed, and voltage reporting (e8f5414)
  • โœจ Add Linux encrypted device-mapper partition support for CRYPT volumes with /dev/mapper naming and holders fallback (bfe7944)
  • โœจ Add DicomStowConfig HTTP protocol version option with HTTP/1.1 default and builder support (7274676)
  • โœจ Add Volume trilinear interpolation support for byte, short, int, float, and double MPR sample types (7274676)
  • โœจ Add Attributes.containsBulkData and removeAllBulkData(boolean) to detect and remove nested bulk-data sequences (7274676)

๐Ÿ› Bug Fixes / Bug ไฟฎๅค

  • ๐Ÿ› Fix LinuxHWDiskStore device-mapper model selection to distinguish LVM logical volumes, CRYPT encrypted volumes, and generic mapper devices (bfe7944)
  • ๐Ÿ› Fix LinuxHWDiskStore mount resolution for encrypted volumes by checking /dev/mapper names, devnodes, and holders-directory dependencies (bfe7944)
  • ๐Ÿ› Fix MacCentralProcessor CPU tick parsing by converting Mach CPU tick counters to unsigned integer values (bfe7944)
  • ๐Ÿ› Fix MacHWDiskStore DiskArbitration, IOKit, and CoreFoundation lifecycle handling with nested try/finally releases (bfe7944)
  • ๐Ÿ› Fix MacFileSystem UUID lookup to avoid leaking IORegistry entries when non-IOMedia results are returned (bfe7944)
  • ๐Ÿ› Fix Windows registry session queries to close opened HKEY handles after volatile environment lookups (bfe7944)
  • ๐Ÿ› Fix Windows WTS process and session queries to release native process/session buffers on success, skip, and failure paths (bfe7944)
  • ๐Ÿ› Fix Windows RDP session parsing to guard empty WTS protocol, session-info, and client-address buffers before reading them (bfe7944)
  • ๐Ÿ› Fix Windows TCP and UDP connection table reads to close resized native Memory buffers after IP helper calls (bfe7944)
  • ๐Ÿ› Fix Validate Collector flattening so leaf criteria return themselves and aggregate pass state is computed recursively (d791153)
  • ๐Ÿ› Fix Validate non-fast mode to localize and interpolate failed criterion messages before storing Collector results (d791153)
  • ๐Ÿ› Fix Validate message interpolation by moving Criterion from HighMultiReplacer to two-pass StringTemplate placeholder formatting (d791153)
  • ๐Ÿ› Fix Errors.localizedMessage fallback order to prefer resource bundles, explicit annotation messages, registered errors, and then fallback text (d791153)
  • ๐Ÿ› Fix I18n lookup to return raw bundle values or keys when no MessageFormat arguments are supplied (d791153)
  • ๐Ÿ› Fix StowRS failed upload handling to read error streams, log bounded response bodies, throw on HTTP 4xx/5xx, and always disconnect (7274676)
  • ๐Ÿ› Fix EnumConverter custom converter fallback when a matching static conversion method returns null (7274676)
  • ๐Ÿ› Fix HexKit.format for odd-length hexadecimal input by normalizing to byte pairs before applying prefixes and separators (7274676)

๐Ÿ”„ Refactoring / ้‡ๆž„

  • โ™ป๏ธ Refactor Health Unix package layout by removing org.miaixz.bus.health.unix.platform and moving AIX, FreeBSD, OpenBSD, and Solaris directly under org.miaixz.bus.health.unix.* (0e985e9)
  • โ™ป๏ธ Refactor shared Unix drivers, hardware helpers, and JNA bindings into org.miaixz.bus.health.unix.shared.* (0e985e9)
  • โ™ป๏ธ Refactor Health module-info exports, Platform enum mapping, and OS imports for the flattened Unix package structure (0e985e9)
  • โ™ป๏ธ Refactor FreeBSD Procstat, virtual-memory, file-system, and power-source code around the updated BSD support layer (e8f5414)
  • โ™ป๏ธ Refactor OpenBSD power-source and sensor code to reuse Systat parsing for battery and telemetry fields (e8f5414)
  • โ™ป๏ธ Refactor Solaris KstatKit and processor/power-source queries with safer numeric parsing and updated package paths (e8f5414)
  • โ™ป๏ธ Refactor Validate annotations to reference ErrorCode constants instead of Builder.DEFAULT_ERRCODE and inline default messages (d791153)
  • โ™ป๏ธ Refactor Provider message resolution into resolve(Criterion) so exception creation and collected results use the same normalization path (d791153)
  • โ™ป๏ธ Refactor Image STOW multipart response handling into bounded body readers, response verifiers, and part-header helpers (7274676)

๐Ÿ“š Documentation / ๆ–‡ๆกฃ

  • ๐Ÿ“ Update Validate README and README_CN custom validator examples to use ErrorCode._PARAMETER_VALIDATE instead of Builder.DEFAULT_ERRCODE (317039a)
  • ๐Ÿ“ Clarify Transcoder srcPath JavaDoc for dcm2jpg and dcm2dcm to require a single existing DICOM file rather than a directory (7274676)
  • ๐Ÿ“ Add package-info metadata for Auth router, Cortex magic event and revision settings, Gitlab hooks, Image dict and geometry, Logger apache metric, Mapper schema, Spring options, and Health Unix BSD/shared packages (0e985e9)

๐Ÿงฐ Build and Release / ๆž„ๅปบไธŽๅ‘ๅธƒ

  • ๐Ÿ”ง Add GraalVM reflect-config entries for Cortex DefaultRegistryBatchExecutor (44b1968)
  • ๐Ÿ”ง Add GraalVM reflect-config entries for Mapper AOT/runtime components: MapperEntityResolver, MapperMethodTypeResolver, ScopedProviderHandler, MapperOptionsResolver, MapperPluginFactory, and MapperPluginProviders (44b1968)
  • ๐Ÿ”ง Add GraalVM reflect-config entries for Health CupsPrinter, shared Unix drivers, shared Unix JNA structs, BSD Systat, and Systat BatteryFields (44b1968)
  • ๐Ÿ”ง Update Health native-image metadata to match relocated Unix packages across shared, AIX, FreeBSD, OpenBSD, Solaris, and BSD classes (0e985e9)
  • ๐Ÿ”จ Update bus-bom dependency versions for amazon.s3 2.40.17 and beetl 3.21.2.RELEASE (7274676)
  • ๐Ÿ”– Update root VERSION and every module native-image index to include 8.6.12 metadata (ea3955c)

๐Ÿ“ Other Changes / ๅ…ถไป–ๅ˜ๆ›ด