Skip to content

Releases: bschaatsbergen/cidr

v2.2.0

21 Jul 15:24
929e667
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

v1.0.0

12 Sep 21:13
ddd651c
Compare
Choose a tag to compare

Changelog

  • ab06ab1 Remove downloads badge
  • 440e499 Update README.md
  • 9a7ca39 feat: add arm64 build
  • 9a959b5 feat: remember the network and broadcast address