@compas/server
Advanced tools
Changelog
compas check-env
70573d
compas check-env
91cf87
Pretty
type even if global api clients is
on
550143
4d25a9
d8a5eb
compas check-env
3b246f
82ec52
Object.keys
over Object.entries
99d996
Object.keys
over Object.entries
63f71b
55df94
Changelog
4e6983
callStack
is now span
.
parent
is removed and replaced by a rootEvent
. Nested properties are
affected as well. Usages like event.name
still work as expected.type
is now event_span
instead of event_callstack
. In these logs callStack
is also replaced by
span. Nested properties are affected as well to improve parsing and
visualizing them. Please check the new logs and feel free to open an issue
if you have trouble with migrating.7c644d
Changelog
There are a few structure breaking changes to clean up compatibility with old code-gen. Make sure that the API is updated before any consumer is.
bacfe3
newMigrateContext
to migrationsInitContext
. It also accepts an
object with migrationsDirectory
instead of a 'string' as the second
argument. As before, if you don't provide a migrationsDirectory
it
defaults to $cwd/migrations
.getMigrationsToBeApplied
to migrationsGetInfo
. The result is
wrapped in a promise.runMigrations
to migrationsRun
.--keep-alive
and --without-lock
from compas migrate
. If you
need this functionality, you are better off calling the migration functions
on application startup.T.any().raw()
and T.any().validator()
9d4f7a
T.any().raw()
and T.any().validator()
were not implemented in the new
code-gen. Use T.any().implementations()
instead.T.bool().convert()
, T.number().convert()
and
T.string().convert()
d704a6
T.array().convert()
d3aabb
R.files()
569b2b
R.body()
instead of R.files()
ctx.validatedFiles
with
ctx.validatedBody
PostSetHeaderImageFiles
will be renamed to PostSetHeaderImageBody
.T.uuid()
,
T.date().{timeOnly,dateOnly}()
41e3e3
R.params()
and R.query()
21c9b7
useQuery
hooks
430449
T.file()
in R.body()
(#2597)
80429b
077da8
T.array().convert()
to the docs
9744e6
4b7ba7
Changelog
deleteJobOnCompletion
to the queue worker
c82034
aab7d8
4bf684
internalSettings
1cd8f6
0.x.y
ranges
684e02
Changelog
transformContext
with custom readable types
in CRUD
65979a
8a8434
85918b
6a61e7
69cfb6
4ecd95
Changelog
formLimit
option to urlencodedLimit
in
createBodyParsers
d600ac
formLimit
to urlencodedLimit
in the first argument
to createBodyParsers
df9e43
createBodyParsers
use createBodyParser
instead.createBodyParser
by default does not parse multipart bodies. This should
be explicitly enabled with multipart: true
. Configure its options with
'multipartOptions' to set a custom maxFileSize
for example.jsonLimit
default to '5mb'.app.use(
router(
createBodyParser({
multipart: true,
multipartOptions: {
maxFileSize: 15 * 1024 * 2024,
},
}),
),
);
247aa0
@compas/code-gen/experimental
import to @compas/code-gen
26fb77
8d74da
a94ee5
727b50
28fa44
143743
Changelog
1af5f7
files
& body
handling for the
backends as well.compas visualise
4c6784
9496b1
a67b38
0a3ba6
3fa324
f64593
fb2b2d
c96bc4
1bffb3
f78959
64d07c
f01e64
61f419
See the history for earlier changelogs (< v0.0.249).