v1.1.0

qdm12/dnsv1.1.0Jan 2, 2021by qdm12

AI Summary

Introduces major refactoring including a project rebrand, breaking API changes to the Go package structure, and internal logging improvements.

Key Highlights

  • Repository and image name changed to `qdm12/dns`
  • Renamed `dns/pkg/dns` to `dns/pkg/unbound` package
  • Configuration accepts Unbound directory
  • Added `UseDNSSystemWide` method to configurator

Breaking Changes

  • Rename `dns/pkg/dns` to `dns/pkg/unbound` package
  • Using `http.Client` instead of custom client
  • Configuration accepts Unbound directory
  • MakeUnboundConf accepts username, uid and gid parameters

New Features

  • Expose Unbound settings model
  • Expose constants data
  • Add `UseDNSSystemWide` method to configurator

Full Release Notes

## Features and changes

- Change repository and image name to `qdm12/dns` and `qmcgaw/dns`
- Create empty include.conf at runtime instead of at build if it doesn't exist
- (Re-)remove securedns from supported providers

## Go exposed API

### Breaking changes

Some breaking changes introduced but that's only <24 hours since the first release so I'll admit it to myself 😉 

- Rename `dns/pkg/dns` to `dns/pkg/unbound` package
- Using `http.Client` instead of custom client for compatibility reasons
- Configuration accepts Unbound directory
- MakeUnboundConf accepts username, uid and gid parameters
- Add UseDNSSystemWide method to configurator

### Additions

- Expose Unbound settings model
- Expose constants data

### Internal changes

- Remove logger usage as much as possible to stay quiet in API usage

## Code maintenance

- Using os package from qdm12/golibs
- Upgrade qdm12/updated package
- Add pkg to trigger paths for buildx workflows