Skip to content

Releases: bschaatsbergen/cidr

v2.3.0

13 Sep 17:51
03296ba

Choose a tag to compare

Changelog

  • 9dbb032 Update README.md
  • 4cbaba3 Update README.md
  • d6a757b Update README.md
  • fb7f10d bump to go 1.23.6
  • 6a31af2 chore(deps): bump actions/checkout from 4 to 5
  • 70bf20a chore(deps): bump actions/labeler from 5 to 6
  • b780e9c chore(deps): bump actions/setup-go from 5 to 6
  • f22f9bd chore(deps): bump github.com/fatih/color from 1.17.0 to 1.18.0
  • 5f6e8aa chore(deps): bump github.com/spf13/cobra from 1.8.1 to 1.9.1
  • 87f3cc0 chore(deps): bump github.com/spf13/cobra from 1.9.1 to 1.10.0
  • 4c8a3f8 chore(deps): bump github.com/spf13/cobra from 1.9.1 to 1.10.1
  • ef2a2fb chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1
  • ce97267 chore(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0
  • e5b38ef chore(deps): bump golangci/golangci-lint-action from 6.0.1 to 6.1.0
  • 58312ef chore(deps): bump golangci/golangci-lint-action from 6.1.0 to 6.1.1
  • 4c2e02a chore(deps): bump golangci/golangci-lint-action from 6.1.1 to 6.2.0
  • e727897 chore(deps): bump golangci/golangci-lint-action from 6.2.0 to 6.3.1
  • 7b240b2 chore: add tests for host address counts
  • 47a7e1b move to internal
  • fd571f7 replace deprecated linters

v2.2.0

21 Jul 15:24
929e667

Choose a tag to compare

⚠️ This release features output changes to how we've presented address counts in cidr explain. "Host Addresses" has been changed to "Addresses" to include all addresses (including base and broadcast/anycast) and the host address count is now part of the "Usable Address Range", in parentheses.

Changelog

  • 098ae88 chore(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1
  • 225d570 chore: add test to default
  • 5c3febd chore: fix typo
  • ae71189 feat: separate host address count from address count

v2.1.1

29 Jun 17:06
e8714c6

Choose a tag to compare

Changelog

  • e8714c6 chore: pinv1.26.2 before we upgrade to goreleaser ~> v2

v2.0.0

16 Mar 21:51
960d303

Choose a tag to compare

Changelog

  • bdbe35c chore(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0
  • c8980fd chore: Changed GoReleaser --rm-dist to --clean
  • 3ecd486 chore: don't remove the network address and broadcast address
  • cb39a58 chore: fix tests
  • dfb2580 feat: add copywrite
  • 0709b06 feat: add explain example

v1.4.0

21 Jan 21:07
v1.4.0
33a4efd

Choose a tag to compare

Changelog

  • e960d55 chore: add explain subcommand to README.md
  • 76c592c chore: added PR template
  • 856f8fb chore: bumped actions/labeler to v5
  • 219488b chore: fix typo
  • b42d4d1 chore: fix wording in explain section
  • dfbaacf chore: improve comments
  • 57ed9c1 chore: improve the netmask function by separating it
  • e49c1fa chore: move explain to the top
  • 0c229dc chore: rename Address Count to Host Addresses
  • fdb72a8 fix: Fixed help text for explain command

v1.3.0

09 Dec 20:50
d0323f3

Choose a tag to compare

Changelog

  • 1252e93 chore: add 2 helper functions to determine if a network is an IPv4 or IPv6 network
  • 3d2a05a chore: add GetFirstUsableIPAddress, GetPrefixLength and errors
  • 44b65d3 chore: add GetLastUsableIPAddress
  • f9dce3a chore: add a length indicator to the prefix length
  • 086a911 chore: add read permissions and set cache to false
  • cb58113 chore: add tests
  • 1e88c11 chore: bump checkout to v4
  • 37fc787 chore: fix unnecessary conversion
  • f647fa6 chore: handle IPv4 CIDR ranges with large prefixes having no broadcast addresses
  • c1647fc chore: ignore goconst on explain func
  • ae631a3 chore: improve the explainCmd by using a networkDetails struct
  • 660fa48 chore: label anything touch _test.go files
  • 5bfb6a7 chore: move comment above if logic
  • b100164 chore: produce a human readable number and print coloured network details
  • d937b94 chore: rename file and change variable names to more transparent and clear in readability
  • 6e0614e chore: skip-pkg-cache: true and skip-build-cache: true
  • f4eaa78 feat: implement GetNetMask, GetBaseAddress and GetBroadcastAddress
  • 98fe336 feat: init explain subcommand

v1.2.1

04 Dec 09:13
575b764

Choose a tag to compare

Changelog

  • 6fc3a7a chore: add couple other linters to golangci
  • 164c734 chore: can be a 1-liner
  • 675d372 chore: document core functions and rename to GetAddressCount
  • dab15f7 chore: remove redundant comment
  • bf3946c chore: remove trailing newline
  • 2a928e1 feat: add golangci-lint

v1.2.0

02 Dec 23:51
2c56d21

Choose a tag to compare

Changelog

  • 6f3415c Added simple test
  • c116c71 chore: remove downloads badge
  • 6ef797b expanded test criteria
  • 46f5207 feat: set usage template headers to blue

v1.1.0

01 Dec 10:01
ad783a0

Choose a tag to compare

Changelog

  • 38bd3c8 Bump github.com/spf13/cobra from 1.5.0 to 1.8.0
  • ad1e4fe Bump github.com/spf13/cobra from 1.5.0 to 1.8.0
  • eb0742c Bump github.com/stretchr/testify from 1.8.0 to 1.8.4
  • 5ff1fdd Update labeler.yaml
  • 9f40992 chore: add a downloads badge
  • 993b217 chore: add binary cidr to .gitignore
  • 08e7153 chore: align description with description of cidr in homebrew-core
  • a8c7c7f chore: bump to go1.21.4
  • 743932c chore: improve installation instructions
  • 3ab6af4 chore: move cidr in .gitignore
  • 02d3fba chore: rebase and run go mod tidy
  • cfd1f49 chore: rename workflow to 'CI'
  • d9c1cbd chore: set configuration-path
  • 51e64cf chore: set configuration-path
  • 860c582 chore: update LICENSE
  • f9b5ed8 chore: update go checksum
  • 783ed81 chore: update install through homebrew-core
  • a47bead chore: use setup-go and pin to go.mod
  • dc34ef6 feat: add ability to label pull requests
  • 9d9bb27 feat: creat a triage workflow
  • bd3721a feat: create Dependabot.yaml

v1.0.1

09 Oct 21:33
v1.0.1
9d77f34

Choose a tag to compare

Changelog

  • 18ec675 Fix mistypes in README
  • 6ce3ec4 Remove ParseIP in favor of net pkg
  • 0ff1284 Remove duplicate count from cidr count example
  • a845ba3 Update core_test.go
  • e6df04d add address count and overlap tests
  • 8ab893d replace ParseIP with net pkg