Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Releases: JaneJeon/objection-hashid

v3.0.2

20 Dec 04:16
548186c
Compare
Choose a tag to compare

v3.0.1

20 Dec 03:19
a980f81
Compare
Choose a tag to compare

This release contains additional security fixes.

v3.0.0...v3.0.1

v3.0.0

20 Dec 03:16
7122168
Compare
Choose a tag to compare

This release supports objection v3 and knex v1!

Nothing has functionally changed, however.

  • update dependencies to fix vuln 789d084
  • Merge pull request #167 from JaneJeon/dependabot/npm_and_yarn/jest-27.4.4 2bbfd21
  • Bump jest from 27.4.3 to 27.4.4 b19c278
  • Merge pull request #166 from JaneJeon/dependabot/npm_and_yarn/jest-27.4.3 4e4841d
  • Bump jest from 27.3.1 to 27.4.3 b674170
  • Merge pull request #165 from JaneJeon/dependabot/npm_and_yarn/lint-staged-12.1.2 6265ee9
  • Bump lint-staged from 12.1.1 to 12.1.2 3ebfee3
  • Merge pull request #164 from JaneJeon/dependabot/npm_and_yarn/hashids-2.2.10 6906782
  • Merge pull request #163 from JaneJeon/dependabot/npm_and_yarn/lint-staged-12.1.1 09dcb5b
  • Bump hashids from 2.2.9 to 2.2.10 9c95b38
  • Bump lint-staged from 12.0.2 to 12.1.1 4120d88
  • Merge pull request #162 from JaneJeon/dependabot/npm_and_yarn/lint-staged-12.0.2 dc5202b
  • Bump lint-staged from 11.2.6 to 12.0.2 7dcb5bd
  • Merge pull request #161 from JaneJeon/dependabot/npm_and_yarn/objection-2.2.18 e51f8c4
  • Merge pull request #160 from JaneJeon/dependabot/npm_and_yarn/hashids-2.2.9 daa6004
  • Bump objection from 2.2.17 to 2.2.18 2b578fc
  • Bump hashids from 2.2.8 to 2.2.9 888a387
  • Merge pull request #159 from JaneJeon/dependabot/npm_and_yarn/lint-staged-11.2.6 28f6d1f
  • Bump lint-staged from 11.1.2 to 11.2.6 f2f3dc0
  • fuck db52cea
  • badge [skip ci] d66597a
  • oops 26f9549
  • makeover 5ad153c
  • Merge pull request #158 from JaneJeon/dependabot/npm_and_yarn/lint-staged-11.2.4 c282494
  • Merge pull request #157 from JaneJeon/dependabot/npm_and_yarn/eslint-plugin-promise-5.1.1 1ab492b
  • Merge pull request #156 from JaneJeon/dependabot/npm_and_yarn/jest-27.3.1 2e5a5fd
  • Bump lint-staged from 11.2.3 to 11.2.4 6329462
  • Bump eslint-plugin-promise from 5.1.0 to 5.1.1 77ee664
  • Bump jest from 27.3.0 to 27.3.1 acf703d
  • Merge pull request #155 from JaneJeon/dependabot/npm_and_yarn/jest-27.3.0 c64e7a0
  • Bump jest from 27.2.5 to 27.3.0 3cdf382
  • Merge pull request #152 from JaneJeon/dependabot/npm_and_yarn/jest-27.2.5 af1e573
  • Merge pull request #153 from JaneJeon/dependabot/npm_and_yarn/lint-staged-11.2.3 4379e43
  • Merge pull request #154 from JaneJeon/dependabot/npm_and_yarn/jest-junit-13.0.0 2b11608
  • Bump jest-junit from 12.3.0 to 13.0.0 5056115
  • Bump lint-staged from 11.1.2 to 11.2.3 93a8f0b
  • Bump jest from 27.2.4 to 27.2.5 217b3ed
  • Merge pull request #150 from JaneJeon/dependabot/npm_and_yarn/jest-27.2.4 44ea029
  • Merge pull request #151 from JaneJeon/dependabot/npm_and_yarn/objection-2.2.17 64a8345
  • Bump objection from 2.2.16 to 2.2.17 925be8b
  • Bump jest from 27.2.2 to 27.2.4 bb835db
  • Update codeql-analysis.yml 3952f65
  • Update ossar-analysis.yml 2faac68
  • Create ossar-analysis.yml 0e07a8c
  • Create codeql-analysis.yml 1c1ae42
  • Merge pull request #147 from JaneJeon/dependabot/npm_and_yarn/types/jest-27.0.2 19bc97b
  • Merge pull request #148 from JaneJeon/dependabot/npm_and_yarn/jest-27.2.2 b05dbfc
  • Merge pull request #149 from JaneJeon/dependabot/npm_and_yarn/jest-junit-12.3.0 94f112e
  • Bump jest-junit from 12.2.0 to 12.3.0 23c0dcf
  • Bump jest from 27.2.0 to 27.2.2 e506fcd
  • Bump @types/jest from 27.0.1 to 27.0.2 ea995f3
  • Merge pull request #143 from JaneJeon/dependabot/npm_and_yarn/jest-27.2.0 72e939a
  • Merge pull request #144 from JaneJeon/dependabot/npm_and_yarn/prettier-2.4.1 989667a
  • Merge pull request #145 from JaneJeon/dependabot/npm_and_yarn/objection-2.2.16 be1eabd
  • Bump objection from 2.2.15 to 2.2.16 f3b7b06
  • Bump prettier from 2.3.2 to 2.4.1 163b597
  • Bump jest from 27.1.0 to 27.2.0 48804a8
  • Merge pull request #139 from JaneJeon/dependabot/npm_and_yarn/janejeon/eslint-config-2.1.0 8f2d8a3
  • Merge pull request #140 from JaneJeon/dependabot/npm_and_yarn/jest-27.1.0 1188fc2
  • Bump jest from 27.0.6 to 27.1.0 66d13e8
  • Bump @janejeon/eslint-config from 2.0.2 to 2.1.0 83b4f02
  • Merge pull request #138 from JaneJeon/dependabot/npm_and_yarn/eslint-plugin-prettier-3.4.1 126b7ab
  • Bump eslint-plugin-prettier from 3.4.0 to 3.4.1 650de8b
  • Merge pull request #136 from JaneJeon/dependabot/npm_and_yarn/types/jest-27.0.1 5c80849
  • Merge pull request #137 from JaneJeon/dependabot/npm_and_yarn/knex-0.21.21 e0ce7ba
  • Bump knex from 0.21.20 to 0.21.21 62144e9
  • Bump @types/jest from 26.0.24 to 27.0.1 2c84fdf
  • Merge pull request #134 from JaneJeon/dependabot/npm_and_yarn/lint-staged-11.1.2 e9b6fcd
  • Merge pull request #135 from JaneJeon/dependabot/npm_and_yarn/knex-0.21.20 c83604c
  • Bump knex from 0.21.19 to 0.21.20 d063de2
  • Bump lint-staged from 11.1.1 to 11.1.2 ea472f8
  • Merge pull request #133 from JaneJeon/dependabot/npm_and_yarn/lint-staged-11.1.1 4e7bd1b
  • Bump lint-staged from 11.0.1 to 11.1.1 01304f6
  • force quit 460dfcb
  • update deps 1df5956
  • remove eslint-plugin-standard as it is no longer needed 2656163
  • Merge pull request #132 from JaneJeon/dependabot/npm_and_yarn/types/jest-26.0.24 90ed0e0
  • Merge pull request #127 from JaneJeon/dependabot/npm_and_yarn/prettier-2.3.2 2320c5e
  • Bump @types/jest from 26.0.23 to 26.0.24 d4d5956
  • Bump prettier from 2.3.1 to 2.3.2 6a55846
  • Merge pull request #123 from JaneJeon/dependabot/npm_and_yarn/jest-junit-12.2.0 d12ba5a
  • Merge pull request #122 from JaneJeon/dependabot/npm_and_yarn/prettier-2.3.1 af1b99b
  • Bump jest-junit from 12.1.0 to 12.2.0 9662192
  • Bump prettier from 2.3.0 to 2.3.1 dfff581
  • bump version 199da33
  • Merge pull request #119 from JaneJeon/dependabot/npm_and_yarn/jest-junit-12.1.0 6108967
  • Merge pull request #120 from JaneJeon/dependabot/npm_and_yarn/lint-staged-11.0.0 ef40c5f
  • Bump lint-staged from 10.5.4 to 11.0.0 8b5de71
  • Bump jest-junit from 11.1.0 to 12.1.0 834b3cf
  • dependabot 61ccdd7

