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.
- Use big integer for webresource casting type [Otavio Jacobi]
- Add
is case insensitively equal to
for Text types [Otavio Jacobi]
- Change the exported Types to an interface so that they can be augmented [Thodoris Greasidis]
- Update @balena/lint to v8.2.7 [Josh Bowling]
- Update BigInteger and BigSerial TsTypes [Josh Bowling]
- Improve BigInteger and BigSerial support [Josh Bowling]
- Add typings for all abstract sql fragments, fixing where necessary [Pagan Gazzard]
- Explicitly type the
compare
function forhashed
[Pagan Gazzard]
- Accept
Date
for the write types ofDate Time
/Date
/Time
[Pagan Gazzard]
- Export typescript read/write types for each sbvr type [Pagan Gazzard]
- Update Big Serial concept type to Big Integer [Josh Bowling]
- Add Big Serial to Type.sbvr [Josh Bowling]
- Update prepare script for husky v9 [Josh Bowling]
- Update dependency husky to v9 [Self-hosted Renovate Bot]
- Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]
- Improve JSON typings [Pagan Gazzard]
- Remove unnecessary catch bindings [Pagan Gazzard]
- Improve validate typings [Pagan Gazzard]
- Improve fetchProcessing typings [Pagan Gazzard]
- Tests: convert to typescript [Pagan Gazzard]
- Update dependency @balena/abstract-sql-compiler to v9 [Self-hosted Renovate Bot]
- Return
ISODateString
instead ofdate
[fisehara]
- Update dependency @types/chai-datetime to ^0.0.39 [Self-hosted Renovate Bot]
- Add checksum to WebResource [Otávio Jacobi]
- Change contents to snake_case [Otávio Jacobi]
- Expose WebResource as WebResourceType [Otávio Jacobi]
- Adds WebResource type [Otávio Jacobi]
- Switch from
export =
toexport default
[Pagan Gazzard]
- Improve typings [Pagan Gazzard]
- boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]
- 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 useJSON
db type instead ofTEXT
[Pagan Gazzard] - Switch
Boolean
to useBOOLEAN
db type instead ofINTEGER
[Pagan Gazzard] - Assert that JSON input typeof is object [Josh Bowling]
- Add Big Serial type [Josh Bowling]
- Flowzone: Allow external contributions [Josh Bowling]
- Tests: remove chai-as-promised [Pagan Gazzard]
- Tests: remove bluebird [Pagan Gazzard]
- Tests: remove lodash [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Switch from
new Buffer
toBuffer.from
to avoid deprecation warnings [Pagan Gazzard]
- Dev: Migrate husky setup for v8 [Josh Bowling]
- Update dependency mocha to 10.1.0 [Renovate Bot]
- Update dependency lint-staged to 13.0.3 [Renovate Bot]
- Update dependency husky to 8.0.2 [Renovate Bot]
- Dev: Add lint-fix npm script [Josh Bowling]
- Dev: Move type deps to dev [Josh Bowling]
- Add .npmrc [Josh Bowling]
- Switch from balenaCI to flowzone [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Remove circleci [Pagan Gazzard]
- Avoid creating a new Date object when we already have one [Pagan Gazzard]
- Convert tests to type checked javascript [Pagan Gazzard]
- Delete CODEOWNERS [Thodoris Greasidis]
- Support boolean results from the db as well as integer [Pagan Gazzard]
- Update dev dependencies [Pagan Gazzard]
- Remove unnecessary native fact type entries for synonymous forms [Pagan Gazzard]
- Add a
Current Time
name that can be used to refer to the current time [Pagan Gazzard]
- Add
is before
&is after
verbs to the Date & DateTime types [Thodoris Greasidis]
- Add support for the
contains
verb to the text type [Thodoris Greasidis] - Add support for the
ends with
verb to the text type [Thodoris Greasidis] - Add support for the
starts with
verb to the text type [Thodoris Greasidis]
- Improve types for
SHA
[Pagan Gazzard]
- Add a
castType
property to type functions [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Convert
fetchProcessing
to synchronous functions [Pagan Gazzard] - Update to bcrypt 4.x [Pagan Gazzard]
- Enable strict tsconfig [Pagan Gazzard]
- Make use of
import type
where relevant [Pagan Gazzard] - Update to balena-lint 5.x [Pagan Gazzard]
- Rename to @balena/sbvr-types [Pagan Gazzard]
- Drop node 8 support [Pagan Gazzard]
- Update tsconfig target to es2018 [Pagan Gazzard]
- Convert all returned promises to native promises instead of bluebird [Pagan Gazzard]
- Switch to balena-lint [Pagan Gazzard]
- Improve typings [Pagan Gazzard]
- Remove unused imports [Pagan Gazzard]
- Remove production lodash dependency [Pagan Gazzard]
- CI: Remove circleci deploy in favor of balenaCI [Pagan Gazzard]
- CI: Add node 12 to the test matrix [Pagan Gazzard]
- CI: Remove node 6 from the test matrix [Pagan Gazzard]
- Update dependencies and use resin-lint for automatic lint fixes [Pagan Gazzard]
- Add node 12 to the test matrix [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Add CODEOWNERS [Pagan Gazzard]
- Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]
- Downgrade @types/bluebird to 3.5.25 to avoid downstream issues [Pagan Gazzard]
- Convert index to typescript [Pagan Gazzard]
- Convert Time to typescript [Pagan Gazzard]
- Convert Text to typescript [Pagan Gazzard]
- Convert Short Text to typescript [Pagan Gazzard]
- Convert SHA to typescript [Pagan Gazzard]
- Convert Serial to typescript [Pagan Gazzard]
- Convert Real to typescript [Pagan Gazzard]
- Convert JSON to typescript [Pagan Gazzard]
- Convert Interval to typescript [Pagan Gazzard]
- Convert Integer to typescript [Pagan Gazzard]
- Convert Hashed to typescript [Pagan Gazzard]
- Convert ForeignKey to typescript [Pagan Gazzard]
- Convert File to typescript [Pagan Gazzard]
- Convert Date to typescript [Pagan Gazzard]
- Convert Date Time to typescript [Pagan Gazzard]
- Convert ConceptType to typescript [Pagan Gazzard]
- Convert Color to typescript [Pagan Gazzard]
- Convert Case Insensitive Text to typescript [Pagan Gazzard]
- Convert Boolean to typescript [Pagan Gazzard]
- Convert Big Integer to typescript [Pagan Gazzard]
- Convert TypeUtils to typescript [Pagan Gazzard]
- Drop bower.json [Pagan Gazzard]
- Drop support for node 4 [Pagan Gazzard]
- Use --require for mocha instead of the deprecated --compilers [Pagan Gazzard]
- Add enforcement of the required flag for validation [Pagan Gazzard]
- Switch to
prepare
to allow installing via git [Pagan Gazzard] - Remove console.error [Pagan Gazzard]
- Convert to commonjs modules [Pagan Gazzard]
- Switch to throwing/rejecting with actual errors instead of strings [Pagan Gazzard]
- Convert all callback interfaces to promise interfaces [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Update to bcrypt 3.x [Pagan Gazzard]
- Update coffeescript to 2.x [Pagan Gazzard]
- Change the storage format of SHA value to fit the P-H-C format. #17 [Andreas Fitzek]
- Add node 10 to the circleci tests #15 [Pagan Gazzard]
- Add a "SHA" type #14 [Andreas Fitzek]
- Add a "Big Integer" type #12 [Pagan Gazzard]
- Switch to coffeescript over coffee-script #13 [Pagan Gazzard]
- Update dependencies #13 [Pagan Gazzard]
- Enable auto-publishing #11 [Pagan Gazzard]
- Added versionist #10 [Giovanni Garufi]
- Strictly validate the hex string, rather than rely on validation by nodejs which varies vased on version
- Fixed "File" test for nodejs 8
- Added a "Case Insensitive Text" type
- Added linting.
- Added README file.
- Return null for null dates rather than the unix epoch.
- Fixed bower.json
- Updated to lodash ^4.0.0
- Update bower.json to match package.json
- Updated to bluebird 3.
- Made the bcrypt dependencies optional.
- Added the ability to specify a default value to database types that are generated via a function.
- Switched to being a scoped package.
- Added a validate function for the file type so it can actually be used.
- Fix an error with Hashed type comparisons introduced in v0.1.0
- Updated lodash to ^3.0.0
- Fallback to bcryptjs in the browser rather than unencrypted.