Releases: go-ldap/ldap
Simplify Go Module Versioning
Experimental release to cleanup the code duplication, and simplify the go module versioning approach.
v3.4.9
This bumps x/crypto to 0.31.0 to resolve CVE-2024-45337.
What's Changed
- Update dependency go-asn1-ber to v1.5.6 by @johnweldon in #513
- Fix LDAP GetError and LDAP search by @gustavoluvizotto in #509
- chore: Fix desynced root and v3 directory (fixes #520) by @cpuschma in #521
- Add go 1.23 build/testing to github workflow by @t2y in #526
- bump action versions in github actions by @t2y in #527
- feat: add Extended request operations by @cpuschma in #516
- chore: Update dependencies by @cpuschma in #539
New Contributors
- @gustavoluvizotto made their first contribution in #509
Full Changelog: v3.4.8...v3.4.9
v3.4.8
What's Changed
In the previous release, we have prematurely marked the function Start
as deprecated, assuming that the available DialOpts fulfill all use cases. Thanks to @dornimaug's hint in #507 we now know that this is not the case, especially when using custom contexts with DialContext
, NewConn
and Start
. The function will be retained, and we apologize for any inconvenience! We will retain the functionality for the entire life cycle of the major version.
Full Changelog: v3.4.7...v3.4.8
v.3.4.7
What's new
- feat: extend SearchResult
Unmarshal
to support *string as field type (#475) by @cpuschma in #476 - feat: Add support for children scope choice const by @sirzzang in #480
- feat: Add
EnforceSizeLimit
to enforce the specified search request size limit (fixes #431) by @cpuschma in #482 - feat: GSSAPI client (with unix support) by @levkohimins in #449
- Add go 1.22 build/testing to github workflow by @t2y in #485
- Add tests to parseDN (fuzzing, roundtrip ...) by @inteon in #504
What's Changed
- Fix DATA RACE as a result of changing ber's module global variable for fuzz tests by @t2y in #473
- IsErrorAnyOf should match the given result code even if the error is wrapped by @t2y in #471
- Fix deprecated warning on GitHub Actions by @t2y in #474
- Bump golang.org/x/crypto from 0.13.0 to 0.17.0 in /v3 by @dependabot in #478
- Bump golang.org/x/crypto from 0.13.0 to 0.17.0 by @dependabot in #479
- fix: mark functions as deprecated with doc comment by @donatello in #491
- Refactor the context handling with receiving an ldap response in searchAsync() by @t2y in #496
- chore: Mark public
Start
function as deprecated (closes #356) by @cpuschma in #499 - feat: Refactor
ParseDN
function to fix resource usage and invalid parsings (fixes #487) by @cpuschma in #497 - Revert "fix: Limit maximum BER packet length in
FuzzParseDN
to 6553… by @cpuschma in #500 - Update golang.org/x/crypto by @johnweldon in #502
- fix: Replace DER with ASN1 BER encoding when parsing distinguishedNames by @cpuschma in #505
New Contributors
- @dependabot made their first contribution in #478
- @sirzzang made their first contribution in #480
- @levkohimins made their first contribution in #449
- @donatello made their first contribution in #491
- @inteon made their first contribution in #504
Full Changelog: v3.4.6...v3.4.7
v3.4.6
What's new
- Add search asynchronously with context by @t2y in #440
- Add syncrepl (rfc-4533) consumer (persistent search) by @t2y in #447
- Add fuzz testing by @0x34d in #448
- Add go 1.21 build/testing to github workflow by @t2y in #457
- Add support for Go 1.13's errors.Is/As functions by @zmb3 in #461
- Add cifuzz workflow by @0x34d in #460
What's Changed
- Fix a deadlock issue using search asynchronously by @t2y in #446
- Fix panics in GetLDAPError by @TomSellers in #455
- ControlSyncRequest Encode: cookie optionality by @zeslava in #459
- Refactor DirSync search process by @t2y in #458
- Update dependent packages: by @iredmail in #462
- chore: update go-asn1-ber to v1.5.5 by @cpuschma in #464
- fix request timeout race condition by @raymonstah in #465
- fix:
FuzzParseDN
causing OOMs in restricted environments by @cpuschma in #466 - chore: Mirror v3 to root directory by @cpuschma in #468
New Contributors
- @t2y made their first contribution in #440
- @0x34d made their first contribution in #448
- @TomSellers made their first contribution in #455
- @zeslava made their first contribution in #459
- @zmb3 made their first contribution in #461
- @iredmail made their first contribution in #462
- @raymonstah made their first contribution in #465
Full Changelog: v3.4.5...v3.4.6
v3.4.5
What's New
- Add function to escape distinguished names by @tsschaffert in #393
- Add CLDAP (RFC1798 UDP/Connectionless) support to DialURL by @dsnt02518 in #397
- Add support for SSPI GSSAPI SASL mechanism bind by @FlipB in #402
- implement server side sorting controls (rfc2891) by @m-vinc in #414
- add unmarshalling of generalizedTimestamp and DN by @vetinari in #434
- feat: enable DirSync control in search operation by @masato-sso in #436
What's Changed
- chore: Update GitHub Actions dependencies and test matrix by @cpuschma in #400
- chore: deprecate unnecessary wrapper for
DialWithDialer
andDialWithTLSConfig
by @cpuschma in #399 - fix: packet referral decoding by @james-d-elliott in #413
- fix: error and search result handling in SearchWithPaging by @cpuschma in #417
- Lint/gofmt fixes. by @dsnt02518 in #418
- Update dependencies by @johnweldon in #420
- fix: parsedn not handling attributes with equal char in value by @james-d-elliott in #425
- gofumpt by @johnweldon in #427
- Fix deadlocks caused by invalid connection state by @cholland1989 in #432
- fix: return errors upon panics or receiving unexpected responses by @cpuschma in #433
New Contributors
- @tsschaffert made their first contribution in #393
- @dsnt02518 made their first contribution in #397
- @FlipB made their first contribution in #402
- @m-vinc made their first contribution in #414
- @cholland1989 made their first contribution in #432
- @masato-sso made their first contribution in #436
Full Changelog: v3.4.4...v3.4.5
v3.4.4
#367 - Update test matrix to Go v1.14+
#366 - Support for configurable logger
#368 - Linter cleanup
#372 - Update minimum required Go version to 1.14
#371 - Allow NTLM authentication without a password
#374 - Add missing Client interface methods
#373 - Implement Subtree delete control type
#375 - feat: return referrals for modify operation
#304 - Add Entry Unmarshal
#382 - added int and []byte type to entry unmarshal
#385 - Update dependencies to satisfy new ntlmssp.ProcessChallenge signature
#386 - Add String() methods to DN and its subtypes
#388 - Fix request timeout handling
allow using ; as RDN separator according to rfc2253
v3.4.2 allow using `;` as RDN separator according to rfc2253 (#352)
Helper function DialWithTLSDialer
Also, improve debug logging output.
Performance improvements, helper functions, etc.
Add Go 1.16, drop 1.13 (#335) * Add Go 1.16, drop 1.13 * Add 1.13 back in