@fern-api/fern-api-dev 5.15.2 → 5.15.3-1-g64791175799

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.
Files changed (2) hide show
  1. package/cli.cjs +19 -7
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -311768,7 +311768,12 @@ var require_AutoVersionStep = __commonJS({
311768
311768
  async handleNormalFlow(params2) {
311769
311769
  const { prepared, service, language, mappedMagicVersion, previousGenerationSha } = params2;
311770
311770
  const rawDiff = this.gitDiff(previousGenerationSha, prepared.currentGenerationSha);
311771
- const previousVersion = await this.resolvePreviousVersion({ service, rawDiff, mappedMagicVersion });
311771
+ const previousVersion = await this.resolvePreviousVersion({
311772
+ service,
311773
+ rawDiff,
311774
+ mappedMagicVersion,
311775
+ baseVersion: this.config.baseVersion
311776
+ });
311772
311777
  if (previousVersion == null) {
311773
311778
  return await this.handleFirstGeneration({ service, language, mappedMagicVersion });
311774
311779
  }
@@ -311895,7 +311900,11 @@ var require_AutoVersionStep = __commonJS({
311895
311900
  };
311896
311901
  }
311897
311902
  async resolvePreviousVersion(params2) {
311898
- const { service, rawDiff, mappedMagicVersion } = params2;
311903
+ const { service, rawDiff, mappedMagicVersion, baseVersion } = params2;
311904
+ if (baseVersion != null && (0, index_1.isValidSemver)(baseVersion)) {
311905
+ this.logger.debug(`AutoVersionStep: previous version from pipeline baseVersion: ${baseVersion}`);
311906
+ return this.normalizeVersionPrefix(baseVersion, mappedMagicVersion);
311907
+ }
311899
311908
  try {
311900
311909
  const extracted = service.extractPreviousVersion(rawDiff, mappedMagicVersion);
311901
311910
  if (extracted != null) {
@@ -615802,6 +615811,9 @@ var NoDuplicateOverridesRule = {
615802
615811
  continue;
615803
615812
  }
615804
615813
  const operationObj = operation;
615814
+ if (operationObj?.["x-fern-ignore"] === true) {
615815
+ continue;
615816
+ }
615805
615817
  const rawSdkGroupName = operationObj?.["x-fern-sdk-group-name"];
615806
615818
  const sdkGroupName = Array.isArray(rawSdkGroupName) ? rawSdkGroupName.join(".") : rawSdkGroupName;
615807
615819
  const sdkMethodName = operationObj?.["x-fern-sdk-method-name"];
@@ -623606,7 +623618,7 @@ var AccessTokenPosthogManager = class {
623606
623618
  properties: {
623607
623619
  ...event,
623608
623620
  ...event.properties,
623609
- version: "5.15.2",
623621
+ version: "5.15.3-1-g64791175799",
623610
623622
  usingAccessToken: true
623611
623623
  }
623612
623624
  });
@@ -623660,7 +623672,7 @@ var UserPosthogManager = class {
623660
623672
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
623661
623673
  event: "CLI",
623662
623674
  properties: {
623663
- version: "5.15.2",
623675
+ version: "5.15.3-1-g64791175799",
623664
623676
  ...event,
623665
623677
  ...event.properties,
623666
623678
  usingAccessToken: false,
@@ -848611,7 +848623,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
848611
848623
  var LOGS_FOLDER_NAME = "logs";
848612
848624
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
848613
848625
  function getCliSource() {
848614
- const version7 = "5.15.2";
848626
+ const version7 = "5.15.3-1-g64791175799";
848615
848627
  return `cli@${version7}`;
848616
848628
  }
848617
848629
  var DebugLogger = class {
@@ -861419,7 +861431,7 @@ var LegacyDocsPublisher = class {
861419
861431
  previewId,
861420
861432
  disableTemplates: void 0,
861421
861433
  skipUpload,
861422
- cliVersion: "5.15.2",
861434
+ cliVersion: "5.15.3-1-g64791175799",
861423
861435
  loginCommand: "fern auth login"
861424
861436
  });
861425
861437
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -935944,7 +935956,7 @@ var CliContext = class _CliContext {
935944
935956
  if (false) {
935945
935957
  this.logger.error("CLI_VERSION is not defined");
935946
935958
  }
935947
- return "5.15.2";
935959
+ return "5.15.3-1-g64791175799";
935948
935960
  }
935949
935961
  getCliName() {
935950
935962
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.15.2",
2
+ "version": "5.15.3-1-g64791175799",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",