24 Jan 2025

feedDZone Java Zone

Multi-Tenancy and Its Improved Support in Hibernate 6.3.0

Multi-tenancy has become an important feature for modern enterprise applications that need to serve multiple clients (tenants) from a single application instance. While an earlier version of Hibernate had support for multi-tenancy, its implementation required significant manual configuration and custom strategies to handle tenant isolation, which resulted in higher complexity and slower processes, especially for applications with a number of tenants.

The latest version of Hibernate 6.3.0, which was released on December 15, 2024, addressed the above limitations with enhanced multi-tenancy support through better tools for tenant identification, schema resolution, and enhanced performance for handling tenant-specific operations. This article talks about how Hibernate 6.3.0 enhanced the traditional multi-tenancy implementation significantly.

24 Jan 2025 12:00pm GMT

feedJavaScript Weekly

Bun's on a roll with v1.2

#​720 - January 24, 2025

Read on the Web

JavaScript Weekly

Bun 1.2: A Big Step Forward for the Fast JS/TS Runtime - The JavaScriptCore-based Bun continues to up its server-side runtime game with strides forward in Node.js compatibility, performance boosts, and new APIs for interacting with S3 and S3-like object stores as well as Postgres. If you'd prefer to be ▢️ introduced to Bun 1.2 with a keynote-style video, it's a good watch.

Ashcon Partovi and the Bun Team

πŸ¦– ..and by no means should we forget Deno whose team have published a roundup of all of Deno's progress in the past year.

FlexGrid by Wijmo: The Industry-Leading JavaScript Datagrid - A fast and flexible DataGrid for building modern web apps. Key features and virtualized rendering are included in the core grid module. Pick & choose special features to keep your app small. Built for JavaScript, extended to Angular, React, and Vue.

Wijmo From MESCIUS inc. sponsor

πŸ€– Transformers.js v3.3: Machine Learning and AI for the Web - This is a dry release announcement but I wanted to highlight the rapid pace that this exciting library is making for browser-based NLP, speech recognition, vision, and now text-to-speech use cases (live TTS demo here - it takes a while to load though). It's also being used in Firefox for various enhancements (see below).

Hugging Face

IN BRIEF:

RELEASES:

πŸ“’ Articles & Tutorials

πŸ•’ JavaScript Temporal is Coming (For Real!) - We first mentioned the Temporal API proposal providing a better way to handle dates and times in JavaScript almost five years ago (in issue 496!) but now it really is almost here. Brian explains its basic concepts and where initial support is starting to appear.

Brian Smith

Avoiding anys with Linting and TypeScript - any is TypeScript's famous type fallback/safety hatch but if you can avoid it, you can benefit more from TypeScript's type-checking features. Josh shares some tips to do just that.

Josh Goldberg

[Workshop] How to Build Testing Culture on Your Team - Join our live session to learn strategies for gaining buy-in, balancing testing, and integrating it into daily workflows.

Sentry sponsor

πŸ€– Running Inference in Web Extensions - Firefox Nightly is shipping with a new API that can let you use their AI runtime for offline machine learning tasks in Web extensions you create. It uses the previously mentioned Transformers.js and is already used in Firefox 133 to provide alt text for images in PDFs.

Tarek ZiadΓ© (Mozilla)

πŸ“„ Generating Test Values using JavaScript Generators Peter Leonov

πŸ“„ TypeScript Enums: Use Cases and Alternatives Dr. Axel Rauschmayer

πŸ“„ Fetch and HTTP/2 Support in Node, Bun and Deno Georges Haidar

πŸ“Š A Deep Dive into Initial Load Performance Nadia Makarevich

πŸ“„ Improving UI Performance by Optimizing Our Debouncer Atul Jalan (Compose)

πŸ“„ Angular Clean Coding Fundamentals Jonathan Gamble

πŸ›  Code & Tools

deck.gl 9.1: GPU-Powered Large Scale Data Visualization - deck.gl provides a way to create complex yet high performance data visualizations composed of multiple layers (examples). It can be used in a vanilla JS way or through React components and it's ready for WebGPU.

OpenJS Foundation

Breakpoints and console.log Is the Past, Time Travel Is the Future - Next-level testing in any editor, 15x faster with Interactive Time Travel Debugger, real-time insights & advanced coverage in a new UI.

Wallaby Team sponsor

ArkType 2.0: Runtime Validation Library - An easy-to-deploy solution for schema validation that can infer TypeScript definitions 1:1 and use them as optimized validators for your data, both at runtime and for immediate type-level feedback in your editor.