v2.1.2...v3.0.0

v2.1.2

05 Jun 00:44
ff74db2
Compare
Choose a tag to compare

This release addresses #115. Thanks @jakeorr !

v2.1.1...v2.1.2

v2.1.1

10 May 19:47
e8ece41
Compare
Choose a tag to compare

This version updates dependencies for security reasons

v2.1.0...v2.1.1

v2.1.0

03 Apr 23:25
d20b49e
Compare
Choose a tag to compare
  • make parse methods immutable b248ee5
  • drop support for node v10 af90222

v2.0.0...v2.1.0

v2.0.0

03 Apr 23:12
f290f27
Compare
Choose a tag to compare

This release adds the ability to "decode" hashid when serializing from a hashed object (i.e. {id: 1} -> {hashid: 'foobar'} -> {id: 1}) using Model.fromJson().

While this wasn't a "bug", per se, it was certainly unexpected as the library was meant to be fully isomorphic, in both directions (from model to JSON and back).

With this, I've taken the opportunity to drop Objection.js v1 support and node.js v10 support and bump the major version.

However, existing code should not be affected - it just handles hashid "decoding" when translating from JSON to model instance.

  • package-lock update e06687f
  • Merge branch 'master' of https://github.com/JaneJeon/objection-hashid 6664f07
  • increase isomorphism cover case 080b385
  • drop objection1 support 036e1d7
  • Merge pull request #114 from JaneJeon/dependabot/npm_and_yarn/y18n-4.0.1 b5c5a98
  • Bump y18n from 4.0.0 to 4.0.1 ef65a85
  • version bump [skip ci] f956167
  • Merge pull request #113 from JaneJeon/dependabot/npm_and_yarn/ini-1.3.8 906f78e
  • Bump ini from 1.3.5 to 1.3.8 f0d176c
  • Merge pull request #111 from JaneJeon/dependabot/npm_and_yarn/jest-26.2.2 96a75fe
  • Bump jest from 26.1.0 to 26.2.2 faa67a2
  • Merge pull request #112 from JaneJeon/dependabot/npm_and_yarn/eslint-7.6.0 7a58ff5
  • Bump eslint from 7.5.0 to 7.6.0 7fe61d3
  • Merge pull request #110 from JaneJeon/dependabot/npm_and_yarn/types/jest-26.0.8 1a44b01
  • Bump @types/jest from 26.0.7 to 26.0.8 a6d28b5
  • Merge pull request #109 from JaneJeon/dependabot/npm_and_yarn/jest-junit-11.1.0 82951a0
  • Merge pull request #108 from JaneJeon/dependabot/npm_and_yarn/types/jest-26.0.7 64e7351
  • Merge pull request #107 from JaneJeon/dependabot/npm_and_yarn/objection-visibility-1.1.0 46032f0
  • Bump jest-junit from 11.0.1 to 11.1.0 dae8abe
  • Bump @types/jest from 26.0.5 to 26.0.7 6704777
  • Bump objection-visibility from 1.0.0 to 1.1.0 97062de
  • Merge pull request #106 from JaneJeon/dependabot/npm_and_yarn/types/jest-26.0.5 8f4f9b2
  • Merge pull request #105 from JaneJeon/dependabot/npm_and_yarn/eslint-7.5.0 d77a6eb
  • Bump @types/jest from 26.0.4 to 26.0.5 fa87a28
  • Bump eslint from 7.4.0 to 7.5.0 f6d99a9
  • Merge pull request #104 from JaneJeon/dependabot/npm_and_yarn/lodash-4.17.19 bc358ab
  • Bump lodash from 4.17.15 to 4.17.19 3f844bf
  • Merge pull request #102 from JaneJeon/dependabot/npm_and_yarn/knex-0.21.2 720fb9d
  • Merge pull request #103 from JaneJeon/dependabot/npm_and_yarn/types/jest-26.0.4 bdc9393
  • Bump @types/jest from 26.0.3 to 26.0.4 fd2db94
  • Bump knex from 0.21.1 to 0.21.2 0ece33e
  • remove redundant prettier config f121ce4

