This repository has been archived by the owner on Jan 12, 2023. It is now read-only.
v2.0.0
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