ArkType

NodeBB v4.0.0 Released: Node.js Powered Forums - Offers a classic forum experience in a modern Node.js-shaped guise. v4 adds support for federation between instances and the wider 'fediverse.'

NodeBB, Inc.

SRCL: Build React Apps with 'Terminal Aesthetics' - The homepage is a live demonstration of what SRCL has to offer. It's a suite of React components and styling to recreate a monospaced, terminal-like atmosphere

Internet Development Studio Company

🎢 Chiptune.js: Module / Tracker File Player - A library for playing 'module' music files like MOD, XM and S3M. (Demo.)

Chiptune Contributors

πŸ“° Classifieds

Meticulous automatically creates and maintains an E2E UI test suite with zero developer effort. Relied on by Lattice, Bilt Rewards, etc.

β˜€οΈ The main JS conference returns to a unique venue! Enjoy 50+ talks & workshops, a food truck festival, networking with 1.5K devs, & 10% off with code JSWEEKLY!

24 Jan 2025 12:00am GMT

23 Jan 2025

feedDZone Java Zone

Multi-Tenant Data Isolation and Row Level Security

Over the past one and a half years, I was involved in designing and developing a multi-tenant treasury management system. In this article, I will share our approaches to the data isolation aspect of our multi-tenant solution and the learnings from it.

Background and Problem Regarding Data Isolation

Before going into the problem that I will focus on today, I must first give some background into our architecture for storage and data in our system. When it comes to data partitioning for SaaS systems, at the extreme far right end, we have the approach of using dedicated databases for each tenant (silo model), and on the other side of the spectrum is the shared database model (pool model).

23 Jan 2025 6:00pm GMT

feedJBoss Blogs

Eclipse Vert.x 4.5.12 released!

23 Jan 2025 12:00am GMT

22 Jan 2025

feedJBoss Blogs

Quarkus 3.17.8 - Maintenance release

We released Quarkus 3.17.8, the last maintenance release for our 3.17 release train. 3.18 will be released next week. UPDATE To update to Quarkus 3.17, we recommend updating to the latest version of the Quarkus CLI and run: quarkus update Note that quarkus update can update your applications from any version of Quarkus (including 2.x) to Quarkus 3.17. For more information about the adjustments you need to make to your applications, please refer to the . FULL CHANGELOG You can get the full changelog of on GitHub. COME JOIN US We value your feedback a lot so please report bugs, ask for improvements… Let's build something great together! If you are a Quarkus user or just curious, don't be shy and join our welcoming community: * provide feedback on ; * craft some code and ; * discuss with us on and on the ; * ask your questions on .

22 Jan 2025 12:00am GMT

21 Jan 2025

feedJBoss Blogs

Quarkus 3.15.3 released - LTS maintenance release

Today, we released Quarkus 3.15.3, our second (we skipped 3.15.0) maintenance release for the 3.15 LTS stream. This release contains bugfixes and documentation improvements. It should be a safe upgrade for anyone already using 3.15. UPDATE To update to Quarkus 3.15, we recommend updating to the latest version of the Quarkus CLI and run: quarkus update --stream=3.15 Note that quarkus update can update your applications from any version of Quarkus (including 2.x) to Quarkus 3.15. FULL CHANGELOG You can get . COME JOIN US We value your feedback a lot so please report bugs, ask for improvements… Let's build something great together! If you are a Quarkus user or just curious, don't be shy and join our welcoming community: * provide feedback on ; * craft some code and ; * discuss with us on and on the ; * ask your questions on .

21 Jan 2025 12:00am GMT

20 Jan 2025

feedDZone Java Zone

Create a Custom Logger to Log Response Details With Playwright Java

While working on the series of tutorial blogs for GET, POST, PUT, PATCH, and DELETE requests for API Automation using Playwright Java. I noticed that there is no logging method provided by the Playwright Java framework to log the requests and responses.

In the REST-assured framework, we have the log().all() method available that is used for logging the request as well as the response. However, Playwright does not provide any such method. However, Playwright offers a text() method in the APIResponse interface that could be well used to extract the response text.

20 Jan 2025 7:00pm GMT

17 Jan 2025

feedJavaScript Weekly

An introduction to building live collaborative JS apps

#​719 - January 17, 2025

Read on the Web

JavaScript Weekly

