Skip to content

Releases: python-ellar/ellar

0.4.7

02 Sep 11:13
692cb58

Choose a tag to compare

What's Changed

Full Changelog: 0.4.6...0.4.7

0.4.6

02 Sep 06:26
bfdac45

Choose a tag to compare

What's Changed

Full Changelog: 0.4.5...0.4.6

0.4.5

31 Aug 02:10
ac12f9a

Choose a tag to compare

What's Changed

Full Changelog: 0.4.4...0.4.5

0.4.4

10 Aug 14:10
ab4ac0f

Choose a tag to compare

What's Changed

Full Changelog: 0.4.2...0.4.4

0.4.2

09 Jun 10:14
b345a9a

Choose a tag to compare

What's Changed

Full Changelog: 0.4.0...0.4.2

0.4.0

29 May 23:22
39f9ef7

Choose a tag to compare

What's Changed

  • [BREAKING] Renamed Guards decorator to UseGuards decorator by @eadwinCode in #93

New Features

  • Background Task Feature by @eadwinCode in #91
    You can inject BackgroundTasks instance to you route handler
async def send_welcome_email(email):
    print(f'Send Welcome Email Task Called with "{email}"')

@router.post('/signup')
def sign_up(username: str, password: str, email: str, tasks: BackgroundTasks):
    tasks.add_task(send_welcome_email, email=email)

    return {'status': 'Signup successful'}
@injectable
class ResponseModifierInterceptor(EllarInterceptor):
    async def intercept(
        self, context: IExecutionContext, next_interceptor: t.Callable[..., t.Coroutine]
    ) -> t.Any:
        data = await next_interceptor()
        if data:
            data.update(ResponseModifierInterceptor="ResponseModifierInterceptor modified returned resulted")
        return data
        
@Controller("")
class InterceptorControllerTest(ControllerBase):
    @UseInterceptors(ResponseModifierInterceptor)
    @get("/interceptor-1")
    async def interceptor_1(self):
        return {"message": "intercepted okay"}

Full Changelog: 0.3.8...0.4.0

0.3.8

11 May 21:01
941b3d0

Choose a tag to compare

What's Changed

  • Socket IO integration and Websocket documentation by @eadwinCode in #82
  • Bump codecov/codecov-action from 3.1.1 to 3.1.3 by @dependabot in #83
  • Update email-validator requirement from <2.0.0,>=1.1.1 to >=1.1.1,<3.0.0 by @dependabot in #84
  • Update mkdocs-material requirement from <9.0.0,>=7.1.9 to >=7.1.9,<10.0.0 by @dependabot in #86
  • Bump types-ujson from 5.7.0.1 to 5.7.0.5 by @dependabot in #88
  • ellar package dependency refactor by @eadwinCode in #89
  • 0.3.8 by @eadwinCode in #90
  • Breaking: any missing import from ellar.core can be found in ellar.common

Full Changelog: 0.3.6...0.3.8

0.3.6

10 Apr 20:00
817e32a

Choose a tag to compare

What's Changed

Full Changelog: 0.3.4...0.3.6

0.3.4

26 Mar 09:03
3911aa1

Choose a tag to compare

What's Changed

Full Changelog: 0.3.2...0.3.4

0.3.2

09 Feb 06:53
7bfb304

Choose a tag to compare

What's Changed

Full Changelog: 0.3.0...0.3.2