Releases: cleverbrush/framework
Releases · cleverbrush/framework
v1.1.11
@cleverbrush/knex-clickhouse
- add optional
preQueryCallback
callback. If it's defined, this function will be called before each query and awaited if it returns a promise. Could be useful in some cases. For example you want first to check if the server is not in idle state (for example Clickhouse Cloud have idling options) and if it is, you want to wake it up before sending the query. If the function throws an error this error will not be caught and will propagate to the caller. Therefore the query will not be executed.
v1.1.6
- Added
knex-clickhouse
library.
Other changes
- build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.60.0 to 6.0.0 by @dependabot in #29
- build(deps-dev): bump jest and @types/jest by @dependabot in #28
- build(deps-dev): bump @typescript-eslint/parser from 5.60.0 to 5.61.0 by @dependabot in #27
- build(deps-dev): bump ts-jest from 29.1.0 to 29.1.1 by @dependabot in #26
- build(deps-dev): bump typescript from 5.0.4 to 5.1.6 by @dependabot in #25
Full Changelog: v1.1.4...v1.1.6
Version 1.1.4
@cleverbrush/schema
- added
startsWith()
,clearStartsWith()
,endsWith()
,clearEndsWith()
methods toStringSchemaBuilder
- added
matches()
andclearMatches()
methods toStringSchemaBuilder
v1.1.3
Genaral
Disabled sourcemaps
Version 1.1.2
Fixed a bug in the deepEqual
function (@cleverbrush/deep
module).
Version 1.1.1
@cleverbrush/deep
- Added
deepFlatten
function. - Improved documentation
Version 1.1.0
@cleverbrush/schema
- Fixed preserving of comments in the
d.ts
files. Now it's possible to see comments on the properties of the schema members when you use them from the external modules. Zod doesn't support it yet, as far as I know. - Simplified
d.ts
generation forObjectSchemaBuilder
andUnionSchemaBuilder
classes.
General
- Improved some comments.
- General code cleanup (e.g. simplifications and removal of unused code).
- Reduced number of files included into the resulting packages (now only
dist
folder is included for every package).
Version 1.0.0
Contains just 4 libraries:
- @cleverbrush/async - some async operations on objects
- @cleverbrush/deep - some deep operations on objects, e.g. deepEqual
- @cleverbrush/scheduler - job scheduler for NodeJS
- @cleverbrush/schema - schema definition and validation library (similar to zod).
Stay tuned, more to be added soon.
Full Changelog: v0.0.17...v1.0.0