v2.8.0: Fix regression with set challenges being ignored #40

Manually merged
coolaj86 sammanfogade 1 incheckningar från dns-challenge-regression-fix in i master 5 år sedan
coolaj86 kommenterad 5 år sedan
Ägare

Regression Fix

Backwards compatibility madness.
When you Greenlock.create({ }), challenges will be set by default if
not available. This is good... ish.

When you approveDomains() and set opts.challenges, however, those must
be able to override the defaults.

This was just recently broken and the fix seems to be to make the prior
defaults inaccessible, otherwise it becomes really confusing as to why
a set DNS challenge for local, wild, or private domains is not being
preferred to the (failing) http.

All this crap will be cleaned up in v3...

New Feature

Oh, and this adds support for getZones(), the testing of which brought about the need to fix the regression.

# Regression Fix Backwards compatibility madness. When you Greenlock.create({ }), challenges will be set by default if not available. This is good... ish. When you approveDomains() and set opts.challenges, however, those must be able to override the defaults. This was just recently broken and the fix seems to be to make the prior defaults inaccessible, otherwise it becomes really confusing as to why a set DNS challenge for local, wild, or private domains is not being preferred to the (failing) http. All this crap will be cleaned up in v3... # New Feature Oh, and this adds support for `getZones()`, the testing of which brought about the need to fix the regression.
coolaj86 closed this pull request 5 år sedan
coolaj86 ändrade titeln från Fix regression with set challenges being ignored till v2.8.0: Fix regression with set challenges being ignored 5 år sedan
coolaj86 refererade till detta ärende från en incheckning 5 år sedan
The pull request has been manually merged as c8b895633c.
Logga in för att delta i denna konversation.
Inga granskare
Ingen Etikett
Ingen Milsten
Ingen tilldelad
1 Deltagare
Notiser
Förfallodatum

Inget förfallodatum satt.

Beroenden

Denna pull-förfrågan har för närvarande inga beroenden.

Laddar…
Det finns inget innehåll än.