Bob Dole
What's new?
- New version of tester
- Now uses janet-uri for uri encoding/decoding/parsing
- A little house cleaning with the tests
- A few /docs + docstrings added
- The request map now has the response map inside of it for things like conditional menus when people are logged in, etc.
- when is now supported in vector-html
- base64/encode now doesn't leave you with a trailing
\0
char - New rest macro
- A new uri validator !
What's breaking?
label
It went from this
(label :field-name)
to this
(label :field-name "label string")
so watch out.
submit
This:
(submit "save" [:class "red"])
to this:
(submit "save" :class "red")
delete-all
Also changed, it's now:
(with-db-connection [db "dev.sqlite3"]
(delete-all db :post :where {:draft true} :limit 1))
or
(delete-all db :post)
Which will delete all rows in the post
table.