v1.4.1...v2.0.0

v1.4.1

11 Jul 02:50
ef20a3e
Compare
Choose a tag to compare

Cleanup, added CircleCI, prettier 2, eslint 7, and skip-ci.

It's been a while!

  • cleanup (circleCI/prettier/eslint/skip-ci 4607b91
  • Merge pull request #101 from JaneJeon/dependabot/npm_and_yarn/sqlite3-5.0.0 aa25dcc
  • Bump sqlite3 from 4.2.0 to 5.0.0 6146e65
  • Merge pull request #100 from JaneJeon/dependabot/npm_and_yarn/types/jest-26.0.3 7810715
  • Bump @types/jest from 26.0.0 to 26.0.3 23cfe5b
  • Merge pull request #99 from JaneJeon/dependabot/npm_and_yarn/jest-26.1.0 db96fea
  • Bump jest from 26.0.1 to 26.1.0 7975f14
  • Merge pull request #96 from JaneJeon/dependabot/npm_and_yarn/jest-junit-11.0.1 f2abfc0
  • Bump jest-junit from 10.0.0 to 11.0.1 30ec730
  • Merge pull request #94 from JaneJeon/dependabot/npm_and_yarn/types/jest-26.0.0 b647e59
  • Merge pull request #97 from JaneJeon/dependabot/npm_and_yarn/lint-staged-10.2.11 ab7d0ba
  • Bump lint-staged from 10.2.10 to 10.2.11 ec418ab
  • Merge pull request #95 from JaneJeon/dependabot/npm_and_yarn/lint-staged-10.2.10 38dd555
  • Bump lint-staged from 10.2.9 to 10.2.10 15357c0
  • Bump @types/jest from 25.2.3 to 26.0.0 1cade6c
  • Merge pull request #93 from JaneJeon/dependabot/npm_and_yarn/lint-staged-10.2.9 b227ad5
  • Bump lint-staged from 10.2.7 to 10.2.9 1bc6b60
  • Merge pull request #92 from JaneJeon/dependabot/npm_and_yarn/lint-staged-10.2.7 2675685
  • Bump lint-staged from 10.2.6 to 10.2.7 bcb0cdb
  • Merge pull request #91 from JaneJeon/dependabot/npm_and_yarn/lint-staged-10.2.6 00b53d4
  • Merge pull request #90 from JaneJeon/dependabot/npm_and_yarn/types/jest-25.2.3 2e995e7
  • Bump lint-staged from 10.2.2 to 10.2.6 b95efd1
  • Bump @types/jest from 25.2.2 to 25.2.3 a8f8cc3
  • Merge pull request #89 from JaneJeon/dependabot/npm_and_yarn/types/jest-25.2.2 54fd656
  • Bump @types/jest from 25.2.1 to 25.2.2 9be96c8
  • Merge pull request #88 from JaneJeon/dependabot/npm_and_yarn/jest-26.0.1 e252924
  • Bump jest from 25.5.4 to 26.0.1 13d7512
  • Merge pull request #87 from JaneJeon/dependabot/npm_and_yarn/lint-staged-10.2.2 d015622
  • Merge pull request #84 from JaneJeon/dependabot/npm_and_yarn/sqlite3-4.2.0 6193ad6
  • Merge pull request #86 from JaneJeon/dependabot/npm_and_yarn/jest-25.5.4 6c5336e
  • Bump lint-staged from 10.1.7 to 10.2.2 8f52988
  • Merge pull request #85 from JaneJeon/dependabot/npm_and_yarn/knex-0.21.1 558edc8
  • Bump jest from 25.4.0 to 25.5.4 c0bdaf8
  • Bump knex from 0.21.0 to 0.21.1 244f938
  • Bump sqlite3 from 4.1.1 to 4.2.0 82958fe
  • Merge pull request #83 from JaneJeon/dependabot/npm_and_yarn/lint-staged-10.1.7 060599f
  • Bump lint-staged from 10.1.6 to 10.1.7 46e0a89
  • Merge pull request #82 from JaneJeon/dependabot/npm_and_yarn/prettier-standard-16.3.0 df9272b
  • Bump prettier-standard from 16.2.1 to 16.3.0 52a7b65
  • Merge pull request #80 from JaneJeon/dependabot/npm_and_yarn/knex-0.21.0 14ce234
  • Merge pull request #81 from JaneJeon/dependabot/npm_and_yarn/lint-staged-10.1.6 b5c6874
  • Bump lint-staged from 10.1.3 to 10.1.6 8cd7f2d
  • Merge pull request #79 from JaneJeon/dependabot/npm_and_yarn/jest-25.4.0 9defaca
  • Bump knex from 0.20.13 to 0.21.0 b5dfccd
  • Bump jest from 25.3.0 to 25.4.0 4723199
  • Merge pull request #78 from JaneJeon/dependabot/npm_and_yarn/husky-4.2.5 36ab7c2
  • Merge pull request #77 from JaneJeon/dependabot/npm_and_yarn/lint-staged-10.1.3 0233e04
  • Merge pull request #76 from JaneJeon/dependabot/npm_and_yarn/jest-25.3.0 c09b4c7
  • Bump husky from 4.2.3 to 4.2.5 fd2e33e
  • Bump lint-staged from 10.1.2 to 10.1.3 cfa540d
  • Bump jest from 25.2.7 to 25.3.0 1167d1c
  • Merge pull request #73 from JaneJeon/dependabot/npm_and_yarn/types/jest-25.2.1 54ac91f
  • Merge pull request #74 from JaneJeon/dependabot/npm_and_yarn/lint-staged-10.1.2 afb5804
  • Merge pull request #75 from JaneJeon/dependabot/npm_and_yarn/jest-25.2.7 005d77c
  • Bump jest from 25.2.4 to 25.2.7 16c4c31
  • Bump lint-staged from 10.1.0 to 10.1.2 7b0b9da
  • Bump @types/jest from 25.1.4 to 25.2.1 b578c3a
  • fix badge [skip ci] fc2fbf3
  • move to npm and github actions 24a0378
  • Merge pull request #71 from JaneJeon/dependabot/npm_and_yarn/jest-25.2.4 3a1e774
  • Merge pull request #72 from JaneJeon/dependabot/npm_and_yarn/lint-staged-10.0.10 4688ec8
  • Bump lint-staged from 10.0.8 to 10.0.10 2ce6e52
  • Bump jest from 25.1.0 to 25.2.4 19ae60c
  • Merge pull request #67 from JaneJeon/dependabot/npm_and_yarn/standard-14.3.3 3e977f1
  • Bump standard from 14.3.1 to 14.3.3 9c4c9cd
  • Merge pull request #66 from JaneJeon/dependabot/npm_and_yarn/acorn-6.4.1 389e15b
  • [Security] Bump acorn from 6.3.0 to 6.4.1 b16ff71
  • Merge pull request #65 from JaneJeon/dependabot/npm_and_yarn/knex-0.20.11 b52ca1c
  • Merge pull request #64 from JaneJeon/dependabot/npm_and_yarn/types/jest-25.1.4 2afd070
  • Bump knex from 0.20.10 to 0.20.11 202c94d
  • Bump @types/jest from 25.1.3 to 25.1.4 3bf885d
  • Merge pull request #63 from JaneJeon/dependabot/npm_and_yarn/lint-staged-10.0.8 94b442b
  • Bump lint-staged from 10.0.7 to 10.0.8 482672f
  • Merge pull request #62 from JaneJeon/dependabot/npm_and_yarn/types/jest-25.1.3 5c2419f
  • Bump @types/jest from 25.1.2 to 25.1.3 bf5b862
  • Merge pull request #60 from JaneJeon/dependabot/npm_and_yarn/husky-4.2.3 fdc3c46
  • Merge pull request #59 from JaneJeon/dependabot/npm_and_yarn/knex-0.20.10 8fae4ea
  • Bump husky from 4.2.1 to 4.2.3 a46e95a
  • Bump knex from 0.20.9 to 0.20.10 6931e97
  • Update README.md 82e86bb
  • Merge pull request #57 from JaneJeon/dependabot/npm_and_yarn/objection-visibility-1.0.0 21820c5
  • Merge pull request #58 from JaneJeon/dependabot/npm_and_yarn/knex-0.20.9 552df9a
  • Merge pull request #56 from JaneJeon/dependabot/npm_and_yarn/types/jest-25.1.2 16c1370
  • Bump knex from 0.20.8 to 0.20.9 fc1afe2
  • Bump objection-visibility from 0.4.0 to 1.0.0 9d2cae3
  • Bump @types/jest from 25.1.1 to 25.1.2 83d7c10

v1.4.0...v1.4.1

v1.4.0

05 Feb 00:26
Compare
Choose a tag to compare

If you remember the previous 2 releases, we had to downgrade our hashids (the primary dependency of this plugin) as it 1. had HUGE performance impact, and 2. had the chance to infinitely recurse and blow up the stack.

Thankfully, niieani/hashids.js#79 is now fixed on v2.2, so we'll be upgrading back to that version, bringing performance improvements even compared to before, and allowing EMOJIS to be part of your alphabet!

EMOJIS.

WHO DOESN'T WANT EMOJIS?

  • upgrade to hashids 2.2 dd37822
  • Bump @types/jest from 24.9.1 to 25.1.1 (#55) 01a2eba
  • Merge pull request #54 from JaneJeon/dependabot/npm_and_yarn/lint-staged-10.0.7 7b24855
  • Bump @types/jest from 24.9.1 to 25.1.1 03954bc
  • Bump lint-staged from 10.0.2 to 10.0.7 1c44dbf

v1.3.0...v1.4.0

v1.3.0

27 Jan 01:35
Compare
Choose a tag to compare

This reverts the hashids dependency's version back to v1.2.2 for up to 5x the performance improvement!

Be aware of breaking changes with this dependency version change, especially if you were using a custom alphabet that included either spaces or multibyte unicode characters.

As soon as the upstream library's v2 version pushes a fix for niieani/hashids.js#79, we'll be sure to update to that version as well.

  • fix hashids import for v1 ced9440
  • downgrade hashids for better performance 158de19

v1.2.2...v1.3.0