Skip to content

Commit 4c32840

Browse files
committed
Merge branch 'release/2.0.0' into main
2 parents 49ccc64 + 79b9192 commit 4c32840

26 files changed

+834
-884
lines changed

DESIGN.md

Lines changed: 0 additions & 270 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dependencies:
3131
import 'package:raiser/raiser.dart';
3232

3333
// Define an event
34-
class UserCreated extends DomainEvent {
34+
class UserCreated extends RaiserEvent {
3535
final String userId;
3636
final String email;
3737

@@ -55,7 +55,7 @@ void main() async {
5555

5656
### Domain Events
5757

58-
All events extend `DomainEvent`, which provides automatic metadata:
58+
All events extend `RaiserEvent`, which provides automatic metadata:
5959

6060
| Property | Description |
6161
|----------|-------------|
@@ -66,7 +66,7 @@ All events extend `DomainEvent`, which provides automatic metadata:
6666
Override `toMetadataMap()` to include your event's fields for serialization:
6767

6868
```dart
69-
class OrderPlaced extends DomainEvent {
69+
class OrderPlaced extends RaiserEvent {
7070
final String orderId;
7171
final double amount;
7272

packages/raiser/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.0.0] - 2026-01-08
9+
10+
### Changed
11+
12+
- **BREAKING**: Renamed `DomainEvent` to `RaiserEvent` to avoid naming conflicts with other packages
13+
814
## [1.0.0] - 2024-12-19
915

1016
### Added

packages/raiser/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ dependencies:
3030
import 'package:raiser/raiser.dart';
3131

3232
// Define an event
33-
class UserCreated extends DomainEvent {
33+
class UserCreated extends RaiserEvent {
3434
final String userId;
3535
final String email;
3636

@@ -59,7 +59,7 @@ void main() async {
5959

6060
## Domain Events
6161

62-
All events extend `DomainEvent`, which provides automatic metadata:
62+
All events extend `RaiserEvent`, which provides automatic metadata:
6363

6464
| Property | Description |
6565
|----------|-------------|
@@ -68,7 +68,7 @@ All events extend `DomainEvent`, which provides automatic metadata:
6868
| `aggregateId` | Optional link to a domain aggregate |
6969

7070
```dart
71-
class OrderPlaced extends DomainEvent {
71+
class OrderPlaced extends RaiserEvent {
7272
final String orderId;
7373
final double amount;
7474

0 commit comments

Comments
 (0)