Releases: alibaba/java-dns-cache-manipulator
Releases · alibaba/java-dns-cache-manipulator
v1.6.3: performance improvement
Improvement
- performance improvement: cache reflection objects(field/constructor)
- [TOOL] fix action list, remove wrong
file
action - unify double check conditions
- code refactor/cleanup
- simplify code: use
clone
instead of explicit copy forString[]
- [TOOL] split big method
DcmTool.main
- split big method
agentmain
- fix codeclimate issues
- rename methods, remove
Field
word of methods that return field value - improve error message of
DcmAgent
- rename field:
FILE
->FILE_KEY
inDcmAgent
- add private for internal methods/fields in
DcmAgent
- simplify code: use
- CI: use
HOME
env var instead of hard-coded value in AppVeyor CI - Documentation:
- update badges
- improve javadoc
Java Dns Cache Manipulator Library
maven dependency:
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dns-cache-manipulator</artifactId>
<version>1.6.3</version>
</dependency>
Already deployed to maven central repository.
Java Dns Cache Manipulator Tool
- User Guide & Document
- Download dcm-1.6.3.tar.gz
v1.6.2: small improvement
Improvement
- add missing double check in method
inetAddress$Addresses2DnsCacheEntry
- use specific primitive type
setter/getter
ofField
insteadObject
type - code refactor/cleanup
- code cleanup of
InetAddressCacheUtilForJava9Plus
- rename private field:
INVALID_IPV_6_ADDRESS
->INVALID_IP_V6_ADDRESS
- fix shell script:
versionGreatThanEq
- add shell function
loose
- code cleanup of
- improve javadoc
Java Dns Cache Manipulator Library
maven dependency:
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dns-cache-manipulator</artifactId>
<version>1.6.2</version>
</dependency>
Already deployed to maven central repository.
Java Dns Cache Manipulator Tool
- User Guide & Document
- Download dcm-1.6.2.tar.gz
v1.6.1: JDK 17 support improvement
JDK 17 improvement
add below java options for JDK 17:
--add-opens java.base/java.net=ALL-UNNAMED
--add-opens java.base/sun.net=ALL-UNNAMED
- remove
sun.net.util.IPAddressUtil
dependency, simplifyJDK 17
usage- no need java option
--add-opens java.base/sun.net.util=ALL-UNNAMED
- no need java option
- add
JDK
17 inappveyor ubuntu CI
Java Dns Cache Manipulator Library
maven dependency:
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dns-cache-manipulator</artifactId>
<version>1.6.1</version>
</dependency>
Already deploy to maven central repository.
Java Dns Cache Manipulator Tool
- User Guide & Document
- Download dcm-1.6.1.tar.gz
v1.6.0: JDK 11 support
Feature
- Support
JDK 11
#51- thanks to @antfling for this excellent PR contribution ❤️
- add
DnsCacheManipulator.listDnsNegativeCache
method - support
DCM_AGENT_SUPRESS_EXCEPTION_STACK
option - [TOOL] add
ls
subcommand as alias oflist
- [TOOL] deploy dcm tool to maven center
Improvement
- test code bad smell refactor/cleanup #52
- thanks to @eas5 for this professional PR contribution ❤️
- add
spotbugs-annotations
andspotbugs-maven-plugin
, and fix reported potential problems - add more
@Nonnull
annotations - code refactor/cleanup
- rename fields/methods
- fix warnings
- improve error message
- upgrade dependencies and maven plugins
- add
maven wrapper
- add
.editorconfig
Documentation
- add DCM logo
- improve docs/javadoc
- add download badge for dcm tool
- fix broken links
CI/UT
- add
Ubuntu
on appveyor CI - add
coveralls
on appveyor CI - improve unit test stability
Java Dns Cache Manipulator Library
maven dependency:
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dns-cache-manipulator</artifactId>
<version>1.6.0</version>
</dependency>
Already deploy to maven central repository.
Java Dns Cache Manipulator Tool
- User Guide & Document
- Download dcm-1.6.0.tar.gz
v1.6.0-RC2: deploy DCM tool to maven central; a refactor release
Feature
- [TOOL] add
ls
subcommand as alias oflist
- [TOOL] add assemble to maven install and deploy; add zip assemble
Improvement
- add
.editorconfig
- add DCM logo
- use
jacoco-maven-plugin
instead ofcobertura-maven-plugin
- upgrade
maven wrapper
to 3.8.3 - improve unit test stability
- code refactor/cleanup
- rename fields/methods
Java Dns Cache Manipulator Library
maven dependency:
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dns-cache-manipulator</artifactId>
<version>1.6.0-RC2</version>
</dependency>
Already deploy to maven central repository.
Java Dns Cache Manipulator Tool
v1.6.0-RC1: JDK 11 support
Feature
Improvement
- test code bad smell refactor/cleanup #52
- thanks to @eas5 for this professional PR contribution ❤️
- add
maven wrapper
- add more
@Nonnull
annotations - upgrade dependencies and maven plugins
- code refactor/cleanup
- fix warnings
- improve error message
- improve docs/javadoc
- add download badge for dcm tool
- fix broken links
Java Dns Cache Manipulator Library
maven dependency:
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dns-cache-manipulator</artifactId>
<version>1.6.0-RC1</version>
</dependency>
Already deploy to maven central repository.
Java Dns Cache Manipulator Tool
v1.5.1: a cleanup release
- Just a small code improve release.
Java Dns Cache Manipulator Library
maven dependency:
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dns-cache-manipulator</artifactId>
<version>1.5.1</version>
</dependency>
Already deploy to maven central repository.
Java Dns Cache Manipulator Tool
- User Guide & Document
- Download dcm-1.5.1.tar.gz
v1.5.0: IPv6 support
Feature
- Support IPv6 #15
- if pid option is not provided, DCM tool will list all local java process for user to select #31
See All Issue List
Java Dns Cache Manipulator Library
maven dependency:
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dns-cache-manipulator</artifactId>
<version>1.5.0</version>
</dependency>
Already deploy to maven central repository.
Java Dns Cache Manipulator Tool
- User Guide & Document
- Download dcm-1.5.0.tar.gz
v1.4.1: a cleanup release
- clean output of dcm tool #30
Java Dns Cache Manipulator Library
maven dependency:
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dns-cache-manipulator</artifactId>
<version>1.4.1</version>
</dependency>
Already deploy to maven central repository.
Java Dns Cache Manipulator Tool
- User Guide & Document
- Download dcm-1.4.1.tar.gz
v1.4.0: support DCM tool for setting dns of running jvm process
Java Dns Cache Manipulator Library
maven dependency:
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dns-cache-manipulator</artifactId>
<version>1.4.0</version>
</dependency>
Already deploy to maven central repository.
Java Dns Cache Manipulator Tool
- User Guide & Document
- Download dcm-1.4.0.tar.gz