Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Kapper 2.1: already delightful for humans, now rocket fuel for agents

Since Kapper 1.6 , we've shipped six releases — and somewhere along the way, the way people write SQL changed. Most SQL is now written by an agent. That doesn't mean it shouldn't still be a pleasure for humans to write and read — it should. But it does change the calculus. A heavyweight framework like Hibernate or Spring Data exists to spare you from writing SQL. When the SQL is already written,…

Since the release of Kapper 1.6, the way people write SQL has changed, with most SQL now being written by an agent. While keeping SQL front and center for humans remains important, it also changes the calculus for agents. Kapper has taken a new position by making sure that "tell you how to fix it" is serious for both humans and agents.

This post covers everything since 1.6, and where they're headed. Since 1.6, there have been numerous releases, each bringing various improvements and new features. In 1.6.2 and 1.7.1, there were bug fixes such as untrimmed query parsing, transaction autoCommit restoration, and thread-safe date formatting. In 1.7.0, BigDecimal support was added for DECIMAL and NUMERIC columns, eliminating Double rounding surprises and manual conversion.

In 1.8.0, SQL array support was added for PostgreSQL and DuckDB, with support for DuckDB and MariaDB. Kapper has expanded its compatibility to include DuckDB, MariaDB, CockroachDB, YugabyteDB, StarRocks, TiDB, and Firebird, alongside PostgreSQL, MySQL, SQLite, Oracle, and SQL Server support. The self-describing errors introduced in 2.0.0 provide clearer and more actionable error messages for both humans and agents.

This includes handling of BigDecimal, SQL arrays, and DML statements with a RETURNING clause. Furthermore, the query path has become faster in 2.1.0 through cacheable parsed templates, resolved database flavour, once-per-mapper record constructor resolution, and a static JDBCType lookup.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Array Division | CSES - Algoritmit ongelmanratkaisussa

https://cses.fi/alon/task/1085 #include #include #include using namespace std ; int main ( ) { ios_base :: sync_with_stdio ( false ) ; cin .

  • Problem involves dividing array into subarrays to minimize maximum sum
  • Solution uses binary search algorithm on CSES platform
  • Program outputs smallest possible maximum subarray sum

Is a cross-encoder reranker worth the latency? Measured on 2,908 FastAPI doc chunks

Tested on: FastAPI English docs (154 Markdown files, 2,908 heading-aware chunks), sentence-transformers 6.3.0, transformers 5.24.1, torch 2.15.0 CPU (1 torch thread, 2-core GitHub runner)…

  • Reranking top 20 candidates improves MRR from 0.710 to 0.889 on FastAPI doc chunks
  • Latency increases proportionally with candidate depth, costing 1,706 ms per query at 20 candidates
  • Reranking benefits natural-language queries but may not improve identifiers and paraphrases

Meet in the Middle | CSES - Algoritmit ongelmanratkaisussa

https://cses.fi/alon/task/1628 #include #include #include #include using namespace std ; int dp [ 41 ] [ 41 ] ; int n ; long long x ; long long arr [ 41 ] ; vector getSubsetSum ( int l , int r ) { int…

  • CSES problem-solving platform presents C++ solution
  • Dynamic programming and binary search techniques used
  • Program calculates ways to partition array into subsets with specific sum

Build Your Own Whale 🐳, Custom Images with Dockerfile

Introduction Yesterday I ran pre-built containers from Docker Hub. Today, I stepped up from user to creator by packaging my own HTML webpage into a custom Docker image using a Dockerfile , running it…

  • Docker images are read-only blueprints containing app and dependencies
  • Dockerfile is plain-text recipe dictating custom image build
  • Image changes require rebuilding and starting new container

More from Sunday, 29 November 2026 →