Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleapis/js-genai
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.1
Choose a base ref
...
head repository: googleapis/js-genai
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.4.0
Choose a head ref
  • 18 commits
  • 71 files changed
  • 6 contributors

Commits on Mar 11, 2025

  1. chore: Set release please to use a manifest

    Seems like that is the way to get it properly working with the node strategy.
    
    I couldn't find any documentation that explains the relationship between the release please yaml configuration file and the manifest, I'm just assuming that's how we set it up, we'll confirm after this is submitted.
    
    PiperOrigin-RevId: 735928032
    amirh authored and copybara-github committed Mar 11, 2025
    Configuration menu
    Copy the full SHA
    acbac90 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2025

  1. chore: fix release please config - bootstrap-sha is a top level field

    PiperOrigin-RevId: 736003108
    amirh authored and copybara-github committed Mar 12, 2025
    Configuration menu
    Copy the full SHA
    1b03532 View commit details
    Browse the repository at this point in the history
  2. chore: Enforce Prettier, run the format job on a single node version,…

    … format all files, remove check lint result.
    
    The interesting file in this change is `.github/workflows/format.yml`
    everything else is the result of `npm run format`
    
    I removed the "Check lint result" step as it is not doing much - the `npm run lint` exit code is masked by the pipeline, and anyway we're currently failing on lint count increase.
    
    PiperOrigin-RevId: 736163109
    amirh authored and copybara-github committed Mar 12, 2025
    Configuration menu
    Copy the full SHA
    ecd519f View commit details
    Browse the repository at this point in the history
  3. feat: enable union type for Schema when calling Gemini API, enable re…

    …quired field when doing automatic function calling for Gemini API.
    
    PiperOrigin-RevId: 736184308
    yyyu-google authored and copybara-github committed Mar 12, 2025
    Configuration menu
    Copy the full SHA
    180983c View commit details
    Browse the repository at this point in the history
  4. chore: Have release please update the version in _api_client.ts

    chore: Exclude `samples/package.json` from release please version updates.
    chore: Set include-component-in-tag to false
    
    We unset include-component-in-tag top tell release-please our version tags look like `v1.2.3` (and not `genai-v1.2.3`)
    
    PiperOrigin-RevId: 736193313
    amirh authored and copybara-github committed Mar 12, 2025
    Configuration menu
    Copy the full SHA
    6606914 View commit details
    Browse the repository at this point in the history
  5. chore: Update live_test to not check the hardcoded version

    PiperOrigin-RevId: 736219157
    Annhiluc authored and copybara-github committed Mar 12, 2025
    Configuration menu
    Copy the full SHA
    666784c View commit details
    Browse the repository at this point in the history
  6. refactor: Remove unused apiClient from fromObject input parameter…

    …s from relevant modules
    
    PiperOrigin-RevId: 736263255
    Annhiluc authored and copybara-github committed Mar 12, 2025
    Configuration menu
    Copy the full SHA
    2b56c40 View commit details
    Browse the repository at this point in the history
  7. docs: Use basic bootstrap components in the sample web app.

    This makes it a little less ugly, but there's still a way to go.
    
    PiperOrigin-RevId: 736305825
    amirh authored and copybara-github committed Mar 12, 2025
    Configuration menu
    Copy the full SHA
    7964fb4 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2025

  1. chore: Add a .gitignore file

    PiperOrigin-RevId: 736520685
    amirh authored and copybara-github committed Mar 13, 2025
    Configuration menu
    Copy the full SHA
    bd459bc View commit details
    Browse the repository at this point in the history
  2. feat: throw exception when given method is not supported in Gemini AP…

    …I or Vertex AI
    
    PiperOrigin-RevId: 736592336
    hkt74 authored and copybara-github committed Mar 13, 2025
    Configuration menu
    Copy the full SHA
    96ccb6f View commit details
    Browse the repository at this point in the history
  3. feat: Support returned safety attributes for generate_images

    PiperOrigin-RevId: 736612931
    matthew29tang authored and copybara-github committed Mar 13, 2025
    Configuration menu
    Copy the full SHA
    a0e0fcf View commit details
    Browse the repository at this point in the history
  4. chore: get the add_typedic_headers.sh compatible with Linux distros

    This breaks it for Macs, we'll follow-up with a better solution.
    
    PiperOrigin-RevId: 736639134
    amirh authored and copybara-github committed Mar 13, 2025
    Configuration menu
    Copy the full SHA
    b576832 View commit details
    Browse the repository at this point in the history
  5. chore: Enforce @typescript-eslint/no-explicit-any and @typescript-esl…

    …int/no-unsafe-function-type rules in eslint config.
    
    chore: Add eslint exceptions to websocket and table_test
    
    PiperOrigin-RevId: 736646609
    Annhiluc authored and copybara-github committed Mar 13, 2025
    Configuration menu
    Copy the full SHA
    afe9409 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2025

  1. chore: Rename the samples folder to sdk-samples

    We do this because release-please is hardcoded to always update samples/package.json
    
    PiperOrigin-RevId: 736720442
    amirh authored and copybara-github committed Mar 14, 2025
    Configuration menu
    Copy the full SHA
    1c38cf9 View commit details
    Browse the repository at this point in the history
  2. refactor: Provide a better error message when trying to use VertexAI …

    …in browsers.
    
    VertexAI is currently not supported in browser, we're working on adding that support.
    Until then let's provide a clear error message to avoid user confusion.
    
    PiperOrigin-RevId: 736941043
    amirh authored and copybara-github committed Mar 14, 2025
    Configuration menu
    Copy the full SHA
    1ab1402 View commit details
    Browse the repository at this point in the history
  3. fix!: remove the createPartFromVideoMetadata usability function.

    PiperOrigin-RevId: 736957429
    yyyu-google authored and copybara-github committed Mar 14, 2025
    Configuration menu
    Copy the full SHA
    d660a7f View commit details
    Browse the repository at this point in the history
  4. chore: Update dependencies

    PiperOrigin-RevId: 736966739
    amirh authored and copybara-github committed Mar 14, 2025
    Configuration menu
    Copy the full SHA
    4fb0771 View commit details
    Browse the repository at this point in the history
  5. chore(main): release 0.4.0 (#278)

    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    release-please[bot] authored Mar 14, 2025
    Configuration menu
    Copy the full SHA
    9b7bd67 View commit details
    Browse the repository at this point in the history
Loading