From 4d44b7256f5d1cabde8dfd8c84666d5ea67d92d1 Mon Sep 17 00:00:00 2001 From: Michel Davit Date: Sun, 20 Dec 2020 19:26:39 +0100 Subject: [PATCH] Release v0.2.0 --- .github/workflows/ci.yml | 2 +- CHANGELOG.md | 3 +++ README.md | 8 +++++++- build.sbt | 4 ++-- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 444b0b5..c826252 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,4 +55,4 @@ jobs: run: sbt ++${{ matrix.scala }} scalafmtCheckAll headerCheckAll - name: Build project - run: 'sbt ++${{ matrix.scala }} test it:test' \ No newline at end of file + run: sbt ++${{ matrix.scala }} test \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 386e0b8..4e6b0f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## Unreleased +## 0.2.0 (2020-12-20) + +- Improve Dns listen API and move DnsPacket to model - Fix issue with multiple name ptrs in same message ## 0.1.0 (2020-12-17) diff --git a/README.md b/README.md index 57ef4a8..5170653 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ and [fs2](https://github.com/typelevel/fs2) | Version | Release date | cats version | Scala versions | | ------- | ------------ | ----------- | ------------------- | +| `0.2.0` | 2020-12-20 | `2.2.0` | `2.13.4`, `2.12.12` | | `0.1.0` | 2020-12-17 | `2.2.0` | `2.13.4`, `2.12.12` | @@ -32,7 +33,7 @@ libraryDependencies += "fr.davit" %% "taxonomy-model" % "" libraryDependencies += "fr.davit" %% "taxonomy-scodec" % "" ``` -## DNS +## Dns Here is a quick example of a DNS lookup to the `9.9.9.9` DNS server for the `davit.fr` domain name @@ -64,3 +65,8 @@ val socketResource = for { val response = socketResource.use(s => Dns.resolve(s, DnsPacket(quad9DnsServer, query))).unsafeRunSync() ``` + +## Based on taxonomy + +- [`scout`](https://github.com/RustedBones/scout): zeroconf DNS-SD client and server +- [`shovel`](https://github.com/RustedBones/shovel): A JVM dig implementation diff --git a/build.sbt b/build.sbt index 5257b78..32c1109 100644 --- a/build.sbt +++ b/build.sbt @@ -13,7 +13,7 @@ lazy val filterScalacOptions = { options: Seq[String] => ThisBuild / crossScalaVersions := Seq("2.13.4", "2.12.12") ThisBuild / githubWorkflowBuild := Seq( WorkflowStep.Sbt(name = Some("Check project"), commands = List("scalafmtCheckAll", "headerCheckAll")), - WorkflowStep.Sbt( name = Some("Build project"), commands = List("test", "it:test")) + WorkflowStep.Sbt(name = Some("Build project"), commands = List("test")) ) ThisBuild / githubWorkflowTargetBranches := Seq("master") ThisBuild / githubWorkflowPublishTargetBranches := Seq.empty @@ -24,7 +24,7 @@ lazy val commonSettings = Defaults.itSettings ++ Seq( organization := "fr.davit", organizationName := "Michel Davit", - version := "0.1.1-SNAPSHOT", + version := "0.2.0", crossScalaVersions := (ThisBuild / crossScalaVersions).value, scalaVersion := crossScalaVersions.value.head, scalacOptions ~= filterScalacOptions,