From d8e001f9c05e7f464a8df44f26ab0b159204413b Mon Sep 17 00:00:00 2001 From: Balena CI Date: Tue, 16 May 2023 16:11:34 +0000 Subject: [PATCH] v5.0.1 --- .versionbot/CHANGELOG.yml | 136 +++++++++++++++++++++++++++++++++++++- CHANGELOG.md | 38 +++++++++++ package.json | 4 +- 3 files changed, 175 insertions(+), 3 deletions(-) diff --git a/.versionbot/CHANGELOG.yml b/.versionbot/CHANGELOG.yml index 2b7db0a..7d136fe 100644 --- a/.versionbot/CHANGELOG.yml +++ b/.versionbot/CHANGELOG.yml @@ -1,3 +1,136 @@ +- commits: + - subject: Update @balena/sbvr-types to 5.0.0 + hash: 9acf28eac9790f47704d9103b5788fc4e1802e14 + body: | + Update @balena/sbvr-types from 3.4.18 to 5.0.0 + footer: + Change-type: patch + change-type: patch + author: Pagan Gazzard + nested: + - commits: + - subject: Switch from `export =` to `export default` + hash: 6cd01340e0fee46833942691fce5a9f6a42ac104 + body: "" + footer: + Change-type: major + change-type: major + author: Pagan Gazzard + version: sbvr-types-5.0.0 + title: "" + date: 2023-05-16T15:56:09.861Z + - commits: + - subject: Improve typings + hash: a5fd4a319cd0336afc5a765af9e1a1eec851f2c3 + body: "" + footer: + Change-type: patch + change-type: patch + author: Pagan Gazzard + version: sbvr-types-4.0.2 + title: "" + date: 2023-05-03T11:40:24.422Z + - commits: + - subject: "boolean: Avoid unnecessary array creation to reduce GCs" + hash: 5ba948cd5f42844974d43dc19f1c371e56376fc8 + body: "" + footer: + Change-type: patch + change-type: patch + author: Thodoris Greasidis + version: sbvr-types-4.0.1 + title: "" + date: 2023-05-02T13:39:37.722Z + - commits: + - subject: Add test cases for Objects in JSON validate + hash: be8fc31c3754186dd4c43ca8d4c056b0def7ffbd + body: > + As balena-lint rejects `new Boolean()`, `new Number()` and `new + String()` constructor usage, test cases double check that they + are not instantiated as object but primitive type. + footer: + Change-type: patch + change-type: patch + Signed-off-by: fisehara + signed-off-by: fisehara + author: fisehara + - subject: Drop `require-npm4-to-publish` devDependency + hash: 46a369117c9d1222089498a8794c32d14edef85b + body: > + As engine and npm is now required as part of package.json we can + drop this dependency + footer: + Change-type: patch + change-type: patch + Signed-off-by: fisehara + signed-off-by: fisehara + author: fisehara + - subject: Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 + hash: 54920d701a7aa4890c27801fc5cc6b9d74ece21c + body: "" + footer: + Change-type: major + change-type: major + author: Pagan Gazzard + - subject: Switch `JSON` to use `JSON` db type instead of `TEXT` + hash: 0d3561364ad018f59466c0dae9b3adb4390d9496 + body: "" + footer: + Change-type: major + change-type: major + author: Pagan Gazzard + - subject: Switch `Boolean` to use `BOOLEAN` db type instead of `INTEGER` + hash: 5af2bd476a9032ab5d60c163a3940e0dd8e81cc6 + body: "" + footer: + Change-type: major + change-type: major + author: Pagan Gazzard + - subject: Assert that JSON input typeof is object + hash: 1819ee97811e20da93c6e0f227db6a62ada8c00e + body: > + Ensure that the input passed in for JSON types is either an + object or + + an array (typeof returns 'object' for arrays as well). This change is + + mainly to prevent primitives from being stored as JSON. + footer: + Change-type: major + change-type: major + Signed-off-by: Josh Bowling + signed-off-by: Josh Bowling + author: Josh Bowling + version: sbvr-types-4.0.0 + title: "" + date: 2023-04-26T15:00:16.169Z + - commits: + - subject: Add Big Serial type + hash: 49460ad51fcbc60f81e61329c573a1af5b207a46 + body: "" + footer: + Change-type: minor + change-type: minor + author: Josh Bowling + version: sbvr-types-3.5.0 + title: "" + date: 2023-03-21T11:16:27.398Z + - commits: + - subject: "Flowzone: Allow external contributions" + hash: 9f7bb028bbac327e6fe0711491d7c0f2c6464f98 + body: "" + footer: + Change-type: patch + change-type: patch + Signed-off-by: Josh Bowling + signed-off-by: Josh Bowling + author: Josh Bowling + version: sbvr-types-3.4.19 + title: "" + date: 2022-12-08T01:08:35.143Z + version: 5.0.1 + title: "" + date: 2023-05-16T16:11:31.737Z - commits: - subject: Expand `lfInfo` to also include the root table name hash: cd6429c29d11d986d13b2f3a1c7090310e3e4d03 @@ -300,7 +433,8 @@ - subject: Add a `castType` property to type functions hash: 409077eb9d6c0315779ddd877220280c251b4eb5 body: > - This allows specifying the correct type to cast to when necessary + This allows specifying the correct type to cast to when + necessary rather than relying on the fact the currently all type functions happen diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d98c6b..3f6bb31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,44 @@ All notable changes to this project will be documented in this file automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY! This project adheres to [Semantic Versioning](http://semver.org/). +## 5.0.1 - 2023-05-16 + + +
+ Update @balena/sbvr-types to 5.0.0 [Pagan Gazzard] + +> ### sbvr-types-5.0.0 - 2023-05-16 +> +> * Switch from `export =` to `export default` [Pagan Gazzard] +> +> ### sbvr-types-4.0.2 - 2023-05-03 +> +> * Improve typings [Pagan Gazzard] +> +> ### sbvr-types-4.0.1 - 2023-05-02 +> +> * boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis] +> +> ### sbvr-types-4.0.0 - 2023-04-26 +> +> * Add test cases for Objects in JSON validate [fisehara] +> * Drop `require-npm4-to-publish` devDependency [fisehara] +> * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard] +> * Switch `JSON` to use `JSON` db type instead of `TEXT` [Pagan Gazzard] +> * Switch `Boolean` to use `BOOLEAN` db type instead of `INTEGER` [Pagan Gazzard] +> * Assert that JSON input typeof is object [Josh Bowling] +> +> ### sbvr-types-3.5.0 - 2023-03-21 +> +> * Add Big Serial type [Josh Bowling] +> +> ### sbvr-types-3.4.19 - 2022-12-08 +> +> * Flowzone: Allow external contributions [Josh Bowling] +> + +
+ ## 5.0.0 - 2023-02-10 * Expand `lfInfo` to also include the root table name [Carol Schulze] diff --git a/package.json b/package.json index c962d8f..36039ab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@balena/lf-to-abstract-sql", - "version": "5.0.0", + "version": "5.0.1", "description": "LF to Abstract SQL translator.", "main": "index.js", "scripts": { @@ -35,6 +35,6 @@ "_": "test/**/*.js" }, "versionist": { - "publishedAt": "2023-02-10T18:42:30.215Z" + "publishedAt": "2023-05-16T16:11:33.101Z" } }