Releases: masesgroup/JNet
V2.5.2: strong improvements in JNetReflector and JNet
Important
This JNetReflector version generates Java stub of nested interface listeners using a new naming convention. The tool will generates the .NET class using the new naming convention, maybe you will found some duplication or missing file in the jvm generated folders after a fresh generation.
This release updates mainly JNet and JNetReflector areas:
- JNet:
- Adds direct classes on all developed classes under Java.Util.Function namespace
- Updates
Iterable
andIterator
using methods instead of properties - Updates exception inheritance and fixed wrong class name in .NET files
- Updates generated classes based on latest JNetReflector
- JNet Templates: no changes
- JNetCLI: no changes
- JNetPS: no changes
- JNetPSCore: no changes
- JNetReflector:
- Changes the way
LocalBridgeClazz
is retrieved to check if the Java class was identified - Changes the way the tool identify listeners
- Manages
Iterable
andIterator
using methods instead of properties - Adds
ClassesToRemoveAsListener
to report classes that shall not be treated as listeners - Adds
DisablePropertiesForGetterSetter
option to disable generation of properties for getter/setter methods - the generated documentation can remove the module portion of the URL, using the new
NoModule
switch available in configuration and on command-line, if the type loaded comes from a module, but it is defined in a JAR - Avoids multiple
new()
constraint in a single where clause - Avoids name clash with language names and avoids inheritance for the
ClassesToRemoveAsListener
- Manages static methods in listeners
- Adds more types clashing with language names
- Changes the way
System.ObsoleteAttribute
is placed to avoid conflicts when a class or namespace is named asSystem
- Adds management of bounds when there is a generic class
- Fixes issue related to generic classes with constraint on themselves
- Fixes issue related to handlers with vararg as first parameter
- Returns error on command-line in case of error
- Changes the way
- Docker: no changes
- Documentation: no major changes
Official Docker images
Official NuGet packages (*)
(*) packages are also available on GitHub packages.
Official PowerShell packages
What's Changed
- Refactoring of jvm folder by @masesdevelopers in #428
- Update exception inheritance by @masesdevelopers in #430
- Review of JNetReflector to support netdroid by @masesdevelopers in #432
- Added check on OriginRootPath to avoid unintelligible error by @masesdevelopers in #434
- Changes by GitHub action by @github-actions in #435
- Solved some issues of JNetReflector by @masesdevelopers in #436
- Fix #436 by @masesdevelopers in #438
- #426 (comment): Review how to identify listeners by @masesdevelopers in #440
- Added direct classes on all developed classes under Java.Util.Function namespace by @masesdevelopers in #441
- Removed unuseful repository clone by @masesdevelopers in #443
- Changed the way LocalBridgeClazz is retrieved to check if the Java class was identified by @masesdevelopers in #445
- Changes by GitHub action by @github-actions in #446
- Update version to 2.5.2 by @masesdevelopers in #442
- Changes by GitHub action by @github-actions in #447
- Changes by GitHub action by @github-actions in #448
Full Changelog: V2.5.1.0...V2.5.2.0
V2.5.1: updates on JNetReflector to better manage Direct classes
This release updates mainly JNet and JNetReflector areas:
- JNet:
- Centralizes
SystemClassLoader
withinJava.Lang.Class
- Updates generated classes bases on latest JNetReflector
- Centralizes
- JNet Templates: no changes
- JNetCLI: no changes
- JNetPS: no changes
- JNetPSCore: no changes
- JNetReflector:
- Creates methods in direct classes
- Removes white line when there aren't any augment in a method
- Docker: no changes
- Documentation: no changes
Official Docker images
Official NuGet packages (*)
(*) packages are also available on GitHub packages.
Official PowerShell packages
What's Changed
- Use HEAD SHA to avoid cache not found in case of re-run by @masesdevelopers in #404
- Centralized and cached SystemClassLoader by @masesdevelopers in #408
- JNetReflector creates methods in direct classes by @masesdevelopers in #409
- Changes by GitHub action by @github-actions in #410
- Removed white line when there aren't any augment in a method by @masesdevelopers in #412
- Better identify condition where shall be added or not a new line by @masesdevelopers in #415
- Changes by GitHub action by @github-actions in #416
- Changes by GitHub action by @github-actions in #418
- Updates developed methods using generated method name by @masesdevelopers in #420
- Version upgrade to 2.5.1 by @masesdevelopers in #422
- Changes by GitHub action by @github-actions in #423
- Changes by GitHub action by @github-actions in #424
Full Changelog: V2.5.0.1...V2.5.1.0
V2.5.0: updates on data exchange at JVM-CLR boundary and more
This release updates mainly JNet and JNetReflector areas:
- JNet:
- updates to JCOBridge 2.5.13
- updates
ByteBuffer
to optimize data exchange at JVM-CLR boundary - generated classes bases on latest JNetReflector
- adds
JNetHelper
to better manages array to list conversion
- JNet Templates: no changes
- JNetCLI: updates Microsoft.CodeAnalysis.CSharp.Scripting
- JNetPS: updates related to latest JNet
- JNetPSCore: no changes
- JNetReflector:
- creates the Direct class which extends standard listeners
- Wrapper methods can be built to invoke JVM methods using signature instead of reflection based identification
- Docker: base image changed from Debian to Ubuntu
- Documentation: updates Docker description
Official Docker images
Official NuGet packages (*)
(*) packages are also available on GitHub packages.
Official PowerShell packages
What's Changed
- Updated to use Ubuntu instead of Debian by @masesdevelopers in #386
- Update documentation of Docker images by @masesdevelopers in #387
- Bump Microsoft.CodeAnalysis.CSharp.Scripting from 4.8.0 to 4.9.2 in /src/net by @dependabot in #383
- Missing document update by @masesdevelopers in #388
- Added basic implementation of test execution at the end of build process by @masesdevelopers in #391
- Updated
ByteBuffer
to optimize data exchange at JVM-CLR boundary by @masesdevelopers in #394 - Update to jammy-chiseled runtime image by @masesdevelopers in #389
- Updates to JCOBridge 2.5.13 by @masesdevelopers in #396
- JNetReflector creates the Direct class which extends standard listeners by @masesdevelopers in #395
- Changes by GitHub action by @github-actions in #397
- Added the same property of a standard class in the side-by-side Direct class by @masesdevelopers in #398
- Changes by GitHub action by @github-actions in #399
- Update Docker and NuGet Tools to .NET 8 by @masesdevelopers in #330
- Update to version 2.5.0 by @masesdevelopers in #400
- Changes by GitHub action by @github-actions in #401
- Changes by GitHub action by @github-actions in #402
Full Changelog: V2.4.0.0...V2.5.0.0
V2.4.0: JVM method invocation based on signature
This release updates mainly JNet and JNetReflector areas:
- JNet:
- updates to JCOBridge 2.5.11
- native boxing classes extends using
INativeConvertible
to better manage type conversion from .NET to JVM and viceversa - generated classes bases on latest JNetReflector uses signature to identify JVM methods
- adds/reviews extension methods
- JNet Templates: no changes
- JNetCLI: no changes
- JNetPS: updates related to latest JNet
- JNetPSCore: no changes
- JNetReflector:
- Uses native types only when JVM counter-part is a native type
- Wrapper methods can be built to invoke JVM methods using signature instead of reflection based identification
- Docker: no changes
- Documentation: no changes
Official Docker images
Official NuGet packages (*)
(*) packages are also available on GitHub packages.
Official PowerShell packages
What's Changed
- Update JNetReflector adding management of direct native types only by @masesdevelopers in #372
- Update to JCOBridge 2.5.11 by @masesdevelopers in #376
- Added management of signature in method invocation by @masesdevelopers in #375
- Changes by GitHub action by @github-actions in #377
- Added INativeConvertible on native types to manage conversion in reviewed extensions by @masesdevelopers in #373
- Version upgrade to 2.4.0 by @masesdevelopers in #378
- Changes by GitHub action by @github-actions in #379
- Changes by GitHub action by @github-actions in #380
Full Changelog: V2.3.0.0...V2.4.0.0
V2.3.0: uses Java.Lang.String instead of string (System.String)
This release updates mainly JNet and JNetReflector areas:
- JNet:
- added some new extensions and operators
- uses
Java.Lang.String
instead ofstring
(System.String
) - generated classes based on latest JNetReflector
- JNet Templates: no changes
- JNetCLI: no changes
- JNetPS: updates related to latest JNet
- JNetPSCore: no changes
- JNetReflector: uses
Java.Lang.String
instead ofstring
(System.String
) - Docker: no changes
- Documentation: no changes
Official Docker images
Official NuGet packages (*)
(*) packages are also available on GitHub packages.
Official PowerShell packages
What's Changed
- Update temporary Docker image name by @masesdevelopers in #356
- Update Docker documentation by @masesdevelopers in #357
- Changes by GitHub action by @github-actions in #358
- Documentation update by @masesdevelopers in #359
- Changes by GitHub action by @github-actions in #360
- Bump nuget/setup-nuget from 1.2.0 to 2.0.0 by @dependabot in #362
- Bump peter-evans/create-pull-request from 5 to 6 by @dependabot in #361
- JNetReflector uses
Java.Lang.String
instead ofstring
(System.String
) by @masesdevelopers in #364 - Update to version 2.3.0 by @masesdevelopers in #365
- Changes by GitHub action by @github-actions in #366
- Changes by GitHub action by @github-actions in #367
- Update news section by @masesdevelopers in #368
- Changes by GitHub action by @github-actions in #369
Full Changelog: V2.2.5.0...V2.3.0.0
V2.2.5: Docker Hub publishing
This release updates mainly JNet and Docker areas:
- JNet:
- fixes a string operator causing stack overflow
- upgrades to CLIParser 3.2.1
- JNet Templates: no changes
- JNetCLI: fixes coming from JNet update
- JNetPS: removes catalog from package
- JNetPSCore: no changes
- JNetReflector: no changes
- Docker: publishes to Docker Hub with updated official name
- Documentation: adds references to CLIParser
Official Docker images
Official NuGet packages (*)
(*) packages are also available on GitHub packages.
Official PowerShell packages
What's Changed
- Fix wrong converter which creates a stack overflow by @masesdevelopers in #343
- Updated CLIParser and added documentation reference by @masesdevelopers in #345
- Removed catalog from PowerShell image by @masesdevelopers in #347
- Added management of Docker Hub by @masesdevelopers in #349
- Reviewed Docker image name in GitHub by @masesdevelopers in #350
- Fixed path to Docker image by @masesdevelopers in #351
- Update to version 2.2.5 by @masesdevelopers in #352
- Changes by GitHub action by @github-actions in #353
- Changes by GitHub action by @github-actions in #354
Full Changelog: V2.2.4.0...V2.2.5.0
V2.2.4: Docker image update, fix in PowerShell 7
This release updates mainly JNetPS and Docker areas:
- JNet: no changes
- JNet Templates: no changes
- JNetCLI: no changes
- JNetPS: fixed manifest and PowerShell 7 version
- JNetPSCore: no changes
- JNetReflector: no changes
- Docker: update image using environment variable for JVMPath
- Documentation: no changes
Official Docker image
Official NuGet packages (*)
(*) packages are also available on GitHub packages.
Official PowerShell packages
What's Changed
- Update manifest files listing cmdlets explicitly in all psd1, plus changed some other information by @masesdevelopers in #332
- Moved command-line arg into environment variable by @masesdevelopers in #334
- Update to version 2.2.4 by @masesdevelopers in #335
- Changes by GitHub action by @github-actions in #336
- Test with #337 (comment) by @masesdevelopers in #338
- Changes by GitHub action by @github-actions in #339
- Changes by GitHub action by @github-actions in #340
Full Changelog: V2.2.3.0...V2.2.4.0
V2.2.3: fix JNetCLI and JNetReflector NuGet tools
This release updates mainly JNetCLI and JNetReflector areas:
- JNet: no changes
- JNet Templates: no changes
- JNetCLI: fixed NuGet tool
- JNetPS: no changes
- JNetPSCore: no changes
- JNetReflector: fixed NuGet tool
- Documentation: fix tools documentation
Official Docker image
Official NuGet packages (*)
(*) packages are also available on GitHub packages.
Official PowerShell packages
What's Changed
- Fix tools packages by @masesdevelopers in #324
- Update to version 2.2.3 by @masesdevelopers in #325
- Changes by GitHub action by @github-actions in #326
- Changes by GitHub action by @github-actions in #327
Full Changelog: V2.2.2.0...V2.2.3.0
V2.2.2: fix on Java.Lang.Iterator class and added management of final fields in JNetReflector
This release updates mainly JNet and JNetReflector areas:
- JNet:
- Corrected typo in
Java.Lang.Iterator
- Rebuilt all classes using JNetReflector at current version
- Corrected typo in
- JNet Templates: no major changes
- JNetCLI: no major changes
- JNetPS: no major changes
- JNetPSCore: no major changes
- JNetReflector: it is able to manage
final
fields - Documentation: no major changes
Official Docker image
Official NuGet packages (*)
(*) packages are also available on GitHub packages.
Official PowerShell packages
What's Changed
- Added new management of final fields to reduce JVM invocations by @masesdevelopers in #304
- Added specific manually triggered workflow for documentation by @masesdevelopers in #306
- Added run choice on documentation.yaml and removed documentation from build.yaml by @masesdevelopers in #308
- documentation.yaml fix by @masesdevelopers in #309
- Update documentation.yaml by @masesdevelopers in #312
- Fix wrong Iterator package name by @masesdevelopers in #316
- Update to version 2.2.2 by @masesdevelopers in #317
- Update generate classes to JNetReflector 2.2.2 by @masesdevelopers in #318
- Fix generateclasses.yaml by @masesdevelopers in #319
- Update generateclasses.yaml by @masesdevelopers in #320
- pom.xml accepts external location of JCOBridge.jar and generateclasses.yaml try to use it by @masesdevelopers in #321
- Changes by GitHub action by @github-actions in #322
Full Changelog: V2.2.1.0...V2.2.2.0
V2.2.1: update to JCOBridge 2.5.10
This release updates mainly JNet and JNetReflector areas:
- JNet:
- Update to JCOBridge 2.5.10
- Rebuilt all classes using JNetReflector at current version and copyright change
- JNet Templates: no major changes
- JNetCLI: no major changes
- JNetPS: no major changes
- JNetPSCore: no major changes
- JNetReflector: update to JCOBridge 2.5.10
- Documentation: no major changes
Official Docker image
Official NuGet packages (*)
(*) packages are also available on GitHub packages.
Official PowerShell packages
What's Changed
- Update to JCOBridge 2.5.10 by @masesdevelopers in #299
- Update to version 2.2.1 by @masesdevelopers in #300
- Class rebuild on JNetReflector 2.2.1 by @masesdevelopers in #301
Full Changelog: V2.2.0.0...V2.2.1.0