nerdbank-gitversioning 3.8.118 → 3.9.15-alpha.gead5232f6d

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3525,6 +3525,11 @@
3525
3525
  Backing field for the <see cref="P:Nerdbank.GitVersioning.VersionOptions.BuildNumberOffset"/> property.
3526
3526
  </summary>
3527
3527
  </member>
3528
+ <member name="F:Nerdbank.GitVersioning.VersionOptions.versionHeightOffsetAppliesTo">
3529
+ <summary>
3530
+ Backing field for the <see cref="P:Nerdbank.GitVersioning.VersionOptions.VersionHeightOffsetAppliesTo"/> property.
3531
+ </summary>
3532
+ </member>
3528
3533
  <member name="F:Nerdbank.GitVersioning.VersionOptions.semVer1NumericIdentifierPadding">
3529
3534
  <summary>
3530
3535
  Backing field for the <see cref="P:Nerdbank.GitVersioning.VersionOptions.SemVer1NumericIdentifierPadding"/> property.
@@ -3735,6 +3740,29 @@
3735
3740
  resulting in a negative build number.
3736
3741
  </remarks>
3737
3742
  </member>
3743
+ <member name="P:Nerdbank.GitVersioning.VersionOptions.EffectiveVersionHeightOffset">
3744
+ <summary>
3745
+ Gets the effective version height offset, taking into account the <see cref="P:Nerdbank.GitVersioning.VersionOptions.VersionHeightOffsetAppliesTo"/> property.
3746
+ </summary>
3747
+ <returns>
3748
+ The version height offset if it applies to the current version, or 0 if the version has changed
3749
+ such that the offset should no longer be applied.
3750
+ </returns>
3751
+ </member>
3752
+ <member name="P:Nerdbank.GitVersioning.VersionOptions.VersionHeightOffsetAppliesTo">
3753
+ <summary>
3754
+ Gets or sets the version to which the <see cref="P:Nerdbank.GitVersioning.VersionOptions.VersionHeightOffset"/> applies.
3755
+ When the <see cref="P:Nerdbank.GitVersioning.VersionOptions.Version"/> property changes such that the version height would be reset,
3756
+ and this property does not match the new version, the <see cref="P:Nerdbank.GitVersioning.VersionOptions.VersionHeightOffset"/> will be ignored.
3757
+ </summary>
3758
+ <value>A semantic version, or <see langword="null"/> to indicate no constraint.</value>
3759
+ <remarks>
3760
+ This property is typically used in conjunction with <see cref="P:Nerdbank.GitVersioning.VersionOptions.VersionHeightOffset"/> to ensure
3761
+ that the offset is only applied when the version matches the expected version. When the version
3762
+ changes such that the version height would reset, this property can be used to automatically
3763
+ stop applying the offset without needing to manually remove it from all version.json files.
3764
+ </remarks>
3765
+ </member>
3738
3766
  <member name="P:Nerdbank.GitVersioning.VersionOptions.SemVer1NumericIdentifierPadding">
3739
3767
  <summary>
3740
3768
  Gets or sets the minimum number of digits to use for numeric identifiers in SemVer 1.
@@ -4593,6 +4621,12 @@
4593
4621
  when calculating the integer to use as the <see cref="P:Nerdbank.GitVersioning.VersionOracle.BuildNumber"/>
4594
4622
  or elsewhere that the {height} macro is used.
4595
4623
  </summary>
4624
+ <remarks>
4625
+ This property returns the effective version height offset, which takes into account
4626
+ the <see cref="P:Nerdbank.GitVersioning.VersionOptions.VersionHeightOffsetAppliesTo"/> property. If that property
4627
+ is set and the version has changed such that the version height would be reset, this
4628
+ will return 0 instead of the configured offset.
4629
+ </remarks>
4596
4630
  </member>
4597
4631
  <member name="P:Nerdbank.GitVersioning.VersionOracle.BuildingRef">
4598
4632
  <summary>
@@ -6,7 +6,7 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v8.0": {
9
- "nbgv/3.8.118": {
9
+ "nbgv/3.9.15-alpha-gead5232f6d": {
10
10
  "dependencies": {
11
11
  "CSharpIsNullAnalyzer": "0.1.593",
12
12
  "DotNetAnalyzers.DocumentationAnalyzers": "1.0.0-beta.59",
@@ -18,7 +18,7 @@
18
18
  "StyleCop.Analyzers.Unstable": "1.2.0.556",
19
19
  "System.CommandLine": "2.0.0-beta7.25380.108",
20
20
  "System.Diagnostics.Tools": "4.3.0",
21
- "Nerdbank.GitVersioning": "3.8.118.27059"
21
+ "Nerdbank.GitVersioning": "3.9.15.60117"
22
22
  },
23
23
  "runtime": {
24
24
  "nbgv.dll": {}
@@ -739,23 +739,23 @@
739
739
  },
740
740
  "runtime": {
741
741
  "Nerdbank.GitVersioning.dll": {
742
- "assemblyVersion": "3.8.118.27059",
743
- "fileVersion": "3.8.118.27059"
742
+ "assemblyVersion": "3.9.15.60117",
743
+ "fileVersion": "3.9.15.60117"
744
744
  }
745
745
  }
746
746
  },
747
- "Nerdbank.GitVersioning/3.8.118.27059": {
747
+ "Nerdbank.GitVersioning/3.9.15.60117": {
748
748
  "runtime": {
749
749
  "Nerdbank.GitVersioning.dll": {
750
- "assemblyVersion": "3.8.118.27059",
751
- "fileVersion": "3.8.118.27059"
750
+ "assemblyVersion": "3.9.15.60117",
751
+ "fileVersion": "3.9.15.60117"
752
752
  }
753
753
  }
754
754
  }
755
755
  }
756
756
  },
757
757
  "libraries": {
758
- "nbgv/3.8.118": {
758
+ "nbgv/3.9.15-alpha-gead5232f6d": {
759
759
  "type": "project",
760
760
  "serviceable": false,
761
761
  "sha512": ""
@@ -1255,7 +1255,7 @@
1255
1255
  "serviceable": false,
1256
1256
  "sha512": ""
1257
1257
  },
1258
- "Nerdbank.GitVersioning/3.8.118.27059": {
1258
+ "Nerdbank.GitVersioning/3.9.15.60117": {
1259
1259
  "type": "reference",
1260
1260
  "serviceable": false,
1261
1261
  "sha512": ""
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nerdbank-gitversioning",
3
- "version": "3.8.118",
3
+ "version": "3.9.15-alpha.gead5232f6d",
4
4
  "description": "Stamps your NPM packages with semver 2.0 compliant git commit specific version information.",
5
5
  "author": {
6
6
  "name": "Andrew Arnott",