Skip to content

Commit 121c963

Browse files
committed
docs: update README with v4.0.0 changes and improvements
- Remove outdated manual update check instruction - Update breaking change notice for v4.0.0 AST-based template engine - Enhance templating feature description with AST details - Update documentation links for new template engine - Simplify auto-update notification message The README now accurately reflects the latest version's features and improvements, particularly the new AST-based template engine capabilities.
1 parent c73039d commit 121c963

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
LiteNode is a lightweight and modular Node.js web framework designed to provide essential web server functionalities with a clean and intuitive API. It leverages modern JavaScript features, making it versatile for various development environments. LiteNode is suitable for developers seeking a straightforward yet powerful solution for building web applications.
44

55
<p align="center">
6-
<s>Please check weekly or at most every two weeks for new updates and features.</s><br>
76
LiteNode checks for and notifies you if a new version is available whenever the server starts.<br>
87
<a href="https://litenode.pages.dev/">Documentation</a>
98
</p>
@@ -12,7 +11,7 @@ LiteNode is a lightweight and modular Node.js web framework designed to provide
1211
<a href="https://lebcit.github.io/posts/ultimate-markdown-based-application-tutorial-in-node-js/">Dive into My Ultimate Markdown-based Application Tutorial in Node.js!</a>
1312
</p>
1413

15-
**BREAKING CHANGE:** As of version 3.0.0, LiteNode no longer supports being loaded using `require`. This change aims to maintain and enhance LiteNode in a modular way, which would be difficult to achieve if backward compatibility with CommonJS were maintained.
14+
**BREAKING CHANGE:** As of LiteNode version 4.0.0, the integrated Simple Template Engine (STE) has been upgraded to a more powerful [AST-based](https://en.wikipedia.org/wiki/Abstract_syntax_tree) template engine. With this update, the engine's tags have been unified to a single signature, making it simpler and more efficient. There are also many new features to explore, so check out the [updated documentation](https://litenode.pages.dev/docs/rendering-templates/) to fully take advantage of these improvements.
1615

1716
## Installation
1817

@@ -49,7 +48,7 @@ app.startServer()
4948
- **Integrated Body Parser**: Simplify handling of POST requests with [LiteNode's integrated body parser](https://litenode.pages.dev/docs/body-parsing/), supporting `application/json`, `application/x-www-form-urlencoded`, and `multipart/form-data` content types.
5049
- **Static Asset Loader**: Serve static files effortlessly with [LiteNode's built-in static asset loader](https://litenode.pages.dev/docs/serving-static-files/), without server restart.
5150
- **Error Handling**: Customize [error handling](https://litenode.pages.dev/docs/error-handling/) with ease, ensuring robustness and reliability in your application.
52-
- **Templating**: LiteNode includes an [integrated template engine](https://litenode.pages.dev/docs/rendering-templates/) for rendering HTML files with [conditional logic, looping through arrays, and negating conditions](https://litenode.pages.dev/docs/ste-helpers/).
51+
- **Templating**: LiteNode features an integrated, powerful [AST-based](https://en.wikipedia.org/wiki/Abstract_syntax_tree) template engine, called [STE](https://litenode.pages.dev/docs/rendering-templates/) (Simple Template Engine), for rendering HTML files.
5352
- **Markdown**: With [LiteNode's support for Markdown](https://litenode.pages.dev/docs/markdown/), you can easily create content-driven applications with rich text formatting.
5453

5554
## Strengths

0 commit comments

Comments
 (0)