Skip to content

Releases: Sas2k/Lemon

Version 1.3.8 βš—

29 Oct 12:43
Compare
Choose a tag to compare

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

Full Changelog: V.1.3.0...V.1.3.8

Version 1.3.7 βš—

29 Oct 11:44
2d75851
Compare
Choose a tag to compare

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

Full Changelog: V.1.3.0...V.1.3.7

Version: 1.3.0 πŸ§ͺ

08 Oct 15:59
Compare
Choose a tag to compare

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

06 Oct 13:54
Compare
Choose a tag to compare

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

06 Oct 12:59
Compare
Choose a tag to compare

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

06 Oct 12:30
Compare
Choose a tag to compare

Changes

  • Fixed ORM (I hope)
  • Nothing much
  • Just a simple bug patch

Full Changelog: V.1.2.0...V.1.2.1

Version: 1.2.0 πŸ’Ύ

03 Oct 15:27
Compare
Choose a tag to compare

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 πŸŽ‰

29 Sep 14:12
Compare
Choose a tag to compare

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

26 Sep 15:03
e2622d7
Compare
Choose a tag to compare
Version: Beta-3.7.0 Pre-release
Pre-release

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

25 Sep 10:55
Compare
Choose a tag to compare
Version: Beta-3.5.0 Pre-release
Pre-release

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