Skip to content

Releases: goodhosts/hostsfile

v0.1.6

29 Oct 16:43
d043bb3
Compare
Choose a tag to compare

NOTE Release v0.1.5 was deleted due to panics which this release fixed
 

What's Changed

Full Changelog: v0.1.4...v0.1.6

v0.1.4

28 Oct 14:56
74bc203
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.3...v0.1.4

v0.1.3

02 Oct 02:19
820d55f
Compare
Choose a tag to compare

What's Changed

  • fixed reordering bug in removing duplicate hosts the map caused reordering @luthermonson in #45
  • fixed bug where if a hostsline was only a comment it never added the comment to the line @luthermonson in #45
  • fixed refactored Remove logic to use new addLine func to improve indexing @luthermonson in #45

Full Changelog: v0.1.2...v0.1.3

v0.1.2

30 Sep 00:05
7173334
Compare
Choose a tag to compare

What's Changed

  • adding codecov by @luthermonson in #32
  • remove host from an old ip if you add again by @luthermonson in #34
  • upgrade golangci-lint by @luthermonson in #36
  • get the condition and slice right when removing by position wants to remove the last line by @kaespi in #35
  • When removing a hostname results in an IP without hostname, delete the IP as well by @kaespi in #37
  • Add inline comments for HostsPerLine by @tomjn in #41
  • Fixing Position Index Panics and Repo Cleanup by @luthermonson in #43

New Contributors

Full Changelog: v0.1.1...v0.1.2

v0.1.1

06 Jan 04:14
6e99443
Compare
Choose a tag to compare
  • Fixed a regression when hosts.Load is called twice it would duplicate the lines [#30]

v0.1.0

03 Dec 04:11
bcac70b
Compare
Choose a tag to compare

first major revision of hostsfile switches from slice lookup to hashmap lookup for ips/hosts to improve performance on large hosts files

v0.0.10

03 Dec 04:05
d0115ab
Compare
Choose a tag to compare
Merge pull request #27 from goodhosts/const-to-var

changing to vars so devs can set them

v0.0.9

03 Dec 04:05
142c66e
Compare
Choose a tag to compare
Merge pull request #26 from goodhosts/win-hosts

fix windows hosts per line problem

v0.0.8

03 Jun 08:26
10ab78a
Compare
Choose a tag to compare

Close fd after checking it is writable

v0.0.7

16 Oct 19:32
bb6e0f7
Compare
Choose a tag to compare
Merge pull request #14 from goodhosts/fix-combineip

fix panic in combineIp