Skip to content

Releases: alibaba/java-dns-cache-manipulator

v1.6.3: performance improvement

23 Nov 08:19
Compare
Choose a tag to compare

GitHub release download - dcm.tar.gz)

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 for String[]
    • [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 in DcmAgent
    • add private for internal methods/fields in DcmAgent
  • 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

v1.6.2: small improvement

13 Nov 12:16
Compare
Choose a tag to compare

GitHub release download - dcm.tar.gz)

Improvement

  • add missing double check in method inetAddress$Addresses2DnsCacheEntry
  • use specific primitive type setter/getter of Field instead Object 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
  • 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

v1.6.1: JDK 17 support improvement

10 Nov 17:32
Compare
Choose a tag to compare

GitHub release download - dcm.tar.gz)

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, simplify JDK 17 usage
    • no need java option --add-opens java.base/sun.net.util=ALL-UNNAMED
  • add JDK 17 in appveyor 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

v1.6.0: JDK 11 support

09 Nov 04:55
Compare
Choose a tag to compare

GitHub release download - dcm.tar.gz)

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 of list
  • [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 and spotbugs-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 coverallson 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

v1.6.0-RC2: deploy DCM tool to maven central; a refactor release

31 Oct 11:33
Compare
Choose a tag to compare

Feature

  • [TOOL] add ls subcommand as alias of list
  • [TOOL] add assemble to maven install and deploy; add zip assemble

Improvement

  • add .editorconfig
  • add DCM logo
  • use jacoco-maven-plugin instead of cobertura-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

26 Oct 21:35
Compare
Choose a tag to compare
Pre-release

Feature

  • Support JDK 11 #51
    • thanks to @antfling for this excellent PR contribution ❤️

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

16 May 15:51
Compare
Choose a tag to compare

GitHub release download - dcm.tar.gz)

  • 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

v1.5.0: IPv6 support

15 Aug 09:53
Compare
Choose a tag to compare

GitHub release download - dcm.tar.gz)

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

v1.4.1: a cleanup release

05 Jun 11:25
Compare
Choose a tag to compare

GitHub release download - dcm.tar.gz)

  • clean output of dcm tool #30

Issue List

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

v1.4.0: support DCM tool for setting dns of running jvm process

03 Jun 12:28
Compare
Choose a tag to compare

GitHub release download - dcm.tar.gz)

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