Learn Yjs and Building Realtime Collaborative Apps in JavaScript - Yjs is a CRDT (Conflict-free replicated data type) library for building collaborative and local-first apps. CDRTs are powerful but can be tricky to 'get' which is why this new interactive Yjs tutorial is so valuable. A great way to learn about building collaborative, syncing webapps from the ground up.

Jamsocket

Bun v1.1.44: The Fast JS Runtime Adds On-Demand Frontend Bundling - The popular, high-performance alternative JavaScript runtime has extended its Bun.serve() HTTP handler with support for bundling frontend apps on demand using HTML imports.

Ben Grant

Protect Against Bots, Fraud, and Abuse in Real Time - With WorkOS Radar you can detect, verify and block harmful behaviour, protecting your app with advanced device fingerprinting. Stop fake signups, stop free tier abuse, and stop bot attacks and brute force attempts today.

WorkOS sponsor

A Checklist for Your tsconfig.json - What I love about Dr. Axel is when he's done the hard work of figuring something out for himself, he writes it down. So it goes here, with his journey to set up a good tsconfig.json for his projects.

Dr. Axel Rauschmayer

IN BRIEF:

RELEASES:

πŸ“’ Articles & Tutorials

A Look at Regular Expression Pattern Modifiers - You may be familiar with using flags to change the behavior of regexes, but Dr. Axel looks at a proposal bringing a way to change regex flags within subexpressions (e.g. /^[a-z](?-i:[a-z])$/i;). It's at stage 4 and should land in ECMAScript 2025.

Dr. Axel Rauschmayer

Accessibility Essentials Every React JS Developer Should Know - If you're an experienced frontend developer, these might be second nature to you by now, but this is a good roundup of the entry level 'table stakes' for frontend accessibility, whether using React or not.

Martijn Hols

Write More Maintainable JavaScript with AI Code Reviews - CodeRabbit is your AI-powered code review companion that deeply understands the JavaScript codebase. Free for open source.

CodeRabbit sponsor

Five Years of React Native at Shopify - Five years ago, Shopify said React Native was the future for mobile development at their company and they meant it, with every mobile app moving to RN over time. Here's what they learnt along the way and why they're sticking with it.

Mustafa Ali (Shopify)

Revealed: React's Experimental Animations API - <ViewTransition /> is based on the browser's View Transition API. It's only in pre-release versions of React, but Matt is armed with examples for you to get a feel for the potential.

Matt Perry (Motion)

πŸ“„ All JavaScript Keyboard Shortcut Libraries are Broken - Reflections on long standing complexities with the myriad ways of detecting keypresses. Jack Duvall

πŸ“„ JavaScript Hashing Speed Comparison: MD5 vs. SHA-256 - You shouldn't be using MD5 anyway, but you especially shouldn't be using it with the misconception that it's faster. Daniel Lemire

πŸ“„ 5 Technical JavaScript Trends You Need To Know About in 2025 Alexander T. Williams

πŸ“„ Creating a Generative Artwork with Three.js Eduard Fossas

πŸ“„ JavaScript's Promise.race and Promise.all Are Not "Fair" Chris Krycho

πŸ“„ Node.js's Type Stripping Explained Marco Ippolito

πŸ›  Code & Tools

β™ŸοΈ Chess.js: A Library to Manage a Chess Game - Provides move generation, validation, piece placement, check/checkmate/stalemate detection - "everything but the AI!" v1.0 offers a rewrite to TypeScript and a variety of enhancements.

Jeff Hlywa

πŸ’‘ Chess Engines: A Zero to One is a neat article digging into the technicalities of implementing a chess engine.

react-nil 2.0: A React 'Null Renderer' - An interesting experiment to use React in situations where you don't need it to render anything, but you want to use hooks, suspense, context, and other bits of the React lifecycle. Like in, say, a Node app. Maybe this CodeSandbox example will provoke some ideas.

Poimandres

πŸ”Ž file-type 20.0: Detect the File Type of a File, Stream or Data - For example, give it the raw data from a PNG file, and it'll tell you it's a PNG. Uses a 'magic number' approach so is targeted at non text-based formats. v20 adds support for yet more formats, including JARs, Word/Excel templates, and now supports ZIP decompression.

Sindre Sorhus

Node Web Audio API 1.0: A Web Audio API Implementation for Node - More accurately, it's a set of Node bindings for a Rust-powered non-browser implementation of the Web Audio API.

IRCAM - Centre Pompidou

βš™οΈ Vue Spring Bottom Sheet - A lightweight, flexible solution for bottom sheets in Vue apps. megaarmos

βš™οΈ Act - A Go-powered tool that looks at your repo's GitHub Actions, uses Docker to grab the necessary images, and runs the tasks locally. Nektos

βš™οΈ Svar - A new suite of open source UI components for Svelte, React, and Vue. XB Software

πŸ“° Classifieds

Optimize Your Next.js App's Metadata - Discover practical ways to boost your site's SEO and visibility by customizing metadata in Next.js.

🎹 STRICH: Add blazing fast and reliable 1D/2D Barcode Scanning to your web apps. Free demo app and 30-day trial available.

Meticulous automatically creates and maintains an E2E UI test suite with zero developer effort. Relied on by Lattice, Bilt Rewards, etc.

17 Jan 2025 12:00am GMT

10 Jan 2025

feedJavaScript Weekly

The projects that shaped JavaScript in 2024

#​718 - January 10, 2025

Read on the Web

πŸ—“οΈ Friday is the new Thursday! If you were a JavaScript Weekly reader several years ago, you might remember it always landed on Fridays and after getting caught out by a variety of big news items landing on Thursdays in recent years, we're back ;-)
__
Your editor, Peter Cooper

JavaScript Weekly

⭐ 2024's JavaScript Rising Stars - It's time to fully wave goodbye to 2024, but not before Michael Rambeau's annual analysis of which JavaScript projects fared best on GitHub over the past year. Even if you dislike GitHub stars as a metric for anything, this remains a great way to get a feel for the JavaScript ecosystem and see what libraries and tools have mindshare in a variety of niches. A fantastic roundup as always.

Michael Rambeau

A Look at Import Attributes - It's always a pleasure to see Dr. Axel blogging about JavaScript again, and he's back with one of his typical deep dives into a newer ECMAScript feature: import attributes. This feature provides an inline syntax for attaching metadata to module imports such as for importing non-JavaScript modules (e.g. JSON, WASM or CSS).

Dr. Axel Rauschmayer

How to Enable End-to-End Testing with Synthetic Monitoring - Synthetic Monitoring helps you launch new features with confidence and speed. Learn how you can create robust end-to-end test suites, spend less time on false positives, and proactively catch errors before they get to production.

Datadog sponsor

Node's New Built-in Support for TypeScript - Node.js v23.6.0 (Current) has just been released and makes Node's new type-stripping features work by default, so you can just run node file.ts and it Should Just Workβ„’. Dr. Axel explains how it works and what the limitations are.

Dr. Axel Rauschmayer

IN BRIEF:

RELEASES:

  • pnpm 10 - The efficient npm alternative no longer runs lifecycle scripts of dependencies for security reasons, hashing algorithms have been upgraded to SHA256, and lots of minor tweaks.

  • Bun v1.1.43 - The high-performance runtime gets first class S3 support, an HTML bundler, and can output V8 heap snapshots (which is quite something as Bun uses JavaScriptCore, not V8).

  • πŸ”  Tesseract.js 6.0 - The popular pure JS multilingual OCR library has resolved a variety of memory leak issues.

  • Docusaurus 3.7 - The popular docs-oriented site generator goes full React 19.

  • Node.js v22.13.0 (LTS) - The permission model system is now stable.

  • Puppeteer 24.0, RxDB 16.0, Ember 6.1, QuickJS 0.8

πŸ“’ Articles & Tutorials

The Future of htmx - htmx is an increasingly popular way to enhance HTML and actually write less JavaScript on the frontend. This post reflects on how htmx would like to be 'the new jQuery', not least in the sense that one of the project's goals is to push the ideas of htmx into the HTML standard itself, as in this set of proposals.

Gross and Petros

You Don't Need Next.js - As much as Next.js is considered the React meta-framework of choice, if your requirements are modest, simply going with plain React offers numerous benefits in terms of simplicity and speed, as seen here.

Benny Kok

Introducing Clerk SDKs for Vue and Nuxt - Official @clerk/vue & @clerk/nuxt SDKs for authentication integration with pre-built UI components in Vue/Nuxt apps.

Clerk sponsor

Using TypeScript Without Build Tools - Chris Coyier enjoys the benefits of TypeScript while developing, but actually compiling it to JavaScript in various scenarios is less endearing. We've learnt (above) that Node can now run .ts files directly, but what other projects support the use of TypeScript without build tools?

Chris Coyier

πŸ“„ Using a JavaScript Component Inside a Haskell App - Did you know Haskell's main compiler supports integrating with JavaScript? Mateusz GoΕ›linowski

πŸ“„ Crafting a Dreamy Particle Effect with Three.js and GPGPU Dominik Fojcik

πŸ“„ Build Your Own Site Speed Testing Tool with Puppeteer Henry Price

πŸ“„ Sharing a Variable Across HTML, CSS, and JavaScript Chris Coyier

πŸ“„ Benchmarking GraphQL Solutions in the JS/TS Landscape Tomasz NieΕΌurawski

πŸ“„ Shallow Clones vs Structured Clones Phil Nash

πŸ›  Code & Tools

PostalMime: A Universal Email Parsing Library - An email parsing library happy in most JS runtimes. Takes the raw source of emails and parses them into their constituent parts.

Postal Systems

trimMiddle(): The Missing String Trim Method? - If you've got a long string and want to keep the start and end and truncate in the middle, this is for you. There's a live demo here and GitHub repo.

Christian Heilmann

Fully Customizable Form Builder that Blends Seamlessly with Your JS App - Need a survey solution you control? With SurveyJS, customize your form builder's look and functionality. Try it for free.

SurveyJS sponsor

Introducing @smoores/epub: A Package for Working with EPUB Files - EPUB is a popular e-book file format and this new library provides a way to both read and write them. npm package link.

Shane Friedman

Tipex: An Advanced Rich Text Editor for Svelte - Based on the popular Tiptap editor framework, it's customizable, has theming support, and is Svelte 5-ready. Here's a live example.

Friend of Svelte

React-Toastify 11: In-Page Notifications Made Easy - There's an elaborate demo page here but essentially it's a flexible, easy to style 'toast' style notifications system with many years under its belt. GitHub repo.

Fadi Khadra

Electrobun: A New JS Cross-Platform Desktop App Toolkit - A fresh take on the concept covered by Electron and Neutralinojs, except based around Bun. It's early days, though, with only ARM-based Macs supported for now.

Blackboard Technologies inc.

Tagify 4.33: An Elegant Input Component for Tags - The polished demos show a lot of effort has been put in here. GitHub repo.

Yair Even-Or

πŸ“° Classifieds

Meticulous automatically creates and maintains an E2E UI test suite with zero developer effort. Relied on by Lattice, Bilt Rewards, etc.

πŸ”ΉSell to enterprise with a few lines of code with WorkOS - the modern, flexible identity platform for B2B SaaS. Integrate SSO, SCIM and FGA in minutes, not months.

🎁 And one for fun?

πŸ“„ Play Tetris in a PDF File - (direct link to PDF)

I'll let you decide if this one is fun or frightening! Whether or not this will work depends on your PDF reader or browser support, but it works with Chrome and Firefox, at least.

The PDF document format supports embedded JavaScript and this experiment uses it to implement a game of Tetris. The developer, Thomas Rinsma, has used Python to output the PostScript that includes the game's JavaScript. Couple that with the fact many browser PDF renderers are themselves implemented in JavaScript (e.g. PDF.js) and you have a veritable Matryoshka doll of technologies at play here.

10 Jan 2025 12:00am GMT

17 Jul 2024

feedOfficial jQuery Blog

Second Beta of jQuery 4.0.0

Last February, we released the first beta of jQuery 4.0.0. We're now ready to release a second, and we expect a release candidate to come soonβ„’. This release comes with a major rewrite to jQuery's testing infrastructure, which removed all deprecated or under-supported dependencies. But the main change that warranted a second beta was a … Continue reading β†’

17 Jul 2024 2:03pm GMT

17 Apr 2024

feedOfficial jQuery Blog

Upgrading jQuery: Working Towards a Healthy Web

jQuery's influence on the web will always be evident. When it was first introduced in 2006, jQuery became a fundamental tool for web developers almost immediately. It simplified JavaScript programming, making it easier to manipulate HTML documents, handle events, perform animations, and much more. Since then, it has played and continues to play a major … Continue reading β†’

17 Apr 2024 5:00pm GMT

06 Feb 2024

feedOfficial jQuery Blog

jQuery 4.0.0 BETA!

jQuery 4.0.0 has been in the works for a long time, but it is now ready for a beta release! There's a lot to cover, and the team is excited to see it released. We've got bug fixes, performance improvements, and some breaking changes. We removed support for IE<11 after all! Still, we expect disruption … Continue reading β†’

06 Feb 2024 4:43pm GMT