Skip to content

Releases: Colossus-Services/bones_api

v1.0.7

08 Sep 00:11
Compare
Choose a tag to compare
- Added `APIPayload.payloadFileExtension`.
- Added `ConditionEncoder`, `ConditionSQLEncoder`.
- Improved Data & Entity framework:
  - Added `SQLDatabaseAdapter` and `PostgreAdapter`.
  - Added `DataRepositorySQL`.
- Added DB Adapter for PostgreSQL.
- APIServer:
  - Better auto MIME Type resolution.
- Now API methods can return `FutureOr<APIResponse>`.
- mime: ^1.0.0

v1.0.6

03 Sep 05:50
Compare
Choose a tag to compare
- CLI Hot Reload fixed:
  - Avoid reload of main Isolate (bones_api CLI),
    since API is spawned in it's own Isolate.
- `DataEntity`:
  - Added `fieldsNames`.
- `DataHandlerProvider`:
  - Fixed `getDataHandler`.
- Added `EntityDataHandler` and `DataRepositoryProvider`.

v1.0.5

02 Sep 05:04
Compare
Choose a tag to compare
- Added integration with `ReflectionFactory`.
  - Routes can be configured using a `reflection` object.
- `APIServer`:
  - Added support to Dart VM Hot Reload.
- CLI `bones_api`:
  - Added flag `--hotreload` to serve the API with Hot Reload enabled.
- Added `DataEntity` and `DataHandler` framework
- Added `Condition`:
  - Allow queries using a syntax similar to Dart.
- New `APIRepository`, to allow database agnostic integration.
- dart_spawner: ^1.0.5
- reflection_factory: ^1.0.4
- args: ^2.2.0
- petitparser: ^4.2.0
- hotreloader: ^3.0.1
- logging: ^1.0.1
- collection: ^1.15.0
- lints: ^1.0.1

v1.0.4

23 Jul 07:52
Compare
Choose a tag to compare
- CLI `bones_api`:
  - Added command `console`.
  - Command `serve`: added header `Content-Type`.
- Added `Arguments` tool.
- Added `APIRequest.fromArgs` and `APIRequest.fromArgsLine`.
- Added `APIRequest`/`APIResponse` `payloadMimeType`.

v1.0.3

22 Jul 07:46
Compare
Choose a tag to compare
- `APIServer`:
  - Added `create` and `run` helpers.

v1.0.2

22 Jul 06:52
Compare
Choose a tag to compare
- `APIServer`:
  - Add `isStopped` and `waitStopped()`.
  - Removed `isClosed`.
- Fix `PATCH` method.
- CLI:
  - Improved serve console logging.
- Using `dart_spawner` to spawn/run an `API`.
- dart_spawner: ^1.0.2
- Removed `yaml: ^3.1.0`

v1.0.1

20 Jul 07:52
Compare
Choose a tag to compare
- Improve documentation.
- Fix typo.

v1.0.0

20 Jul 07:19
Compare
Choose a tag to compare
  • CLI: bones_api with serve command.
  • Initial version.