Updated cors

This commit is contained in:
thomashii 2021-07-10 09:05:24 +08:00
parent f3ca65976c
commit 88016ec045
5 changed files with 30 additions and 20 deletions

View file

@ -45,7 +45,7 @@
* 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_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_proxy to 4.0.0 (5/7 tests passed)
* Migrated angel_file_service to 4.0.0 (6/6 tests passed)

12
TODO.md
View file

@ -4,15 +4,15 @@
* Migrate all modules to support NNBD
* Fix issues and failed unit test
* Validate
* Client
* Websocket
* ORM
* Add more examples
* Improve User Guide
* OAuth2
* Proxy
* Update examples
* Update User Guide
* Update `Angel3` website
* Performance metric
* Generate performance metric
## Long Term Goal
* Upgrade Angel3 architecture
* Optimise Angel3 architecture

View file

@ -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
# 3.0.0
## 3.0.0
* Migrated to work with Dart SDK 2.12.x Non NNBD
# 2.0.0
## 2.0.0
* Updates for Dart 2 and Angel 2.

View file

@ -1,12 +1,11 @@
# angel3_cors
[![version](https://img.shields.io/badge/pub-v4.0.0-brightgreen)](https://pub.dartlang.org/packages/angel3_cors)
# Angel3 CORS middleware
[![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)
[![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)
Angel CORS middleware.
Port of [the original Express CORS middleware](https://github.com/expressjs/cors).
CORS headers middleware for Angel3. Ported from [Express CORS middleware](https://github.com/expressjs/cors) to Angel3 framework.
For complete example usage, see the [example file](example/example.dart).

View file

@ -1,7 +1,8 @@
name: angel3_cors
version: 4.0.0
description: Angel CORS middleware. Port of expressjs/cors to the Angel framework.
homepage: https://github.com/dukefirehawk/angel/tree/angel3/packages/cors
version: 4.0.1
description: Angel3 CORS middleware. Ported from expressjs/cors to Angel3 framework.
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/angel3/packages/cors
environment:
sdk: '>=2.12.0 <3.0.0'
dependencies: