Skip to content

Commit

Permalink
"Publish Packages | 12.11.24"
Browse files Browse the repository at this point in the history
  • Loading branch information
mrgnhnt96 committed Dec 11, 2024
1 parent df86b14 commit 08ef210
Show file tree
Hide file tree
Showing 19 changed files with 152 additions and 69 deletions.
82 changes: 45 additions & 37 deletions LATEST_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,18 @@

# revali

## 1.1.1
## 1.2.0

### Chore
### Features

- Upgrade dependencies
- Clean up lint warnings
- Add abbreviation for dart define (`-D`) to match dart's CLI for `build` and `dev` commands
- Safely close the server when `CTRL+C` is pressed
- Watch `components` directory within the `lib` directory for changes to reload the server

### Chores
### Enhancements

- Upgrade dependencies
- Lower min bound for Dart SDK to `3.4.0`
- Improve error handling and logs for server startup

# revali_annotations

Expand All @@ -28,72 +30,78 @@

# revali_construct

## 1.1.0

### Features

- Support `SSE` methods
## 1.1.1

### Chores
### Enhancements

- Upgrade dependencies
- Add assertion checks for `DartFile` to ensure that part directives are unique

# revali_core

## 1.0.0
## 1.1.0

- Initial Release
### Features

- Abstract `DI` class to support creating own instances of `DI`
- Create `DIHandler` to override dependency registry during server startup
- Add `initializeDI` method to support creating own instances of `DI`

<!-- REVALI ROUTER -->

# revali_router

## 1.2.0
## 1.3.0

### Features

- Create `ExpectedHeaders` as non-optional headers to be passed into the request
- Add `ExpectedHeaders` to access control headers
- Combine meta types for better polymorphism support
- Add `ReadOnlyMeta` to `MiddlewareContext`

### Enhancements

- Re-order the pre-request checks to
- CORs Origins Validation
- CORs Headers Validation
- (CORs) Expected Headers Validation
- Options Request Handling
- Redirect Handling
- Return actual response in the `OPTIONS` request instead of a canned response
- Handle internal root errors with the response handler instead of deprecated `send` method
- Rename `ReadOnlyDataHandler` to `ReadOnlyData`
- Rename `WriteOnlyDataHandler` to `WriteOnlyData`

### Fix
### Fixes

- Add `routes` param to `SseRoute` constructor
- Issue where routes would not appear in list of routes after server restart

# revali_router_annotations

## 1.0.1
## 1.1.0

### Chores
### Features

- Upgrade dependencies
- Add `LifecycleComponent` annotation to support creating lifecycle components using classes
- Add `LifecycleComponents` annotation to support registering multiple lifecycle components via type referencing

# revali_router_core

## 1.2.0
## 1.3.0

### Features

- Create `ExpectedHeaders` as non-optional headers to be passed into the request
- Add `ExpectedHeaders` to lifecycle components
- Create `BaseContext` to merge contexts between all components
- Create Result type for:
- Interceptor (pre and post)
- Use new `Meta` types

### Enhancements

- Simplify Results for:
- Exception Catcher
- Guard
- Require type argument on `ExceptionCatcher` and `ExceptionCatcherResult`
- Rename Guard Result constructors to `pass` and `block`
- Rename Exception Catcher Result constructors to `handled` and `unhandled`

<!-- CONSTRUCTS -->

# revali_server

## 1.2.0
## 1.3.0

### Features

- Support `expectedHeaders` argument
- Allow multiple `AllowedHeaders`, `AllowedOrigins` and `ExpectedHeaders` to be provided on a single route/controller
- Create Lifecycle Components using classes to support use of binding logic
- Support `initializeDI` method to create own instances of `DI`
7 changes: 7 additions & 0 deletions constructs/revali_server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# CHANGELOG

## 1.3.0 | 12.11.24

### Features

- Create Lifecycle Components using classes to support use of binding logic
- Support `initializeDI` method to create own instances of `DI`

## 1.2.0 | 11.21.24

### Features
Expand Down
10 changes: 5 additions & 5 deletions constructs/revali_server/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -259,35 +259,35 @@ packages:
path: "../../packages/revali_construct"
relative: true
source: path
version: "1.1.0"
version: "1.1.1"
revali_core:
dependency: "direct main"
description:
path: "../../packages/revali_core"
relative: true
source: path
version: "1.0.0"
version: "1.1.0"
revali_router:
dependency: "direct main"
description:
path: "../../revali_router/revali_router"
relative: true
source: path
version: "1.2.0"
version: "1.3.0"
revali_router_annotations:
dependency: "direct main"
description:
path: "../../revali_router/revali_router_annotations"
relative: true
source: path
version: "1.0.1"
version: "1.1.0"
revali_router_core:
dependency: "direct main"
description:
path: "../../revali_router/revali_router_core"
relative: true
source: path
version: "1.2.0"
version: "1.3.0"
source_span:
dependency: transitive
description:
Expand Down
12 changes: 6 additions & 6 deletions constructs/revali_server/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: revali_server
version: 1.2.0
version: 1.3.0
description: A Revali Server Construct to generate server code using `revali_router`
repository: https://github.com/mrgnhnt96/revali/tree/main/constructs/revali_server
issue_tracker: https://github.com/mrgnhnt96/revali/issues
Expand All @@ -23,8 +23,8 @@ dependencies:
dart_style: ^2.3.6
path: ^1.9.0
revali_annotations: ^1.2.0
revali_construct: ^1.1.0
revali_core: ^1.0.0
revali_router: ^1.2.0
revali_router_annotations: ^1.0.1
revali_router_core: ^1.2.0
revali_construct: ^1.1.1
revali_core: ^1.1.0
revali_router: ^1.3.0
revali_router_annotations: ^1.1.0
revali_router_core: ^1.3.0
13 changes: 13 additions & 0 deletions packages/revali/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# CHANGELOG

## 1.2.0 | 12.11.24

### Features

- Add abbreviation for dart define (`-D`) to match dart's CLI for `build` and `dev` commands
- Safely close the server when `CTRL+C` is pressed
- Watch `components` directory within the `lib` directory for changes to reload the server

### Enhancements

- Lower min bound for Dart SDK to `3.4.0`
- Improve error handling and logs for server startup

## 1.1.1 | 11.20.24

### Chores
Expand Down
4 changes: 2 additions & 2 deletions packages/revali/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -387,14 +387,14 @@ packages:
path: "../revali_construct"
relative: true
source: path
version: "1.1.0"
version: "1.1.1"
revali_core:
dependency: "direct main"
description:
path: "../revali_core"
relative: true
source: path
version: "1.0.0"
version: "1.1.0"
shelf:
dependency: transitive
description:
Expand Down
8 changes: 4 additions & 4 deletions packages/revali/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: revali
description: Revali is a build system for creating scalable and efficient APIs with Dart
version: 1.1.1
version: 1.2.0
repository: https://github.com/mrgnhnt96/revali/tree/main/packages/revali
issue_tracker: https://github.com/mrgnhnt96/revali/issues
documentation: https://revali.dev
Expand Down Expand Up @@ -28,9 +28,9 @@ dependencies:
json_annotation: ^4.9.0
mason_logger: ^0.3.1
path: ^1.9.1
revali_annotations: ^1.1.0
revali_construct: ^1.1.0
revali_core: ^1.0.0
revali_annotations: ^1.2.0
revali_construct: ^1.1.1
revali_core: ^1.1.0
stack_trace: ^1.12.0
stream_transform: ^2.1.0
watcher: ^1.1.0
Expand Down
6 changes: 6 additions & 0 deletions packages/revali_construct/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## 1.1.1 | 12.11.24

### Enhancements

- Add assertion checks for `DartFile` to ensure that part directives are unique

## 1.1.0 | 11.18.24

### Features
Expand Down
4 changes: 2 additions & 2 deletions packages/revali_construct/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: revali_construct
description: Foundation for creating constructs for Revali
version: 1.1.0
version: 1.1.1
repository: https://github.com/mrgnhnt96/revali/tree/main/packages/revali_construct
issue_tracker: https://github.com/mrgnhnt96/revali/issues
documentation: https://revali.dev
Expand All @@ -24,7 +24,7 @@ dependencies:
logging: ^1.2.0
meta: ^1.15.0
path: ^1.9.0
revali_annotations: ^1.1.0
revali_annotations: ^1.2.0
source_span: ^1.10.0

dev_dependencies:
Expand Down
8 changes: 8 additions & 0 deletions packages/revali_core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# CHANGELOG

## 1.1.0 | 12.11.24

### Features

- Abstract `DI` class to support creating own instances of `DI`
- Create `DIHandler` to override dependency registry during server startup
- Add `initializeDI` method to support creating own instances of `DI`

## 1.0.0 | 11.14.24

- Initial Release
2 changes: 1 addition & 1 deletion packages/revali_core/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: revali_core
version: 1.0.0
version: 1.1.0
description: Classes to share between Revali and Revali Annotations
repository: https://github.com/mrgnhnt96/revali/tree/main/packages/revali_core
issue_tracker: https://github.com/mrgnhnt96/revali/issues
Expand Down
16 changes: 16 additions & 0 deletions revali_router/revali_router/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# CHANGELOG

## 1.3.0 | 12.11.24

### Features

- Combine meta types for better polymorphism support
- Add `ReadOnlyMeta` to `MiddlewareContext`

### Enhancements

- Rename `ReadOnlyDataHandler` to `ReadOnlyData`
- Rename `WriteOnlyDataHandler` to `WriteOnlyData`

### Fixes

- Issue where routes would not appear in list of routes after server restart

## 1.2.0 | 11.21.24

### Features
Expand Down
6 changes: 3 additions & 3 deletions revali_router/revali_router/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -403,21 +403,21 @@ packages:
path: "../../packages/revali_core"
relative: true
source: path
version: "1.0.0"
version: "1.1.0"
revali_router_annotations:
dependency: "direct main"
description:
path: "../revali_router_annotations"
relative: true
source: path
version: "1.0.1"
version: "1.1.0"
revali_router_core:
dependency: "direct main"
description:
path: "../revali_router_core"
relative: true
source: path
version: "1.2.0"
version: "1.3.0"
shelf:
dependency: transitive
description:
Expand Down
8 changes: 4 additions & 4 deletions revali_router/revali_router/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: revali_router
description: Feature rich http router for Revali
version: 1.2.0
version: 1.3.0
repository: https://github.com/mrgnhnt96/revali/tree/main/revali_router/revali_router
issue_tracker: https://github.com/mrgnhnt96/revali/issues
documentation: https://revali.dev
Expand All @@ -27,9 +27,9 @@ dependencies:
mime: ^1.0.5
path: ^1.9.0
revali_annotations: ^1.2.0
revali_core: ^1.0.0
revali_router_annotations: ^1.0.1
revali_router_core: ^1.2.0
revali_core: ^1.1.0
revali_router_annotations: ^1.1.0
revali_router_core: ^1.3.0
stack_trace: ^1.11.1

dev_dependencies:
Expand Down
7 changes: 7 additions & 0 deletions revali_router/revali_router_annotations/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# CHANGELOG

## 1.1.0 | 12.11.24

### Features

- Add `LifecycleComponent` annotation to support creating lifecycle components using classes
- Add `LifecycleComponents` annotation to support registering multiple lifecycle components via type referencing

## 1.0.1 | 11.18.24

### Chores
Expand Down
Loading

0 comments on commit 08ef210

Please sign in to comment.