Skip to content

Commit

Permalink
Merge pull request #161 from JoshYuJump/main
Browse files Browse the repository at this point in the history
Bump version 3.4.0
  • Loading branch information
JoshYuJump authored Nov 10, 2022
2 parents f70feca + 7795476 commit 3713517
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 21 deletions.
17 changes: 15 additions & 2 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,22 @@
# This project adheres to [Semantic Versioning](http://semver.org/).
# includes Added / Changed / Fixed

## [3.4.0] UNRELEASED
## [3.5.0] UNRELEASED

## [3.3.0] UNRELEASED
## [3.4.0] 2022-11-10
### Added
- Multi ENV Configuration [PR#153](https://github.com/bali-framework/bali/pull/153)
- Added Python 3.11 to the officially supported versions

### Changed
- Upgraded requirements and removed `decamelize` dependency
- Updated docs about using cases

### Breaking changes

If your project uses an outdated protobuf you may need to rebuild because all dependencies have been updated

## [3.3.0] 2022-10-11
### Added
- Integrated database migrate by `FastAPI-Migrate`
- Declarative API simple resource version (Major feature in 4.0)
Expand Down
25 changes: 7 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,44 +50,33 @@ It gives you the following features:

1. Python 3.7+
2. FastAPI 0.63+
3. grpcio>=1.32.0,<1.42
3. grpcio>=1.32,<1.50


## Install

```bash
# Bali framework
pip install bali-core

# Bali command line tool
pip install bali-cli
pip install bali-core # Bali framework
pip install bali-cli # Bali command line tool
```

## Project structure layout



## Application

Create Application

```python
import greeter_server

# Initialized App
app = Bali()
# Updated settings
app.settings(base_settings={'title': 'Bali App'})
app = Bali() # Initialized App
```

Launch

```bash
# lauch RPC
python main.py --rpc

# lauch HTTP
python main.py --http
python main.py --http # launch HTTP in development mode
python main.py --rpc # launch RPC
python main.py --event # launch Event
```

More usage of `Application`: [example](examples/main.py)
Expand Down
2 changes: 1 addition & 1 deletion bali/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from bali.decorators import event_handler, init_handler
from bali.resources import Resource, ModelResource

__version__ = '3.3.0'
__version__ = '3.4.0'


class Schema(BaseModel):
Expand Down

0 comments on commit 3713517

Please sign in to comment.