Skip to content

Commit

Permalink
Merge branch 'v5' of https://github.com/seancfoley/IPAddress.git into v5
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Foley committed Jan 30, 2024
2 parents 98f283d + ef17a7a commit b595686
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 4 deletions.
2 changes: 1 addition & 1 deletion IPAddress/build.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<project name="Create IP Address API" default="run" basedir=".">
<description>Create IP address jar</description>
<property name="version" value="5.4.1"/>
<property name="version" value="5.4.2"/>

<property name="rootOffset" value="."/>
<property name="rootdistdir" location="${rootOffset}/dist"/>
Expand Down
Binary file modified IPAddress/dist/IPAddress.jar
Binary file not shown.
15 changes: 15 additions & 0 deletions IPAddress/maintenance_instructions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,21 @@ You may need to run "sudo -i" first.
11. Follow instructions here for manual deployment:
http://central.sonatype.org/pages/manual-staging-bundle-creation-and-deployment.html
which requires that you go here https://oss.sonatype.org/ to upload.

Instructions there are:
Once bundle.jar has been produced, log into OSSRH, and select Staging Upload in the Build Promotion menu on the left:

From the Staging Upload tab, select Artifact Bundle from the Upload Mode dropdown:

Then click the Select Bundle to Upload button, and select the bundle you just created:

Click the Upload Bundle button. If the upload is successful, a staging repository will be created, and you can proceed with releasing.

Access the Build Promotion menu in the left hand navigation and select the Staging Repositories item.

Select the staging repository and the panel below the list will display further details about the repository. In addition the buttons Close and Release will be activated.

Release Your Staging Repository if it looks good. Otherwise, Drop it.

