Skip to content

Bob Dole

Compare
Choose a tag to compare
@swlkr swlkr released this 03 Feb 18:31
· 305 commits to master since this release

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.