Skip to content

Commit

Permalink
Version 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvdb committed Sep 21, 2020
1 parent 803ffed commit fcabe7a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
14 changes: 9 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
# Change Log

## 0.3.0dev
## 0.3.0

[Full Changelog](https://github.com/jayvdb/dns-cache/compare/0.2.0...)
[Full Changelog](https://github.com/jayvdb/dns-cache/compare/0.2.0...0.3.0)

**Implemented enhancements:**

- Add dnspython 2 support
- ExceptionCachingResolver: Cache authority and additional sections ([dcadbb](https://github.com/jayvdb/dns-cache/commit/dcadbb))
- `ExceptionCachingResolver`: Cache authority and additional sections ([dcadbb](https://github.com/jayvdb/dns-cache/commit/dcadbb))
- `HostsCache`: Add preloaded hosts (e.g. `/etc/hosts`) cache ([fc9ec2](https://github.com/jayvdb/dns-cache/commit/fc9ec2))

**Fixed bugs:**

- ExceptionCachingResolver: Do not cache `NoMetaqueries` ([5f571e](https://github.com/jayvdb/dns-cache/commit/5f571e))
- Fix patched `socket.gethostbyname` to resolve names in `/etc/hosts` ([issue 11](https://github.com/jayvdb/dns-cache/issues/11))

**Closed issues:**
**Other:**

- None
- Update tests to handle changes in Google DNS behaviour
- Many more tests
- Testing against many U.S. DNS servers

## [0.2.0](https://github.com/jayvdb/dns-cache/tree/0.2.0) (2020-03-09)
[Full Changelog](https://github.com/jayvdb/dns-cache/compare/0.1.0...0.2.0)
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,10 @@ The following classes can be used separately or together.
but reducing the number of requests and cached responses when several related records are requested, such as a HTTP redirect
from www.foo.com to foo.com (or vis versa) where one is a CNAME point to the other.
2. `dns_cache.resolver.ExceptionCachingResolver`: caches lookup failures.
3. `dns_cache.hosts.HostsCache`: preloads hosts (e.g. `/etc/hosts`) into a cache

**Note:** `dns_cache.override_system_resolver()` can be used to install a custom `resolver` or `cache`, which may
be derived from the above classes or your own implementation from scratch.
be derived from the above classes or your own implementation from scratch. It preloads `/etc/hosts`.

## Similar projects

Expand Down
2 changes: 1 addition & 1 deletion dns_cache/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
except ImportError:
HostsCache = None

__version__ = "0.2.0"
__version__ = "0.3.0"


class Resolver(AggressiveCachingResolver, ExceptionCachingResolver):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from setuptools import find_packages, setup

__version__ = "0.2.0"
__version__ = "0.3.0"

classifiers = """\
Environment :: Console
Expand Down

0 comments on commit fcabe7a

Please sign in to comment.