Skip to content

Releases: riktaHQ/rikta.js

0.11.0

29 Jan 13:42

Choose a tag to compare

feat: add SSR plugin and tests for server-side rendering capabilities

  • Implemented ssrPlugin for Fastify to enable server-side rendering with Vite.
  • Created tests for ssrPlugin to ensure proper registration and functionality.
  • Added SsrRouter and SsrService with corresponding tests for routing and rendering.
  • Included TypeScript configuration and build setup for SSR package.
  • Documented SSR usage and configuration in the website documentation.

0.10.3

28 Jan 16:03

Choose a tag to compare

feat: CommonJS and ESM compatible builds
feat: Zod type ehnance
feat: passportjs packages added
feat: performance ehnance

v0.8.0 is ready!

23 Jan 18:17

Choose a tag to compare

Implement Abstract Class-Based DI with @Primary and @Named decorators
Add comprehensive dependency injection pattern using abstract classes as contracts:

Features:

  • @Implements decorator: register implementations for abstract classes,
  • @Primary decorator: select default implementation when multiple exist,
  • @Named decorator: qualified injection for specific named implementations,
  • Full registry tracking and container resolution,
  • Support for both property and constructor injection,
  • Combine @Primary with @Named for default + specific access,

Changes:

  • Add 16 comprehensive tests,
  • Update documentation with examples,

https://rikta.dev/docs/fundamentals/dependency-injection#3-use-abstract-classes-for-complex-contracts