Releases: oxidizing/sihl
Releases · oxidizing/sihl
0.2.2
CHANGES:
Fixed
- Merge form data and urlencoded form parsing and provide them in one middleware
0.2.1
CHANGES:
Fixed
- Two subsequent
POST
request works now with the CSRF middleware
0.2.0
CHANGES:
Fixed
- Extract
sihl-core
,sihl-type
,sihl-contract
,sihl-user
,sihl-persistence
andsihl-web
as separate opam packages - Increase session key size to 20 bytes
- Sign session cookies with
SIHL_SECRET
- Simplify session service API
- Implement generic flash storage on top of session storage and replace the specific message service
- Update to httpaf-based Opium 0.19.0
Added
- File log reporter to store logs in
logs/error.log
andlogs/app.log
- Add log source to log text
0.1.10
CHANGES:
Fixed
- Properly load
.env
files based on project root, can be set usingENV_FILES_PATH
- Add custom error types for user actions to allow overriding errors displayed to users
Added
- Determine project rood using markers such as the .git folder
0.1.9
CHANGES:
[0.1.9] - 2020-11-16
Fixed
- Get rid of
Core.Ctx.t
- Make sure migrations and repo cleaners are registered when registering service
[0.1.8] - 2020-11-12
Fixed
- Get rid of
Result.get_ok
because it swallows errors
[0.1.7] - 2020-11-03
Fixed
- Simplify
Database.Service
API: Only providetransaction
,query
andfetch_pool
- Fixe dune package names, private dune packages don't have generic names like
http
ordatabase
causing conflicts in a Sihl app
[0.1.6] - 2020-10-31
Fixed
Database.Service
andRepository.Service
are assumed to have just one implementation, so they are referenced directly in service implementations instead of passing them as functor arguments- Extract
Random.Service
from utils as standalone top level service - Merge utils into one
utils.ml
file
HTTP API
Sihl.Http.Response
andSihl.Http.Request
have consistent APISihl.Middleware
contains all provided middlewares- Implement multi-part form data parsing
[0.1.5] - 2020-10-14
Fixed
- Remove seed service since the same functionality
- Simplify app abstraction, instead of
with_
use service APIs directly - Extract storage service as
sihl-storage
opam package - Extract email service as
sihl-email
opam package - Extract queue service as
sihl-queue
opam package - Move configuration and logging into core, neither of the are implemented as services
- Replace
pcre
withre
as regex library to get rid of a system dependency on pcre - Split up
Sihl.Data
intoSihl.Migration
,Sihl.Repository
andSihl.Database
- Move module signatures from
Foo.Service.Sig
toFoo.Sig
, the services might live in a third party opam package, but the signatures are staying insihl
- Move
Sihl.App
toSihl.Core.App
and simplify app API - Move log service, config service and cmd service into core (they don't have to be provided to other services through functors)
- Simplify Sihl app creation and service configuration
[0.1.4] - 2020-09-24
Fixed
- Remove
reason
andtyxml-jsx
as dependency as they are not used anymore
Added
- Various combinators for
Sihl.Seed.t
including constructor and field accessors
[0.1.3] - 2020-09-14
Added
- Seed Service with commands
seedlist
andseedrun <name>
Fixed
- Lifecycle API: A service now has two additional functions
start
andstop
, which are used in the lifecycle definition - Database service query functions
query
,atomic
andwith_connection
can now be nested
[0.1.2] - 2020-09-09
Fixed
- Re-export
Sihl.Queue.Job.t
- Export content types under
Sihl.Web
[0.1.1] - 2020-09-07
Fixed
- Don't raise exception when user login fails if it is a user error
- Remove dev tools as dev dependencies
Added
- Storage service can remove files
- Move README.md documentation to ocamldoc based documentation
[0.1.0] - 2020-09-03
Fixed
- DB connection leaks caused deadlocks
- Provide all service dependencies using functors
- Move Opium & Cohttp specific stuff into the web server service implementation to allow for swappable implementation based on something like httpaf
- Inject log service to all other services by default
Added
- Support letters 0.2.0 for SMTP emailing
- Switch to exception based service API
- HTTP Response API to respond with file
Sihl.Web.Res.file
[0.0.56] - 2020-08-17
Fixed
- Stop running integration tests during OPAM release
[0.0.55] - 2020-08-17
Added
- Initial release of Sihl
0.1.8
CHANGES:
[0.1.8] - ?
Fixed
- Replace memory and console email backends with smart interception based on
SIHL_ENV
,EMAIL_BYPASS_INTERCEPT
, andEMAIL_CONSOLE
Added
- Make it possible to directly access
Sihl.Core.*
going throughSihl.*
[0.1.7] - 2020-11-03
Fixed
- Simplify
Database.Service
API: Only providetransaction
,query
andfetch_pool
- Fixe dune package names, private dune packages don't have generic names like
http
ordatabase
causing conflicts in a Sihl app
[0.1.6] - 2020-10-31
Fixed
Database.Service
andRepository.Service
are assumed to have just one implementation, so they are referenced directly in service implementations instead of passing them as functor arguments- Extract
Random.Service
from utils as standalone top level service - Merge utils into one
utils.ml
file
HTTP API
Sihl.Http.Response
andSihl.Http.Request
have consistent APISihl.Middleware
contains all provided middlewares- Implement multi-part form data parsing
[0.1.5] - 2020-10-14
Fixed
- Remove seed service since the same functionality
- Simplify app abstraction, instead of
with_
use service APIs directly - Extract storage service as
sihl-storage
opam package - Extract email service as
sihl-email
opam package - Extract queue service as
sihl-queue
opam package - Move configuration and logging into core, neither of the are implemented as services
- Replace
pcre
withre
as regex library to get rid of a system dependency on pcre - Split up
Sihl.Data
intoSihl.Migration
,Sihl.Repository
andSihl.Database
- Move module signatures from
Foo.Service.Sig
toFoo.Sig
, the services might live in a third party opam package, but the signatures are staying insihl
- Move
Sihl.App
toSihl.Core.App
and simplify app API - Move log service, config service and cmd service into core (they don't have to be provided to other services through functors)
- Simplify Sihl app creation and service configuration
[0.1.4] - 2020-09-24
Fixed
- Remove
reason
andtyxml-jsx
as dependency as they are not used anymore
Added
- Various combinators for
Sihl.Seed.t
including constructor and field accessors
[0.1.3] - 2020-09-14
Added
- Seed Service with commands
seedlist
andseedrun <name>
Fixed
- Lifecycle API: A service now has two additional functions
start
andstop
, which are used in the lifecycle definition - Database service query functions
query
,atomic
andwith_connection
can now be nested
[0.1.2] - 2020-09-09
Fixed
- Re-export
Sihl.Queue.Job.t
- Export content types under
Sihl.Web
[0.1.1] - 2020-09-07
Fixed
- Don't raise exception when user login fails if it is a user error
- Remove dev tools as dev dependencies
Added
- Storage service can remove files
- Move README.md documentation to ocamldoc based documentation
[0.1.0] - 2020-09-03
Fixed
- DB connection leaks caused deadlocks
- Provide all service dependencies using functors
- Move Opium & Cohttp specific stuff into the web server service implementation to allow for swappable implementation based on something like httpaf
- Inject log service to all other services by default
Added
- Support letters 0.2.0 for SMTP emailing
- Switch to exception based service API
- HTTP Response API to respond with file
Sihl.Web.Res.file
[0.0.56] - 2020-08-17
Fixed
- Stop running integration tests during OPAM release
[0.0.55] - 2020-08-17
Added
- Initial release of Sihl
0.1.7
CHANGES:
[0.1.7] - 2020-11-03
Fixed
- Simplify
Database.Service
API: Only providetransaction
,query
andfetch_pool
- Fixe dune package names, private dune packages don't have generic names like
http
ordatabase
causing conflicts in a Sihl app
[0.1.6] - 2020-10-31
Fixed
Database.Service
andRepository.Service
are assumed to have just one implementation, so they are referenced directly in service implementations instead of passing them as functor arguments- Extract
Random.Service
from utils as standalone top level service - Merge utils into one
utils.ml
file
HTTP API
Sihl.Http.Response
andSihl.Http.Request
have consistent APISihl.Middleware
contains all provided middlewares- Implement multi-part form data parsing
[0.1.5] - 2020-10-14
Fixed
- Remove seed service since the same functionality
- Simplify app abstraction, instead of
with_
use service APIs directly - Extract storage service as
sihl-storage
opam package - Extract email service as
sihl-email
opam package - Extract queue service as
sihl-queue
opam package - Move configuration and logging into core, neither of the are implemented as services
- Replace
pcre
withre
as regex library to get rid of a system dependency on pcre - Split up
Sihl.Data
intoSihl.Migration
,Sihl.Repository
andSihl.Database
- Move module signatures from
Foo.Service.Sig
toFoo.Sig
, the services might live in a third party opam package, but the signatures are staying insihl
- Move
Sihl.App
toSihl.Core.App
and simplify app API - Move log service, config service and cmd service into core (they don't have to be provided to other services through functors)
- Simplify Sihl app creation and service configuration
[0.1.4] - 2020-09-24
Fixed
- Remove
reason
andtyxml-jsx
as dependency as they are not used anymore
Added
- Various combinators for
Sihl.Seed.t
including constructor and field accessors
[0.1.3] - 2020-09-14
Added
- Seed Service with commands
seedlist
andseedrun <name>
Fixed
- Lifecycle API: A service now has two additional functions
start
andstop
, which are used in the lifecycle definition - Database service query functions
query
,atomic
andwith_connection
can now be nested
[0.1.2] - 2020-09-09
Fixed
- Re-export
Sihl.Queue.Job.t
- Export content types under
Sihl.Web
[0.1.1] - 2020-09-07
Fixed
- Don't raise exception when user login fails if it is a user error
- Remove dev tools as dev dependencies
Added
- Storage service can remove files
- Move README.md documentation to ocamldoc based documentation
[0.1.0] - 2020-09-03
Fixed
- DB connection leaks caused deadlocks
- Provide all service dependencies using functors
- Move Opium & Cohttp specific stuff into the web server service implementation to allow for swappable implementation based on something like httpaf
- Inject log service to all other services by default
Added
- Support letters 0.2.0 for SMTP emailing
- Switch to exception based service API
- HTTP Response API to respond with file
Sihl.Web.Res.file
[0.0.56] - 2020-08-17
Fixed
- Stop running integration tests during OPAM release
[0.0.55] - 2020-08-17
Added
- Initial release of Sihl
0.1.6
CHANGES:
[0.1.6] - 2020-10-31
Fixed
Database.Service
andRepository.Service
are assumed to have just one implementation, so they are referenced directly in service implementations instead of passing them as functor arguments- Extract
Random.Service
from utils as standalone top level service - Merge utils into one
utils.ml
file
HTTP API
Sihl.Http.Response
andSihl.Http.Request
have consistent APISihl.Middleware
contains all provided middlewares- Implement multi-part form data parsing
[0.1.5] - 2020-10-14
Fixed
- Remove seed service since the same functionality
- Simplify app abstraction, instead of
with_
use service APIs directly - Extract storage service as
sihl-storage
opam package - Extract email service as
sihl-email
opam package - Extract queue service as
sihl-queue
opam package - Move configuration and logging into core, neither of the are implemented as services
- Replace
pcre
withre
as regex library to get rid of a system dependency on pcre - Split up
Sihl.Data
intoSihl.Migration
,Sihl.Repository
andSihl.Database
- Move module signatures from
Foo.Service.Sig
toFoo.Sig
, the services might live in a third party opam package, but the signatures are staying insihl
- Move
Sihl.App
toSihl.Core.App
and simplify app API - Move log service, config service and cmd service into core (they don't have to be provided to other services through functors)
- Simplify Sihl app creation and service configuration
[0.1.4] - 2020-09-24
Fixed
- Remove
reason
andtyxml-jsx
as dependency as they are not used anymore
Added
- Various combinators for
Sihl.Seed.t
including constructor and field accessors
[0.1.3] - 2020-09-14
Added
- Seed Service with commands
seedlist
andseedrun <name>
Fixed
- Lifecycle API: A service now has two additional functions
start
andstop
, which are used in the lifecycle definition - Database service query functions
query
,atomic
andwith_connection
can now be nested
[0.1.2] - 2020-09-09
Fixed
- Re-export
Sihl.Queue.Job.t
- Export content types under
Sihl.Web
[0.1.1] - 2020-09-07
Fixed
- Don't raise exception when user login fails if it is a user error
- Remove dev tools as dev dependencies
Added
- Storage service can remove files
- Move README.md documentation to ocamldoc based documentation
[0.1.0] - 2020-09-03
Fixed
- DB connection leaks caused deadlocks
- Provide all service dependencies using functors
- Move Opium & Cohttp specific stuff into the web server service implementation to allow for swappable implementation based on something like httpaf
- Inject log service to all other services by default
Added
- Support letters 0.2.0 for SMTP emailing
- Switch to exception based service API
- HTTP Response API to respond with file
Sihl.Web.Res.file
[0.0.56] - 2020-08-17
Fixed
- Stop running integration tests during OPAM release
[0.0.55] - 2020-08-17
Added
- Initial release of Sihl
0.1.5
CHANGES:
[0.1.5] - 2020-10-14
Fixed
- Remove seed service since the same functionality
- Simplify app abstraction, instead of
with_
use service APIs directly - Extract storage service as
sihl-storage
opam package - Extract email service as
sihl-email
opam package - Extract queue service as
sihl-queue
opam package - Move configuration and logging into core, neither of the are implemented as services
- Replace
pcre
withre
as regex library to get rid of a system dependency on pcre - Split up
Sihl.Data
intoSihl.Migration
,Sihl.Repository
andSihl.Database
- Move module signatures from
Foo.Service.Sig
toFoo.Sig
, the services might live in a third party opam package, but the signatures are staying insihl
- Move
Sihl.App
toSihl.Core.App
and simplify app API - Move log service, config service and cmd service into core (they don't have to be provided to other services through functors)
- Simplify Sihl app creation and service configuration
[0.1.4] - 2020-09-24
Fixed
- Remove
reason
andtyxml-jsx
as dependency as they are not used anymore
Added
- Various combinators for
Sihl.Seed.t
including constructor and field accessors
[0.1.3] - 2020-09-14
Added
- Seed Service with commands
seedlist
andseedrun <name>
Fixed
- Lifecycle API: A service now has two additional functions
start
andstop
, which are used in the lifecycle definition - Database service query functions
query
,atomic
andwith_connection
can now be nested
[0.1.2] - 2020-09-09
Fixed
- Re-export
Sihl.Queue.Job.t
- Export content types under
Sihl.Web
[0.1.1] - 2020-09-07
Fixed
- Don't raise exception when user login fails if it is a user error
- Remove dev tools as dev dependencies
Added
- Storage service can remove files
- Move README.md documentation to ocamldoc based documentation
[0.1.0] - 2020-09-03
Fixed
- DB connection leaks caused deadlocks
- Provide all service dependencies using functors
- Move Opium & Cohttp specific stuff into the web server service implementation to allow for swappable implementation based on something like httpaf
- Inject log service to all other services by default
Added
- Support letters 0.2.0 for SMTP emailing
- Switch to exception based service API
- HTTP Response API to respond with file
Sihl.Web.Res.file
[0.0.56] - 2020-08-17
Fixed
- Stop running integration tests during OPAM release
[0.0.55] - 2020-08-17
Added
- Initial release of Sihl
0.1.4
CHANGES:
[0.1.4] - 2020-09-24
Fixed
- Remove
reason
andtyxml-jsx
as dependency as they are not used anymore
Added
- Various combinators for
Sihl.Seed.t
including constructor and field accessors
[0.1.3] - 2020-09-14
Added
- Seed Service with commands
seedlist
andseedrun <name>
Fixed
- Lifecycle API: A service now has two additional functions
start
andstop
, which are used in the lifecycle definition - Database service query functions
query
,atomic
andwith_connection
can now be nested
[0.1.2] - 2020-09-09
Fixed
- Re-export
Sihl.Queue.Job.t
- Export content types under
Sihl.Web
[0.1.1] - 2020-09-07
Fixed
- Don't raise exception when user login fails if it is a user error
- Remove dev tools as dev dependencies
Added
- Storage service can remove files
- Move README.md documentation to ocamldoc based documentation
[0.1.0] - 2020-09-03
Fixed
- DB connection leaks caused deadlocks
- Provide all service dependencies using functors
- Move Opium & Cohttp specific stuff into the web server service implementation to allow for swappable implementation based on something like httpaf
- Inject log service to all other services by default
Added
- Support letters 0.2.0 for SMTP emailing
- Switch to exception based service API
- HTTP Response API to respond with file
Sihl.Web.Res.file
[0.0.56] - 2020-08-17
Fixed
- Stop running integration tests during OPAM release
[0.0.55] - 2020-08-17
Added
- Initial release of Sihl