Skip to content

Releases: cleverbrush/framework

v1.1.11

19 Oct 02:00
Compare
Choose a tag to compare

@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

21 Apr 02:24
Compare
Choose a tag to compare
  • 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

25 Jun 00:56
Compare
Choose a tag to compare

@cleverbrush/schema

  • added startsWith(), clearStartsWith(), endsWith(), clearEndsWith() methods to StringSchemaBuilder
  • added matches() and clearMatches() methods to StringSchemaBuilder

v1.1.3

26 May 20:43
Compare
Choose a tag to compare

Genaral
Disabled sourcemaps

Version 1.1.2

20 May 02:08
Compare
Choose a tag to compare

Fixed a bug in the deepEqual function (@cleverbrush/deep module).

Version 1.1.1

28 Apr 10:27
Compare
Choose a tag to compare

@cleverbrush/deep

  1. Added deepFlatten function.
  2. Improved documentation

Version 1.1.0

27 Apr 02:17
Compare
Choose a tag to compare

@cleverbrush/schema

  1. 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.
  2. Simplified d.ts generation for ObjectSchemaBuilder and UnionSchemaBuilder classes.

General

  1. Improved some comments.
  2. General code cleanup (e.g. simplifications and removal of unused code).
  3. Reduced number of files included into the resulting packages (now only dist folder is included for every package).

Version 1.0.0

23 Apr 00:08
Compare
Choose a tag to compare

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