Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Vertex GA] Miscellaneous breaking changes for Vertex GA #8514

Merged
merged 8 commits into from
Sep 24, 2024
Merged

Conversation

Copy link

changeset-bot bot commented Sep 23, 2024

⚠️ No Changeset found

Latest commit: 2f69ff7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

Changeset File Check ⚠️

  • Warning: This PR modifies files in the following packages but they have not been included in the changeset file:%0A - @firebase/app-check-compat%0A - @firebase/app-check%0A - @firebase/app-compat%0A - @firebase/app%0A - @firebase/component%0A - @firebase/database-compat%0A - @firebase/database%0A - @firebase/logger%0A - @firebase/util%0A - @firebase/vertexai-preview%0A%0A Make sure this was intentional.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Sep 23, 2024

Size Report 1

Affected Products

  • @firebase/vertexai

    TypeBase (097bd67)Merge (15529eb)Diff
    browser25.4 kB27.4 kB+2.02 kB (+7.9%)
    main26.0 kB28.3 kB+2.23 kB (+8.6%)
    module25.4 kB27.4 kB+2.02 kB (+7.9%)
  • firebase

    TypeBase (097bd67)Merge (15529eb)Diff
    firebase-vertexai.js19.6 kB21.1 kB+1.55 kB (+7.9%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/h7eS7uhufN.html

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Sep 23, 2024

Size Analysis Report 1

Affected Products

  • @firebase/vertexai

    • ArraySchema

      Size

      TypeBase (097bd67)Merge (15529eb)Diff
      size?4.54 kB? (?)
      size-with-ext-deps?22.3 kB? (?)

      Dependency

      TypeBase (097bd67)Merge (15529eb)Diff
      functions?

      registerVertex

      ?
      classes?

      ArraySchema
      BooleanSchema
      IntegerSchema
      NumberSchema
      ObjectSchema
      Schema
      StringSchema
      VertexAIError
      VertexAIService

      ?
      variables?

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      ?
      enums??

      External Dependency

      ModuleBase (097bd67)Merge (15529eb)Diff
      @firebase/app?

      _registerComponent
      registerVersion

      ?
      @firebase/component?

      Component

      ?
      @firebase/util?

      FirebaseError

      ?
    • BlockReason

      Size

      TypeBase (097bd67)Merge (15529eb)Diff
      size2.93 kB2.45 kB-484 B (-16.5%)
      size-with-ext-deps20.7 kB20.2 kB-484 B (-2.3%)

      Dependency

      TypeBase (097bd67)Merge (15529eb)Diff
      variables

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      FunctionDeclarationSchemaType
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      Task
      VERTEX_TYPE
      name
      version

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + SchemaType
      - FunctionDeclarationSchemaType

    • BooleanSchema

      Size

      TypeBase (097bd67)Merge (15529eb)Diff
      size?4.54 kB? (?)
      size-with-ext-deps?22.3 kB? (?)

      Dependency

      TypeBase (097bd67)Merge (15529eb)Diff
      functions?

      registerVertex

      ?
      classes?

      ArraySchema
      BooleanSchema
      IntegerSchema
      NumberSchema
      ObjectSchema
      Schema
      StringSchema
      VertexAIError
      VertexAIService

      ?
      variables?

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      ?
      enums??

      External Dependency

      ModuleBase (097bd67)Merge (15529eb)Diff
      @firebase/app?

      _registerComponent
      registerVersion

      ?
      @firebase/component?

      Component

      ?
      @firebase/util?

      FirebaseError

      ?
    • ChatSession

      Size

      TypeBase (097bd67)Merge (15529eb)Diff
      size14.1 kB13.6 kB-482 B (-3.4%)
      size-with-ext-deps32.6 kB32.1 kB-482 B (-1.5%)

      Dependency

      TypeBase (097bd67)Merge (15529eb)Diff
      variables

      25 dependencies

      BlockReason
      DEFAULT_API_VERSION
      DEFAULT_BASE_URL
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      FunctionDeclarationSchemaType
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      LANGUAGE_TAG
      PACKAGE_VERSION
      POSSIBLE_ROLES
      SILENT_ERROR
      Task
      VALID_PARTS_PER_ROLE
      VALID_PART_FIELDS
      VALID_PREVIOUS_CONTENT_ROLES
      VERTEX_TYPE
      badFinishReasons
      name
      responseLineRE
      version

      25 dependencies

      BlockReason
      DEFAULT_API_VERSION
      DEFAULT_BASE_URL
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      LANGUAGE_TAG
      PACKAGE_VERSION
      POSSIBLE_ROLES
      SILENT_ERROR
      SchemaType
      Task
      VALID_PARTS_PER_ROLE
      VALID_PART_FIELDS
      VALID_PREVIOUS_CONTENT_ROLES
      VERTEX_TYPE
      badFinishReasons
      name
      responseLineRE
      version

      + SchemaType
      - FunctionDeclarationSchemaType

    • FinishReason

      Size

      TypeBase (097bd67)Merge (15529eb)Diff
      size2.94 kB2.45 kB-484 B (-16.5%)
      size-with-ext-deps20.7 kB20.2 kB-484 B (-2.3%)

      Dependency

      TypeBase (097bd67)Merge (15529eb)Diff
      variables

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      FunctionDeclarationSchemaType
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      Task
      VERTEX_TYPE
      name
      version

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + SchemaType
      - FunctionDeclarationSchemaType

    • FunctionCallingMode

      Size

      TypeBase (097bd67)Merge (15529eb)Diff
      size2.94 kB2.46 kB-484 B (-16.5%)
      size-with-ext-deps20.7 kB20.2 kB-484 B (-2.3%)

      Dependency

      TypeBase (097bd67)Merge (15529eb)Diff
      variables

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      FunctionDeclarationSchemaType
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      Task
      VERTEX_TYPE
      name
      version

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + SchemaType
      - FunctionDeclarationSchemaType

    • GenerativeModel

      Size

      TypeBase (097bd67)Merge (15529eb)Diff
      size16.6 kB16.1 kB-482 B (-2.9%)
      size-with-ext-deps35.1 kB34.6 kB-482 B (-1.4%)

      Dependency

      TypeBase (097bd67)Merge (15529eb)Diff
      variables

      25 dependencies

      BlockReason
      DEFAULT_API_VERSION
      DEFAULT_BASE_URL
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      FunctionDeclarationSchemaType
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      LANGUAGE_TAG
      PACKAGE_VERSION
      POSSIBLE_ROLES
      SILENT_ERROR
      Task
      VALID_PARTS_PER_ROLE
      VALID_PART_FIELDS
      VALID_PREVIOUS_CONTENT_ROLES
      VERTEX_TYPE
      badFinishReasons
      name
      responseLineRE
      version

      25 dependencies

      BlockReason
      DEFAULT_API_VERSION
      DEFAULT_BASE_URL
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      LANGUAGE_TAG
      PACKAGE_VERSION
      POSSIBLE_ROLES
      SILENT_ERROR
      SchemaType
      Task
      VALID_PARTS_PER_ROLE
      VALID_PART_FIELDS
      VALID_PREVIOUS_CONTENT_ROLES
      VERTEX_TYPE
      badFinishReasons
      name
      responseLineRE
      version

      + SchemaType
      - FunctionDeclarationSchemaType

    • HarmBlockMethod

      Size

      TypeBase (097bd67)Merge (15529eb)Diff
      size2.94 kB2.45 kB-484 B (-16.5%)
      size-with-ext-deps20.7 kB20.2 kB-484 B (-2.3%)

      Dependency

      TypeBase (097bd67)Merge (15529eb)Diff
      variables

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      FunctionDeclarationSchemaType
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      Task
      VERTEX_TYPE
      name
      version

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + SchemaType
      - FunctionDeclarationSchemaType

    • HarmBlockThreshold

      Size

      TypeBase (097bd67)Merge (15529eb)Diff
      size2.94 kB2.46 kB-484 B (-16.5%)
      size-with-ext-deps20.7 kB20.2 kB-484 B (-2.3%)

      Dependency

      TypeBase (097bd67)Merge (15529eb)Diff
      variables

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      FunctionDeclarationSchemaType
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      Task
      VERTEX_TYPE
      name
      version

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + SchemaType
      - FunctionDeclarationSchemaType

    • HarmCategory

      Size

      TypeBase (097bd67)Merge (15529eb)Diff
      size2.94 kB2.45 kB-484 B (-16.5%)
      size-with-ext-deps20.7 kB20.2 kB-484 B (-2.3%)

      Dependency

      TypeBase (097bd67)Merge (15529eb)Diff
      variables

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      FunctionDeclarationSchemaType
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      Task
      VERTEX_TYPE
      name
      version

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + SchemaType
      - FunctionDeclarationSchemaType

    • HarmProbability

      Size

      TypeBase (097bd67)Merge (15529eb)Diff
      size2.94 kB2.45 kB-484 B (-16.5%)
      size-with-ext-deps20.7 kB20.2 kB-484 B (-2.3%)

      Dependency

      TypeBase (097bd67)Merge (15529eb)Diff
      variables

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      FunctionDeclarationSchemaType
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      Task
      VERTEX_TYPE
      name
      version

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + SchemaType
      - FunctionDeclarationSchemaType

    • HarmSeverity

      Size

      TypeBase (097bd67)Merge (15529eb)Diff
      size2.94 kB2.45 kB-484 B (-16.5%)
      size-with-ext-deps20.7 kB20.2 kB-484 B (-2.3%)

      Dependency

      TypeBase (097bd67)Merge (15529eb)Diff
      variables

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      FunctionDeclarationSchemaType
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      Task
      VERTEX_TYPE
      name
      version

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + SchemaType
      - FunctionDeclarationSchemaType

    • IntegerSchema

      Size

      TypeBase (097bd67)Merge (15529eb)Diff
      size?4.54 kB? (?)
      size-with-ext-deps?22.3 kB? (?)

      Dependency

      TypeBase (097bd67)Merge (15529eb)Diff
      functions?

      registerVertex

      ?
      classes?

      ArraySchema
      BooleanSchema
      IntegerSchema
      NumberSchema
      ObjectSchema
      Schema
      StringSchema
      VertexAIError
      VertexAIService

      ?
      variables?

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      ?
      enums??

      External Dependency

      ModuleBase (097bd67)Merge (15529eb)Diff
      @firebase/app?

      _registerComponent
      registerVersion

      ?
      @firebase/component?

      Component

      ?
      @firebase/util?

      FirebaseError

      ?
    • NumberSchema

      Size

      TypeBase (097bd67)Merge (15529eb)Diff
      size?4.54 kB? (?)
      size-with-ext-deps?22.3 kB? (?)

      Dependency

      TypeBase (097bd67)Merge (15529eb)Diff
      functions?

      registerVertex

      ?
      classes?

      ArraySchema
      BooleanSchema
      IntegerSchema
      NumberSchema
      ObjectSchema
      Schema
      StringSchema
      VertexAIError
      VertexAIService

      ?
      variables?

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      ?
      enums??

      External Dependency

      ModuleBase (097bd67)Merge (15529eb)Diff
      @firebase/app?

      _registerComponent
      registerVersion

      ?
      @firebase/component?

      Component

      ?
      @firebase/util?

      FirebaseError

      ?
    • ObjectSchema

      Size

      TypeBase (097bd67)Merge (15529eb)Diff
      size?4.54 kB? (?)
      size-with-ext-deps?22.3 kB? (?)

      Dependency

      TypeBase (097bd67)Merge (15529eb)Diff
      functions?

      registerVertex

      ?
      classes?

      ArraySchema
      BooleanSchema
      IntegerSchema
      NumberSchema
      ObjectSchema
      Schema
      StringSchema
      VertexAIError
      VertexAIService

      ?
      variables?

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      ?
      enums??

      External Dependency

      ModuleBase (097bd67)Merge (15529eb)Diff
      @firebase/app?

      _registerComponent
      registerVersion

      ?
      @firebase/component?

      Component

      ?
      @firebase/util?

      FirebaseError

      ?
    • POSSIBLE_ROLES

      Size

      TypeBase (097bd67)Merge (15529eb)Diff
      size2.98 kB2.50 kB-484 B (-16.2%)
      size-with-ext-deps20.8 kB20.3 kB-484 B (-2.3%)

      Dependency

      TypeBase (097bd67)Merge (15529eb)Diff
      variables

      15 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      FunctionDeclarationSchemaType
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      POSSIBLE_ROLES
      Task
      VERTEX_TYPE
      name
      version

      15 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      POSSIBLE_ROLES
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + SchemaType
      - FunctionDeclarationSchemaType

    • Schema

      Size

      TypeBase (097bd67)Merge (15529eb)Diff
      size?4.54 kB? (?)
      size-with-ext-deps?22.3 kB? (?)

      Dependency

      TypeBase (097bd67)Merge (15529eb)Diff
      functions?

      registerVertex

      ?
      classes?

      ArraySchema
      BooleanSchema
      IntegerSchema
      NumberSchema
      ObjectSchema
      Schema
      StringSchema
      VertexAIError
      VertexAIService

      ?
      variables?

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      ?
      enums??

      External Dependency

      ModuleBase (097bd67)Merge (15529eb)Diff
      @firebase/app?

      _registerComponent
      registerVersion

      ?
      @firebase/component?

      Component

      ?
      @firebase/util?

      FirebaseError

      ?
    • SchemaType

      Size

      TypeBase (097bd67)Merge (15529eb)Diff
      size?2.45 kB? (?)
      size-with-ext-deps?20.2 kB? (?)

      Dependency

      TypeBase (097bd67)Merge (15529eb)Diff
      functions?

      registerVertex

      ?
      classes?

      VertexAIService

      ?
      variables?

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      ?
      enums??

      External Dependency

      ModuleBase (097bd67)Merge (15529eb)Diff
      @firebase/app?

      _registerComponent
      registerVersion

      ?
      @firebase/component?

      Component

      ?
    • StringSchema

      Size

      TypeBase (097bd67)Merge (15529eb)Diff
      size?4.54 kB? (?)
      size-with-ext-deps?22.3 kB? (?)

      Dependency

      TypeBase (097bd67)Merge (15529eb)Diff
      functions?

      registerVertex

      ?
      classes?

      ArraySchema
      BooleanSchema
      IntegerSchema
      NumberSchema
      ObjectSchema
      Schema
      StringSchema
      VertexAIError
      VertexAIService

      ?
      variables?

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      ?
      enums??

      External Dependency

      ModuleBase (097bd67)Merge (15529eb)Diff
      @firebase/app?

      _registerComponent
      registerVersion

      ?
      @firebase/component?

      Component

      ?
      @firebase/util?

      FirebaseError

      ?
    • VertexAIError

      Size

      TypeBase (097bd67)Merge (15529eb)Diff
      size3.26 kB2.76 kB-500 B (-15.4%)
      size-with-ext-deps21.0 kB20.5 kB-500 B (-2.4%)

      Dependency

      TypeBase (097bd67)Merge (15529eb)Diff
      variables

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      FunctionDeclarationSchemaType
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      Task
      VERTEX_TYPE
      name
      version

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + SchemaType
      - FunctionDeclarationSchemaType

    • getGenerativeModel

      Size

      TypeBase (097bd67)Merge (15529eb)Diff
      size16.8 kB16.3 kB-482 B (-2.9%)
      size-with-ext-deps35.2 kB34.7 kB-482 B (-1.4%)

      Dependency

      TypeBase (097bd67)Merge (15529eb)Diff
      variables

      25 dependencies

      BlockReason
      DEFAULT_API_VERSION
      DEFAULT_BASE_URL
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      FunctionDeclarationSchemaType
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      LANGUAGE_TAG
      PACKAGE_VERSION
      POSSIBLE_ROLES
      SILENT_ERROR
      Task
      VALID_PARTS_PER_ROLE
      VALID_PART_FIELDS
      VALID_PREVIOUS_CONTENT_ROLES
      VERTEX_TYPE
      badFinishReasons
      name
      responseLineRE
      version

      25 dependencies

      BlockReason
      DEFAULT_API_VERSION
      DEFAULT_BASE_URL
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      LANGUAGE_TAG
      PACKAGE_VERSION
      POSSIBLE_ROLES
      SILENT_ERROR
      SchemaType
      Task
      VALID_PARTS_PER_ROLE
      VALID_PART_FIELDS
      VALID_PREVIOUS_CONTENT_ROLES
      VERTEX_TYPE
      badFinishReasons
      name
      responseLineRE
      version

      + SchemaType
      - FunctionDeclarationSchemaType

    • getVertexAI

      Size

      TypeBase (097bd67)Merge (15529eb)Diff
      size3.12 kB2.63 kB-484 B (-15.5%)
      size-with-ext-deps28.2 kB27.7 kB-484 B (-1.7%)

      Dependency

      TypeBase (097bd67)Merge (15529eb)Diff
      variables

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      FunctionDeclarationSchemaType
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      Task
      VERTEX_TYPE
      name
      version

      14 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + SchemaType
      - FunctionDeclarationSchemaType

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/kI9DVHTkwy.html

@hsubox76 hsubox76 changed the title Miscellaneous breaking changes for Vertex GA [Vertex GA] Miscellaneous breaking changes for Vertex GA Sep 23, 2024
@hsubox76 hsubox76 changed the base branch from main to v11 September 23, 2024 21:57
@hsubox76 hsubox76 added this to the Vertex GA milestone Sep 23, 2024
@hsubox76 hsubox76 removed the request for review from tonyjhuang September 24, 2024 18:33
@hsubox76 hsubox76 merged commit 3fe4f4f into v11 Sep 24, 2024
39 of 40 checks passed
@hsubox76 hsubox76 deleted the ch-vertex-misc branch September 24, 2024 23:03
hsubox76 added a commit that referenced this pull request Oct 17, 2024
* Add node engines fields specifying a minimum of 18 (#8457)

* Make memory lru gc the default (#8110)

* Make memory lru gc the default

* undo yarn.lock

* Make memory lru gc the default

* Fix tests

* V11 release removal of node-fetch and undici dependencies (#8492)

Our v11 release will require node 18+. Since fetch has been introduced in these node versions, we can remove our dependency on third party fetch implementations.

This change removes our usage of fetch variants undici and node-fetch for our node target builds and our CI tools.

* V11 - Remove functions node bundle (#8507)

With the removal of fetch we no long need to create a node bundle for functions. Instead the sourcebase may become isomorphic, so long as we remove the older node sources. And that's what the PR does!

* Initial changes for Vertex GA packaging (#8498)

* [Vertex GA] Rewrite Schema (#8479)

* [Vertex GA] Add new endpoint and error message. (#8497)

* [Vertex GA] Miscellaneous breaking changes for Vertex GA (#8514)

* Remove ES5 Support (#8509)

* Emit a module package file for functions ESM builds (#8517)

* Update API_NOT_ENABLED error for Vertex (#8549)

* Upgrade cjs bundles for storage and performance (#8557)

These should have been part of the bigger PR, but I missed these.

* Rollup JS files with rollup-typescript-plugin (#8503)

The rollup-typescript-plugin does not transpile JS files using the TS
compiler by default. This means that external dependencies that provide
JS bundles will not be transpiled to the target ES version specified in
the TypeScript config used by the plugin.

This resulted in one of our dependencies (https://github.com/jakearchibald/idb)
being included in the CDN bundles without being transpiled to
ES5 (the target ES version). Since this dependencies bundle uses
ES2018 syntax (object spread operator `{ ...x }`), this upgraded our CDN
bundles' minimum ES version requirement to ES2018 which isn't compatible with older browser versions.
To see the ES2018 syntax in one of the CDN bundles, see
https://www.gstatic.com/firebasejs/10.13.1/firebase-app.js and search for `...oldTraps`.

* Fix tsc errors in vertex tests (#8562)

* Make SafetySettings.method optional (#8567)

* Make SafetySettings.method optional

* Update API reports

---------

Co-authored-by: hsubox76 <[email protected]>

* [Vertex GA] Regenerate docs after Vertex GA changes (#8505)

* Close emulator file after download is complete (#8572)

* close file

* Add test:ci to end of test command in CI

* revert workflow file changes

* format

* rename vertexai package reference in a changeset (#8573)

* Missed one doc change from a PR (#8575)

* Overwrite undefined candidate index (#8577)

* Overwrite undefined candidate index

* Fix index overwrite condition to only be true when index is not a property

* Upgrade Vertex Mock Responses to V5 (#8579)

* Upgrade to mock responses v4

* Upgrade from v4 to v5 mock responses

---------

Co-authored-by: wu-hui <[email protected]>
Co-authored-by: DellaBitta <[email protected]>
Co-authored-by: Daniel La Rocque <[email protected]>
Co-authored-by: hsubox76 <[email protected]>
@firebase firebase locked and limited conversation to collaborators Oct 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants