Releases: oxidizing/sihl
Releases · oxidizing/sihl
3.0.5
3.0.4
Updated
- Make SMTP credentials optional
3.0.3
[3.0.3] - 2022-04-01
Updated
- Update SQL queries to use caqti infix notation
3.0.2
[3.0.2] - 2022-02-28
Added
- Expos all log sources
3.0.1
Fixed
- Fixed a bug in the CSRF middleware where the current session cookie was overriden with an empty session
- Fixed an issue where
Sihl.Database.Migration.execute_steps
ignored the provided database pool in?ctx
and instead creating its own pool
3.0.0
Fixed
- CSRF tokens are now valid per session, not per request. This allows the user to open a form, use various parts of the website in another tab and then come back to the form and submit it.
Changed
- Enforce OCaml 4.12.0, which doesn't allow named arguments after optional arguments
Added
- Provide optional
?id
parameter whenever an entity is created, to override the generated it
2.0.1
Added
- Expose service context on
user_from_session
2.0.0
2.0.0
1.0.1
Added
- Support
multipart/form-data
in CSRF middleware
1.0.0
Fixed
- It is now possible to register multiple instances of the same service type simultaneously
- Rename page title of queue dashboard
- Document
EMAIL_BYPASS_INTERCEPT
andQUEUE_FORCE_ASYNC
- Accept
true
,True
and1
for truthy boolean env vars - Document global middlewares
- Fix issue where the default smtp certs path is an empty string
- Fix trailing slash middleware to work with
PREFIX_PATH
Changed
- The
search_query
forSihl.Database.prepare_search_request
has to return the total amount of rows for that query without limit. On PostgreSQL and MariaDB this can be done withCOUNT(*) OVER() as total
. Nocount_query
is needed anymore.
User service
- Add optional
given_name
andname
- Deprecate
update_details
in favor ofupdate
- Consistent use of named arguments in service API
Added
- Optional argument
format_filter
for formatting the search keyword when filtering inSihl.Database.prepare_search_request