Releases: Sas2k/Lemon
Releases Β· Sas2k/Lemon
Version 1.3.8 β
Changes
- Made Console and Library Outputs more readable and colorful (with Rich)
- Specifying Build Systems According to PEP 518 & PEP 660
- Added the Hacktoberfest and Hacktoberfest-Accepted Tags! (This actually was added in version 1.3.6 (or in Oct 11th).
What's Changed [auto generated]
- 1.3.6: Fixed Doc Typos, Made Cleaners and Colorful Prints and Made th⦠by @Sas2k in #8
- Follow: PEP 518 β Specifying Minimum Build System by @williamjmorenor in #10
- Branch Merge: Merging Main with Beta. by @Sas2k in #11
- Merge pull request #11 from Sas2k/main by @Sas2k in #12
New Contributors
- @williamjmorenor made their first contribution in #10
Full Changelog: V.1.3.0...V.1.3.8
Version 1.3.7 β
Changes
- Made Console and Library Outputs more readable and colorful (with Rich)
- Specifying Build Systems According to PEP 518 & PEP 660
- Added the Hacktoberfest and Hacktoberfest-Accepted Tags! (This actually was added in version 1.3.6 (or in Oct 11th).
What's Changed [auto generated]
- 1.3.6: Fixed Doc Typos, Made Cleaners and Colorful Prints and Made th⦠by @Sas2k in #8
- Follow: PEP 518 β Specifying Minimum Build System by @williamjmorenor in #10
- Branch Merge: Merging Main with Beta. by @Sas2k in #11
- Merge pull request #11 from Sas2k/main by @Sas2k in #12
New Contributors
- @williamjmorenor made their first contribution in #10
Full Changelog: V.1.3.0...V.1.3.7
Version: 1.3.0 π§ͺ
Changes
- Added Test Fixtures for server.
import pytest
def client_can_send_requests(server, client):
RESPONSE_TEXT = "THIS IS COOL"
@server.route("/test")
def test(request, response):
response.text = RESPONSE_TEXT
assert client.get("http://testserver/hey").text == RESPONSE_TEXT
- Added Exception Handler (the text you get when a server gets an error)
class ExceptionComponent(Component):
name = "ExceptionComponent"
def item(props: dict):
return """
<style>
body {
background-color: #000;
color: #fff;
}
h1 {
font-size: 3rem;
font-weight: 300;
color: #0af0fa;
}
h2 {
font-size: 2rem;
font-weight: 300;
}
p {
font-size: 1.5rem;
font-weight: 300;
}
</style>
<div class='container'>
<h1>001010100101101010010100101</h1>
<h2>Looks like something went wrong</h2>
<p>Please try again later......</p>
</div>
"""
def custom_exception_handler(request, response, exception_cls):
response.text = root.render("<ExceptionComponent/>")
app.add_exception_handler(custom_exception_handler)
- Django Like Routing (since of this, blueprinting is now achievable: check
examples/Lemon-App
)
from Lemon.Server import server
app = server.Server(None)
def index(request, response):
response.text = "Hello, world!"
app.add_route("/", index)
app.run()
- Updated
create-react-app
.
Full Changelog: V.1.2.6...V.1.3.0
Until Next Time Good Day people!
Version: 1.2.6 πΎ-patch6
Changes
- Fixed some big bugs in ORM (Not sure about the Select yet....)
- Just a normal patch.
Full Changelog: V.1.2.2...V.1.2.6
Version: 1.2.2 πΎ-patch2
Changes
- Changed the Threading option to false in ORM
- Added @commit decorator to
SqliteManager
Full Changelog: V.1.2.1...V.1.2.2
Version: 1.2.1 πΎ-patch
Version: 1.2.0 πΎ
Changes
- Changes the ORM.
- Updated
create-lemon-app
- Finished Tutorial on Docs
- Added Versioning Tags
Full Changelog: V.1.0.0...V.1.2.0
Version: 1.0.0 π
Lemon π is finally out of Beta, and on to Production.
version 1.0.0 is released!
and with it lemon is no longer Beta! π
Changes
- Added Docs
- Added Doc-String and Polished code
- Added an example for middleware
examples/middleware-example.py
Full Changelog: V.Beta-3.7.0...V.1.0.0
We've come a long way people. Until next time, Good Day people!
Version: Beta-3.7.0
Changes and Features π π
- Created a good project banner
- Added more ORM features
- Added Cookies
Full Changelog: V.Beta-3.5.0...V.Beta-3.7.0
Version: Beta-3.5.0
Changes
- Added a basic ORM (object-relational mapping)
- Creating Tables
- Inserting Data
- Created a migration utility as well (for sqlite3)
- Updated
create-lemon-app
Full Changelog: V.Beta-3.0.1...V.Beta-3.5.0