diff --git a/changelog/configy_stricter_parsing.dd b/changelog/configy_stricter_parsing.dd index 0cac88e..c4deeb7 100644 --- a/changelog/configy_stricter_parsing.dd +++ b/changelog/configy_stricter_parsing.dd @@ -1,7 +1,7 @@ -dub will now warn on unrecognized settings or selections file +dub will now warn on unrecognized fields in `dub.json`, settings, or selections file Previously, dub was silently accepting anything it didn't recognize -in `[dub.]settings.json` and `dub.selections.json`. While the original +in `dub.json`, `[dub.]settings.json` and `dub.selections.json`. While the original intent was to make forward-compatibility easy, it proved detrimental as typos would just mean the user setting was ignored. diff --git a/source/dub/dependency.d b/source/dub/dependency.d index cf6c4f1..a4f18c0 100644 --- a/source/dub/dependency.d +++ b/source/dub/dependency.d @@ -1033,7 +1033,7 @@ string r; - if (this == Invalid) return "invalid"; + if (this == Invalid) return "no"; if (this.isExactVersion() && m_inclusiveA && m_inclusiveB) { // Special "==" case if (m_versA == Version.masterBranch) return "~master"; diff --git a/source/dub/version_.d b/source/dub/version_.d index 2d36224..7175c63 100644 --- a/source/dub/version_.d +++ b/source/dub/version_.d @@ -1,2 +1,2 @@ module dub.version_; -enum dubVersion = "v1.30.0-beta.1"; +enum dubVersion = "v1.30.0-rc.1";