Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for IPv4-mapped IPv6 addresses #43

Merged
merged 6 commits into from
Jul 6, 2024

Conversation

donavanbecker
Copy link
Contributor

♻️ Current situation

Currently IPv4-mapped IPv6 addresses are not supported

💡 Proposed solution

Add support for IPv4-mapped IPv6 addresses

⚙️ Release Notes

Added support for IPv4-mapped IPv6 addresses

➕ Additional Information

Not sure if there is anything else that needs to be changed?

Testing

Install tvOS 18 or macOS 15 beta

or

a device that has an IPv4-mapped IPv6 address.

Reviewer Nudging

tvOS 18 is what is causing the issue indicated in #41, but others have reported it with macOS 15 beta.

src/coder/records/ARecord.ts Outdated Show resolved Hide resolved
src/coder/test-utils.ts Outdated Show resolved Hide resolved
src/util/domain-formatter.ts Outdated Show resolved Hide resolved
@bwp91
Copy link
Contributor

bwp91 commented Jul 1, 2024

i’m afraid i won’t be a good reviewer of this as (1) i don’t enough about this subject and best practises etc and (2) i cant even reproduce locally to check whether the changes is general work or not!

@donavanbecker
Copy link
Contributor Author

@hjdhjd, Homebridge v1.8.4-alpha.18 has these changes and looks like it is working as expected. I will remove my commented out sections.

@coveralls
Copy link

coveralls commented Jul 6, 2024

Pull Request Test Coverage Report for Build 9816393432

Details

  • 30 of 38 (78.95%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.2%) to 34.765%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/util/v4mapped.ts 6 7 85.71%
src/util/domain-formatter.ts 15 22 68.18%
Totals Coverage Status
Change from base Build 9729372371: -0.2%
Covered Lines: 1190
Relevant Lines: 3084

💛 - Coveralls

@donavanbecker donavanbecker requested review from hjdhjd and removed request for Supereg, NorthernMan54 and bwp91 July 6, 2024 03:55
@donavanbecker donavanbecker enabled auto-merge (squash) July 6, 2024 03:57
@donavanbecker donavanbecker merged commit afd904c into beta-1.3.0 Jul 6, 2024
12 checks passed
@donavanbecker donavanbecker deleted the ipv4mapped2ipv6 branch July 6, 2024 03:57
@donavanbecker donavanbecker mentioned this pull request Jul 6, 2024
@donavanbecker donavanbecker changed the title Support for IPv4-mapped IPv6 addresses Add support for IPv4-mapped IPv6 addresses Jul 6, 2024
donavanbecker added a commit that referenced this pull request Jul 9, 2024
## v1.3.0 (2024-07-08)

### Added

- Add support for publishing on IPv6 networks (#19) (@adriancable)
- Add support for IPv4-mapped IPv6 addresses (#43) (@donavanbecker & @hjdhjd)

### Changed

- update dependencies
- update dependencies, fix typedoc (#44)
- update changelog, fix lint
- Fix: minor housekeeping. (#48) (@@hjdhjd)
donavanbecker added a commit that referenced this pull request Jul 9, 2024
## v1.3.0 (2024-07-08)

### Added

- Add support for publishing on IPv6 networks (#19) (@adriancable)
- Add support for IPv4-mapped IPv6 addresses (#43) (@donavanbecker & @hjdhjd)

### Changed

- update dependencies
- update dependencies, fix typedoc (#44)
- update changelog, fix lint
- Fix: minor housekeeping. (#48) (@@hjdhjd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants