Edit this page

Introducing globalContext

We are thrilled to unveil globalContext, available starting from 0.4.229.

It's a foundational new primitive that unlocks new use cases and facilitates existing ones.

For example:

It also unlocks features for Vike extensions. For example, it enables vike-server to automatically add the server middlewares of upcoming Vike extensions such as vike-trpc, vike-telefunc, and vike-better-auth.

We've updated Vike's documentation to feature globalContext, most notably:

Vision

The new globalContext primitive doubles down on Vike's philosophy of being an unopinionated core with low-level primitives, enabling unprecedented user freedom.

Vike empowers you to build whatever you want.

We also care about zero-config, and that's why everything we released can also be used by Vike extensions.

In general, we're working towards full feature parity between Vike extensions and the user land, enabling powerful Vike extensions.

To foster user freedom, extensions are ejectable.

Roadmap

Thanks to globalContext, we will soon be able to merge and release our work on:

We will then implement:

  1. Open Source Pricing
  2. Type-safe routing (see topic:routing)
  3. Improved SSG support (see topic:ssg)
  4. A lot of polishing ✨
  5. V1 release ⭐

In parallel to Vike's roadmap, we are: