Updated cors
This commit is contained in:
parent
f3ca65976c
commit
88016ec045
5 changed files with 30 additions and 20 deletions
|
@ -45,7 +45,7 @@
|
||||||
* Create orm-sdk-2.12.x boilerplate (in progress) <= Milestone 2
|
* Create orm-sdk-2.12.x boilerplate (in progress) <= Milestone 2
|
||||||
* Migrated angel_auth_oauth2 to 4.0.0 (0/0 tests passed)
|
* Migrated angel_auth_oauth2 to 4.0.0 (0/0 tests passed)
|
||||||
* Migrated angel_auth_cache to 4.0.0 (7/7 tests passed)
|
* Migrated angel_auth_cache to 4.0.0 (7/7 tests passed)
|
||||||
* Migrated angel_auth_cors to 4.0.0 (10/15 tests passed)
|
* Migrated angel_auth_cors to 4.0.0 (15/15 tests passed)
|
||||||
* Migrated angel_oauth2 to 4.0.0 (17/25 tests passed)
|
* Migrated angel_oauth2 to 4.0.0 (17/25 tests passed)
|
||||||
* Migrated angel_proxy to 4.0.0 (5/7 tests passed)
|
* Migrated angel_proxy to 4.0.0 (5/7 tests passed)
|
||||||
* Migrated angel_file_service to 4.0.0 (6/6 tests passed)
|
* Migrated angel_file_service to 4.0.0 (6/6 tests passed)
|
||||||
|
|
12
TODO.md
12
TODO.md
|
@ -4,15 +4,15 @@
|
||||||
|
|
||||||
* Migrate all modules to support NNBD
|
* Migrate all modules to support NNBD
|
||||||
* Fix issues and failed unit test
|
* Fix issues and failed unit test
|
||||||
* Validate
|
|
||||||
* Client
|
|
||||||
* Websocket
|
* Websocket
|
||||||
* ORM
|
* ORM
|
||||||
* Add more examples
|
* OAuth2
|
||||||
* Improve User Guide
|
* Proxy
|
||||||
|
* Update examples
|
||||||
|
* Update User Guide
|
||||||
* Update `Angel3` website
|
* Update `Angel3` website
|
||||||
* Performance metric
|
* Generate performance metric
|
||||||
|
|
||||||
## Long Term Goal
|
## Long Term Goal
|
||||||
|
|
||||||
* Upgrade Angel3 architecture
|
* Optimise Angel3 architecture
|
||||||
|
|
|
@ -1,8 +1,18 @@
|
||||||
# 4.0.0
|
# Change Log
|
||||||
|
|
||||||
|
## 4.0.1
|
||||||
|
|
||||||
|
* Updated README
|
||||||
|
* All 15 unit tests passed
|
||||||
|
|
||||||
|
## 4.0.0
|
||||||
|
|
||||||
* Migrated to support Dart SDK 2.12.x NNBD
|
* Migrated to support Dart SDK 2.12.x NNBD
|
||||||
|
|
||||||
# 3.0.0
|
## 3.0.0
|
||||||
|
|
||||||
* Migrated to work with Dart SDK 2.12.x Non NNBD
|
* Migrated to work with Dart SDK 2.12.x Non NNBD
|
||||||
|
|
||||||
# 2.0.0
|
## 2.0.0
|
||||||
* Updates for Dart 2 and Angel 2.
|
|
||||||
|
* Updates for Dart 2 and Angel 2.
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
# angel3_cors
|
# Angel3 CORS middleware
|
||||||
[![version](https://img.shields.io/badge/pub-v4.0.0-brightgreen)](https://pub.dartlang.org/packages/angel3_cors)
|
|
||||||
|
[![version](https://img.shields.io/badge/pub-v4.0.1-brightgreen)](https://pub.dartlang.org/packages/angel3_cors)
|
||||||
[![Null Safety](https://img.shields.io/badge/null-safety-brightgreen)](https://dart.dev/null-safety)
|
[![Null Safety](https://img.shields.io/badge/null-safety-brightgreen)](https://dart.dev/null-safety)
|
||||||
[![Gitter](https://img.shields.io/gitter/room/angel_dart/discussion)](https://gitter.im/angel_dart/discussion)
|
[![Gitter](https://img.shields.io/gitter/room/angel_dart/discussion)](https://gitter.im/angel_dart/discussion)
|
||||||
|
|
||||||
[![License](https://img.shields.io/github/license/dukefirehawk/angel)](https://github.com/dukefirehawk/angel/tree/angel3/packages/cors/LICENSE)
|
[![License](https://img.shields.io/github/license/dukefirehawk/angel)](https://github.com/dukefirehawk/angel/tree/angel3/packages/cors/LICENSE)
|
||||||
|
|
||||||
|
CORS headers middleware for Angel3. Ported from [Express CORS middleware](https://github.com/expressjs/cors) to Angel3 framework.
|
||||||
|
|
||||||
Angel CORS middleware.
|
For complete example usage, see the [example file](example/example.dart).
|
||||||
Port of [the original Express CORS middleware](https://github.com/expressjs/cors).
|
|
||||||
|
|
||||||
For complete example usage, see the [example file](example/example.dart).
|
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
name: angel3_cors
|
name: angel3_cors
|
||||||
version: 4.0.0
|
version: 4.0.1
|
||||||
description: Angel CORS middleware. Port of expressjs/cors to the Angel framework.
|
description: Angel3 CORS middleware. Ported from expressjs/cors to Angel3 framework.
|
||||||
homepage: https://github.com/dukefirehawk/angel/tree/angel3/packages/cors
|
homepage: https://angel3-framework.web.app/
|
||||||
|
repository: https://github.com/dukefirehawk/angel/tree/angel3/packages/cors
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=2.12.0 <3.0.0'
|
sdk: '>=2.12.0 <3.0.0'
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
Loading…
Reference in a new issue