SShortSingh.
Back to feed

Google Gen AI SDK 3.6.0 Introduces Breaking Changes Developers Must Address

0
·3 views

A lead engineer upgrading the googleapis/js-genai SDK from 3.5.2 to 3.6.0 saw a customer support bot fail with 500 errors and 400 responses after deployment. Unit tests relying on mocked responses did not catch the problems, leading to roughly four hours of downtime and about 1,200 failed interactions. The article attributes the failures to three changes: asynchronous content retrieval replacing older patterns, a move to strictly typed safety category enums, and removal of default model fallbacks. The guidance recommends Node.js 18 or higher, fully qualified model version strings, and verifying model instantiation before rollout.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Why a join silently double-counts revenue, and three ways to fix it

A common reporting error shows revenue totals roughly twice the real figure, even though every individual row looks correct. The cause is a join between order items and product categories, since products belonging to several categories get duplicated. Using a PostgreSQL 16 example with four products, the join turns seven order items into sixteen rows, inflating the total to 1055.00 instead of the actual 525.00. The article recommends counting rows before and after each join to catch such duplication early. It then describes three possible fixes, the first being to assign a single primary category per product so each sale is counted once.

0
ProgrammingDEV Community ·

Common Image Augmentations Can Help Some Object Classes While Hurting Others

Researchers found that a standard augmentation like raising image contrast can improve detection for some damage classes in a bridge photo while degrading others. The effect stems from classes relying on different visual cues, such as shape for hairline cracks and colour for rust, while augmentations are usually judged by a class-averaged score that hides these losses. To measure this, the team trained 258 models across three datasets, RDD2022, dacl10k and PASCAL VOC, using two detector families and applying one edit at a time. On dacl10k with Faster R-CNN, contrast boosted cracks and hollow areas but consistently hurt rust and efflorescence across seeds. The authors report that contrast and mosaic remained statistically significant after correcting for multiple comparisons, and that mosaic's benefit varied across classes.

0
ProgrammingDEV Community ·

Learning Linux, Docker and CI/CD Through Real Troubleshooting in a Personal SRE Repo

A developer shares a practical learning log from building a personal SRE repository, covering the failures encountered and how each was debugged. The work spans Linux fundamentals, shell and file handling, systemd, Nginx and HTTPS debugging, Docker images and Compose, and GitHub Actions CI. A central theme is the shift from getting software running locally to making builds repeatable and repository changes safer. The author highlights practical lessons such as how relative paths resolve from the current working directory and how Docker WORKDIR affects COPY destinations. The post is organized by daily milestones, with the Day 05 Docker and CI incidents documented in most detail.

0
ProgrammingDEV Community ·

Dictation Apps for Windows and Mac in 2026: Where Your Voice Is Processed and What It Costs

A comparison of dictation software for Windows and Mac examines first whether speech is converted to text on the user's own computer or on remote servers. That distinction determines offline capability, how voice recordings are handled, and much of the cost. Windows Voice Typing and Dragon-era tools are compared against built-in options like Apple Dictation and Windows Voice Access, which are free but differ in accuracy and setup. Third-party apps such as Superwhisper, MacWhisper, Spokenly and Wispr Flow are listed with their pricing models, from one-time purchases to monthly subscriptions. The author discloses that one of the reviewed apps, Yap, is their own product, and notes that other apps may suit some users better.