Skip to content

Commit

Permalink
Merge pull request #52 from 40ants/update-changelog
Browse files Browse the repository at this point in the history
Update changelog
  • Loading branch information
svetlyak40wt authored Jan 26, 2024
2 parents 27f16c4 + a1b9b42 commit c4593eb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion qlfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
("ultralisp" .
(:class qlot/source/dist:source-dist
:initargs (:distribution "http://dist.ultralisp.org" :%version :latest)
:version "20231205205000"))
:version "20240126095001"))
7 changes: 7 additions & 0 deletions src/doc/changelog.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@
"REBLOCKS/SESSION:INIT")
:external-links (("Ultralisp" . "https://ultralisp.org"))
:external-docs ("https://40ants.com/log4cl-extras/"))
(0.59.0 2024-01-26
"""
Changed
=======
* Generic-function REBLOCKS/WIDGET:GET-HTML-TAG now can return a list like `(list :input :onchange \"somevalue\")` to change not only HTML tag of the widget node, but also to add some arguments to it.
""")
(0.58.0 2024-01-13
"""
Added
Expand Down
9 changes: 9 additions & 0 deletions src/routes.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,15 @@
(defroute (app /api/data :content-type \"application/xml\")
\"<my-data><item>1</item><item>2</item></my-data>\")
```
or to serve `robots.txt`:
```lisp
(defroute (app /robots.txt :content-type \"text/plain\")
(alexandria:read-file-into-string
(asdf:system-relative-pathname \"frontend\"
\"robots.txt\")))
```
"
(let* ((uri (string-downcase (symbol-name route)))
(route-var (gensym "ROUTE")))
Expand Down

0 comments on commit c4593eb

Please sign in to comment.