https://issues.sonatype.org/browse/OSSRH-27241 was the first sonatype issue that was dropped.
Your original sonatype JIRA issue is https://issues.sonatype.org/browse/OSSRH-28545
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public abstract class AddressDivisionBase implements AddressGenericDivision {

protected static final int MIN_RADIX = 2, MAX_RADIX = 85;

protected static final BigInteger BIG_MIN_RADIX = BigInteger.TWO,
protected static final BigInteger BIG_MIN_RADIX = BigInteger.valueOf(MIN_RADIX),
BIG_MAX_RADIX = BigInteger.valueOf(MAX_RADIX);

protected static final char[] UPPERCASE_DIGITS = IPAddressLargeDivision.EXTENDED_DIGITS;
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ IP address and network manipulations, CIDR, address and subnet operations, itera
[In the Maven Central Repository](https://repo1.maven.org/maven2/com/github/seancfoley/ipaddress/), packaged as an OSGI bundle, packaged as a [Linux Fedora rpm](http://rpmfind.net/linux/rpm2html/search.php?query=ipaddress)
- Maven group id: com.github.seancfoley
- Maven artifact id: [ipaddress](https://search.maven.org/search?q=ipaddress)
- Maven versions: [2.0.2](https://search.maven.org/artifact/com.github.seancfoley/ipaddress/2.0.2/jar), [3.0.0](https://search.maven.org/artifact/com.github.seancfoley/ipaddress/3.0.0/jar), [4.3.3](https://search.maven.org/artifact/com.github.seancfoley/ipaddress/4.3.3/jar), [5.4.1](https://search.maven.org/artifact/com.github.seancfoley/ipaddress/5.4.1/jar)
- Maven versions: [2.0.2](https://search.maven.org/artifact/com.github.seancfoley/ipaddress/2.0.2/jar), [3.0.0](https://search.maven.org/artifact/com.github.seancfoley/ipaddress/3.0.0/jar), [4.3.3](https://search.maven.org/artifact/com.github.seancfoley/ipaddress/4.3.3/jar), [5.4.2](https://search.maven.org/artifact/com.github.seancfoley/ipaddress/5.4.2/jar)
- Latest Maven version: [![Maven Central](https://img.shields.io/maven-central/v/com.github.seancfoley/ipaddress.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.github.seancfoley%22%20AND%20a:%22ipaddress%22)
- OSGI bundle since version 5.3.1: com.github.seancfoley.ipaddress

Expand All @@ -36,7 +36,7 @@ Version | Notes |
[2.0.2](https://github.com/seancfoley/IPAddress/releases/tag/v2.0.2) | Requires Java 8 or higher |
[3.0.0](https://github.com/seancfoley/IPAddress/releases/tag/v3.0.0) | Requires Java 8 or higher, features MAC address support, EUI-48 and EUI-64 MAC integration with IPv6, new address framework, new IP string formats parsed and produced, and other additions |
[4.3.3](https://github.com/seancfoley/IPAddress/releases/tag/v4.3.3) | Requires Java 8 or higher. Features new prefix length handling. IPv4-network/IPv6-subnet-router-anycast/zero-host addresses are interpreted as the prefix block subnet, while other prefixed addresses are individual addresses. There exists the option to preserve the version 3 behaviour. Version 4.2.0 has additional methods for managing prefix blocks. Version 4.3 features improved parsing performance and a change to increment(long) behaviour for subnets. |
**[Latest Version 5.4.1](https://github.com/seancfoley/IPAddress/releases/tag/v5.4.1)** | Requires Java 8 or higher. Compatible with Android using Android API level 24 or higher. The code is compiled with Java 8, but provides a Java 9 compiled module-info.class file for those using the Java Platform Module System (JPMS) in Java 9 or later versions. You may need (or wish) to [delete the module-info](https://github.com/seancfoley/IPAddress/issues/16#issuecomment-452425235), which can be done [with gradle](https://github.com/seancfoley/IPAddress/issues/16#issuecomment-452564690), when using Java 8 environments. Version 5 features the addition of IPAddress sequential range classes IP\*AddressSeqRange, the reorganization of classes and interfaces in inet.ipaddr.format package to standard, large, and string subpackages, enhanced address block splitting and merging functionality, Java 8 stream and spliterator methods, additional parsing options, address tries, associative address tries, and the prefix block allocator. Other enhancements are listed on the releases page for [5.0.0](https://github.com/seancfoley/IPAddress/releases/tag/v5.0.0), [5.1.0](https://github.com/seancfoley/IPAddress/releases/tag/v5.1.0), [5.2.0](https://github.com/seancfoley/IPAddress/releases/tag/v5.2.0), [5.3.0](https://github.com/seancfoley/IPAddress/releases/tag/v5.3.0) and [5.4.0](https://github.com/seancfoley/IPAddress/releases/tag/v5.4.0)
**[Latest Version 5.4.2](https://github.com/seancfoley/IPAddress/releases/tag/v5.4.2)** | Requires Java 8 or higher. Compatible with Android using Android API level 24 or higher. The code is compiled with Java 8, but provides a Java 9 compiled module-info.class file for those using the Java Platform Module System (JPMS) in Java 9 or later versions. You may need (or wish) to [delete the module-info](https://github.com/seancfoley/IPAddress/issues/16#issuecomment-452425235), which can be done [with gradle](https://github.com/seancfoley/IPAddress/issues/16#issuecomment-452564690), when using Java 8 environments. Version 5 features the addition of IPAddress sequential range classes IP\*AddressSeqRange, the reorganization of classes and interfaces in inet.ipaddr.format package to standard, large, and string subpackages, enhanced address block splitting and merging functionality, Java 8 stream and spliterator methods, additional parsing options, address tries, associative address tries, and the prefix block allocator. Other enhancements are listed on the releases page for [5.0.0](https://github.com/seancfoley/IPAddress/releases/tag/v5.0.0), [5.1.0](https://github.com/seancfoley/IPAddress/releases/tag/v5.1.0), [5.2.0](https://github.com/seancfoley/IPAddress/releases/tag/v5.2.0), [5.3.0](https://github.com/seancfoley/IPAddress/releases/tag/v5.3.0) and [5.4.0](https://github.com/seancfoley/IPAddress/releases/tag/v5.4.0)


## Getting Started
Expand Down

0 comments on commit b595686

Please sign in to comment.