AINewsnow

SQLAlchemy 1.x code on 2.x: no error, no row

This story is from 2026-10-19. It is preserved in the archive; the latest stories are on the live feed.

SQLAlchemy 2.0 removed library level autocommit. The migration guide says it plainly: in 1.x, conn.execute(text("INSERT ...")) on a connection from engine.connect() would commit on its own, and in 2.0 "this will not occur". Code written in the 1.x style still looks fine. Here is what it does on sql…

Read the full story at DEV Community — AI ↗

Timeline · 1 report

  1. 2026-10-19 17:09 · DEV Community — AI
    SQLAlchemy 1.x code on 2.x: no error, no row

More stories

  1. MiniMax launches M3.1 Flash, confirming Space Bunny was an early build — Vercel Blog
  2. DeepSeek V4.1 Flash 1017 now available on AI Gateway — Vercel Blog
  3. Google Gemini 4 agents just beat Minecraft with no human intervention — Engadget
  4. Anthropic commits 5% of shares to public benefit fund ahead of planned IPO — TechCrunch AI
  5. Introducing Clairic, a new System One class of extraction models — Cloudflare Blog — AI
  6. People are using AI to make their smart TVs dumb again — TechCrunch AI
  7. Cutting our inference bill by 68% by being obsessive about optimization — Cloudflare Blog — AI
  8. Prosecutors say ex-OpenAI employee accused of planting recording device received 'what appears to be considerable support' from the Saudi government — Business Insider AI

Get the daily brief of stories like this at 6:30 every morning →