This is an automated email from the ASF dual-hosted git repository.

chibenwa pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-jspf.git


The following commit(s) were added to refs/heads/master by this push:
     new 07fbf82  Init CHANGELOG
07fbf82 is described below

commit 07fbf82e5abc2ddafbc2ca8ed7248ef802b0ab31
Author: Benoit TELLIER <[email protected]>
AuthorDate: Wed Dec 2 14:28:14 2026 +0100

    Init CHANGELOG
---
 CHANGELOG.md | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 104 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..8f9ea59
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,104 @@
+# Changelog
+
+All notable changes to Apache James jSPF are documented in this file.
+
+## [1.0.6]
+
+### Changed
+
+- JDK 11 is now the build target.
+- Line breaks in input and output values are rejected explicitly.
+- The documentation is migrated to Antora, with a new page on usage.
+
+### Fixed
+
+#### RFC 7208 compliance
+
+- Processing limits: a check is limited in time, void lookups are counted,
+  no more than 10 MX names and 10 PTR names are looked up, and the PTR lookup
+  of the `%{p}` macro counts towards the DNS lookup limit.
+- A record not beginning with `v=spf1` is discarded; TXT records are looked up
+  first, and when the SPF type lookup fails.
+- A record without directive yields `neutral` when it is included or 
redirected to.
+- `ip4`: an octet with a leading zero is a `permerror`.
+- `a`/`mx`/`ip4`/`ip6`: a CIDR length with a leading zero or that overflows is 
a `permerror`.
+- `exists`/`mx`: an invalid expanded target is no match; a failed lookup of the
+  `exists` target is a `temperror`.
+- `ptr`: domain names are compared whatever their case, the first 10 names are
+  checked (not 9), a DNS error of its lookups is no match, and a PTR name that
+  is not a valid domain name is skipped.
+- `a`: a target that reads as an address is looked up.
+- `ip6`: an IPv4-mapped network stays an IPv6 network.
+- `%{p}`: each PTR name is validated.
+- `%{v}` is expanded from the client address being checked.
+- An expanded domain is truncated to 253 characters; the length of an expanded
+  domain-spec and of an explanation is bounded.
+- The `exp` modifier is dropped when the time budget of the check is spent.
+- The default explanation no longer applies to an included record, and a too
+  long default explanation no longer turns a `fail` into a `permerror`.
+- `InitialChecksPolicy`: a malformed sender domain yields `none`.
+- `SPFSession`: only spaces and tabs are trimmed before parsing MAIL FROM.
+
+#### Received-SPF header
+
+- A value that is not a dot-atom is quoted.
+- The domain written in the header comment is escaped.
+
+#### DNS
+
+- `DNSServiceXBillImpl`: names are looked up as fully qualified; the first of
+  several CNAMEs is followed; only the answer records of the requested type are
+  converted; an extended rcode yields a `temperror`; dnsjava no longer leaks
+  unchecked exceptions; asynchronous lookups bound their queries and return no
+  record for an invalid name.
+- `DNSTestingServer`: no extended rcode in the OPT record of an answer.
+
+#### Executors
+
+- `AsynchronousSPFExecutor`: the SPF result is always completed, a DNS error
+  yields a `temperror`, and checkers are no longer chained recursively.
+- `SynchronousSPFExecutor`: an include ends on an unexpected error.
+- `StagedMultipleSPFExecutor`: survives an unexpected lookup error, keeps the
+  interrupt status of a waiting worker, and no longer reuses the key of a
+  pending lookup.
+- All executors: an unexpected error of a lookup yields a `temperror`.
+- `mx`: its lookup state is cleaned up when nothing matches.
+
+#### Parsing and addresses
+
+- Domain-spec regexes match in linear time and no longer recurse per character.
+- `MacroExpand`: macro transformers use constant patterns; a digit transformer
+  above an int reads as all the parts; long domains are truncated in linear 
time.
+- `IPAddr`: what is not an IP address is rejected before conversion, no 
trailing
+  dot is accepted, and every form of an IPv4-mapped address is read.
+- `Inet6Util.isValidIP6Address` counts the groups; an empty word is tested with
+  `isEmpty()`.
+- `SPF1Utils` checks an FQDN without a regex.
+- `CachingSPFRecordParser` no longer keeps records with more terms than a
+  legitimate one.
+- `AMechanism.toString` writes the ip6 CIDR length.
+
+#### Policies
+
+- `FallbackPolicy`: each check gets its own copy of an entry's record, domains
+  are matched against entries as written, and `removeEntry` removes the entry
+  of the host.
+- `TrustedForwarderPolicy` adds the trusted forwarder include.
+
+#### Tests
+
+- The test suite no longer fails when the DNS service is unreachable.
+
+### Performance
+
+- Parsed SPF records are cached instead of being parsed on every check.
+- The SPF1 parser splits terms without regexes.
+- `MacroExpand` walks and splits macro strings without a regex or a String per 
character.
+- `IPAddr` parses an address text once.
+- `a`/`mx`/`ip4`/`ip6` compare masked addresses as numbers.
+- The default explanation is expanded once.
+- `WiringServiceTable` resolves the setter of an enabling interface once.
+
+## [1.0.5] and earlier
+
+See the git history.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to