惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
DataBreaches.Net
J
Java Code Geeks
有赞技术团队
有赞技术团队
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The GitHub Blog
The GitHub Blog
T
The Blog of Author Tim Ferriss
Apple Machine Learning Research
Apple Machine Learning Research
量子位
D
Docker
V
Visual Studio Blog
博客园 - 司徒正美
Martin Fowler
Martin Fowler
人人都是产品经理
人人都是产品经理
WordPress大学
WordPress大学
U
Unit 42
M
MIT News - Artificial intelligence
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
G
Google Developers Blog
Engineering at Meta
Engineering at Meta
V
V2EX
大猫的无限游戏
大猫的无限游戏
雷峰网
雷峰网
Vercel News
Vercel News
C
Check Point Blog

Kreya Blog

Kreya 1.21 - What's New REST vs. gRPC - Which should You choose for your next API? The new HTTP QUERY method explained Kreya 1.20 - What's New The Hidden Cost of Cloud-First API Clients Testing REST APIs with Kreya How to call Google Cloud APIs with Kreya Getting Started with GraphQL in Kreya gRPC in the browser: gRPC-Web under the hood Postman vs Kreya Virtual Scrolling: Rendering millions of messages without lag Kreya 1.19 and 1.19.1 - What's New Calling Auth0 Secured APIs with Kreya gRPC deep dive: from service definition to wire format Looking back on 2025 Transfering files with gRPC Catching API regressions with snapshot testing 5 Best API Testing Tools Comparing the privacy of popular API clients Demystifying the protobuf wire format - Part 2 Import HAR Files in Kreya: Debug APIs & gRPC-Web
Kreya 1.18 - What's New
Lars · 2025-09-26 · via Kreya Blog

Kreya 1.18 brings powerful new ways to visualize and validate your API workflows: Data Previews and Snapshot Tests. These features make it easier than ever to understand your API responses and ensure your integrations remain stable over time.

Snapshot tests Pro / Enterprise

Kreya 1.18 introduces Snapshot Tests, a fast, code-free way to ensure your APIs behave consistently over time. Inspired by Jest, snapshot tests automatically capture and compare API responses, alerting you to any unexpected changes.

How snapshot tests work:

  • Enable snapshot testing in Kreya settings
  • Kreya automatically saves a snapshot of each API response
  • On future runs, responses are compared to the stored snapshot
  • If the response changes, you’ll see a diff and can accept or reject the update

Advanced usage: For more control, use the kreya.snapshot API in your scripts to snapshot custom values:

kreya.grpc.onResponse(async msg => await kreya.snapshot.verifyObjectAsJson('response', { length: msg.value.length }));

Best practices:

  • Keep your tests deterministic, avoid random or time-dependent data in snapshots
  • Treat snapshots like code: review changes, commit them to version control, and keep them up to date

An animation showcasing snapshot testing.

Test results are shown in the Tests tab, with visual snapshot diffs.
See the snapshot documentation for more details.

Data Previews Pro / Enterprise

Kreya now lets you create rich, interactive data visualizations directly in the app. With the new kreya.preview API, you can display PDFs, charts, HTML, and more, right from your scripts. This makes it easy to turn raw API responses into meaningful insights.

Why use previews?

  • Visualize complex data for easier interpretation
  • Share and review results with your team
  • Debug and explore responses interactively

Sample: Visualize API data as a chart

You can render charts using libraries like Apache ECharts. For example, to visualize a REST API response as a bar chart:

kreya.rest.onCallCompleted(
async resp =>
await kreya.preview.html(
`
<html>
<body>
<div id="chart" style="width: 100%; height: 100%;"></div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/echarts.min.js"></script>
<script>
const chart = echarts.init(document.getElementById('chart'));
chart.setOption({
title: { text: 'Values' },
animation: false,
xAxis: { type: 'category', data: ${JSON.stringify(resp.response.content.map(d => d.label))} },
yAxis: { type: 'value' },
series: [{ type: 'bar', data: ${JSON.stringify(resp.response.content.map(d => d.value))} }]
});
window.addEventListener('resize', () => chart.resize());
</script>
</body>
</html>
`,
'Sales',
),
);

An animation showcasing visualizing data as a chart.

See the kreya.preview API documentation and samples for more details and inspiration.

A small change, but sometimes really useful. It's now possible to store comments in environments.

An animation showcasing add a comment in environments.

Improved trace and test tab

The Trace and Test tab has been redesigned. Messages are now grouped by operation name, making it quick and easy to see which message belongs to which operation. It is also now possible to search the Trace tab and navigate through the search results.

An animation showcasing the improved test and trace tab.

Multiple organizations and seats manager in customer portal Pro / Enterprise

There is now a dropdown menu in the header of the customer portal for managing multiple organizations, whether personal or business. Additionally, the customer portal now features a new role called Seats Manager, which distinguishes between the billing administrator and the person responsible for managing user seats.

Kreya customer portal screenshot

GTK4 for Linux

On Linux, we updated our dependencies to GTK4. If you do not use Kreya via snap, make sure that you have libgtk-4-1 and libwebkitgtk-6.0-4 installed.

Improved proxy support Enterprise

It is now possible to configure proxy settings under Project > Proxy. Here, you can add a proxy address and exclusions. To activate a proxy, select it in the footer bar.

An animation showcasing using the proxy settings.

And more

Kreya 1.18 also includes various improvements and bug fixes. For a full list, see the release notes.

If you have feedback or questions, please contact us or report an issue.

Stay tuned! 🚀