v1.0.0
What's Changed
- build(deps): bump handlebars from 4.1.2 to 4.5.3 by @dependabot in #3
- feat: protocol buffers, json schema, & types for each by @tomasciccola in #22
- feat: versioned protobufs by @tomasciccola in #32
- feat: refactor type to schemaType by @tomasciccola in #41
- better exporting of types by @tomasciccola in #43
- Type exports by @tomasciccola in #47
- chore: add npm release action by @gmaclennan in #49
- chore: remove build-command from release action by @gmaclennan in #50
- Revert "chore: remove build-command from release action (#50)" by @gmaclennan in #52
- [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.0 by @optic-release-automation in #55
- [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.1 by @optic-release-automation in #58
- [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.2 by @optic-release-automation in #59
- Project record type by @tomasciccola in #65
- fix!: revise schema for data & config store records [1/6] by @gmaclennan in #72
- feat: Export JSONSchema [7/6] by @gmaclennan in #88
- chore: update deps and cleanup code by @gmaclennan in #90
- fix: observation.metadata should be required. by @gmaclennan in #92
- fix: update buf to v1.25.0 by @gmaclennan in #89
- fix: change schemaName from enum to const by @gmaclennan in #95
- fix: remove redundant code by @gmaclennan in #94
- fix: fix encode() parameter type by @gmaclennan in #97
- feat: export fns for versionId, seq->index, coreId->coreKey by @gmaclennan in #100
- fix: fix error checking known schema versions by @gmaclennan in #102
- feat: add missing fields to authStore schemas/protos by @tomasciccola in #93
- Conversion functions for authStore types by @tomasciccola in #96
- feat: add defaultPresets to Project doc by @tomasciccola in #99
- [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.5 by @optic-release-automation in #103
- add UNRECOGNIZED value to field type enum in json schema by @sethvincent in #108
- fix: ensure docSchemas only contains non-dereferenced schemas by @achou11 in #113
- install buf via npm by @sethvincent in #110
- Fix Tests by @tomasciccola in #106
- chore: fix CI for branch name change by @gmaclennan in #118
- fix: don't set default values for optional fields by @gmaclennan in #117
- [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.6 by @optic-release-automation in #119
- add typedoc-specific tsconfig by @sethvincent in #112
- fix: don't notify linked issues on npm publish by @gmaclennan in #120
- chore: validate schemas to ensure no top-level null by @gmaclennan in #122
- feat: Export decodeBlockPrefix by @gmaclennan in #130
- [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.7 by @optic-release-automation in #131
- feat: Add updated
Role
data type by @gmaclennan in #127 - feat: device -> deviceInfo & new schema by @gmaclennan in #128
- feat: Updated core ownership records by @gmaclennan in #129
- make project schema properties optional by @sethvincent in #133
- [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.8 by @optic-release-automation in #136
- fix: add missing protobufjs dep by @gmaclennan in #134
- feat: rename project -> projectSettings by @gmaclennan in #135
- fix: export MapeoDocInternal type by @gmaclennan in #137
- feat: header tests by @tomasciccola in #139
- add hash in attachments to observation schema by @sethvincent in #140
- chore: fix misspelling in filename by @achou11 in #143
- feat: add createdBy field for all records by @achou11 in #142
- [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.9 by @optic-release-automation in #144
- fix: rename versionObj.coreKey to coreDiscoveryKey by @gmaclennan in #145
- feat: add optional
deleted
field to common (proto and schema) by @tomasciccola in #138 - chore!: rename Attachment.driveId to Attachment.driveDiscoveryId by @achou11 in #147
- [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.10 by @optic-release-automation in #148
- Feat: add Icon schema by @tomasciccola in #152
- [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.11 by @optic-release-automation in #153
- fix: iconVersionId wrong encode decode by @tomasciccola in #156
- [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.12 by @optic-release-automation in #157
- fix: address naming inconsitencies with the DeviceInfo json schema definition by @achou11 in #154
- chore: avoid known file signatures in datatypeId by @gmaclennan in #155
- [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.13 by @optic-release-automation in #159
- feat: add optional deviceType to deviceInfo by @gmaclennan in #164
- feat: translation by @tomasciccola in #166
- [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.14 by @optic-release-automation in #167
- fix: role.fromIndex should be +ve integer by @gmaclennan in #161
- Feat: two icon types (svg and png) by @tomasciccola in #174
- chore: replace Tape with Node's built-in test runner by @EvanHahn in #176
- feat: Expose validation errors by @gmaclennan in #178
- feat: Add track schema type by @gmaclennan in #179
- [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.15 by @optic-release-automation in #180
- feat: add color to preset by @tomasciccola in #183
- [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.16 by @optic-release-automation in #184
- chore: develop on Node 20, CI on 16 and 20 by @EvanHahn in #185
- feat: Remove old schemas and re-version all schemas and protobufs to v1 by @tomasciccola in #190
- chore!: remove
refs
property from schemas by @EvanHahn in #196 - add unspecified field to enums by @tomasciccola in #198
- feat: standarize refs across all docs by @tomasciccola in #199
- feat: add
configMetadata
toprojectSettings
by @tomasciccola in #197 - [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.17 by @optic-release-automation in #201
- chore: add iconRef to preset schema by @tomasciccola in #203
- [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.18 by @optic-release-automation in #204
- chore: move type out of
docRef
and call itdocRefType
by @tomasciccola in #208 - feat: add
presetRef
to observation by @tomasciccola in #207 - [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.19 by @optic-release-automation in #210
- chore: check code formatting on test by @EvanHahn in #206
- chore: move typedoc-related deps to dev deps by @achou11 in #211
- chore: clean up deps by @achou11 in #212
- chore: add auto-format npm script by @EvanHahn in #214
- feat: decode future schema versions without throwing by @EvanHahn in #213
- feat: add
isInitialProject
toProjectSettings
by @tomasciccola in #215 - feat: remove optional fields when unnecessary by @tomasciccola in #216
- feat!: replace
createdBy
withoriginalVersionId
by @EvanHahn in #191 - [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.20 by @optic-release-automation in #217
- chore: make
helperText
Field property optional by @EvanHahn in #218 - [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.21 by @optic-release-automation in #219
- chore: use npm ci on release by @tomasciccola in #221
- chore: version all schemas to v1 by @tomasciccola in #220
- [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.22 by @optic-release-automation in #222
- feat!: remove
attachments
from tracks by @tomasciccola in #224 - chore: update type-fest dependency to latest version by @EvanHahn in #225
- chore: auto-format .proto files with
buf
by @EvanHahn in #227 - chore: update TypeScript to latest version by @EvanHahn in #226
- feat!: make observation location optional by @EvanHahn in #229
- [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.23 by @optic-release-automation in #230
- feat: add "self hosted server" device type by @EvanHahn in #186
- fix!: make Observation metadata coords fields optional by @EvanHahn in #232
- [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.24 by @optic-release-automation in #233
- feat: add
altitudeAccuracy
to observation metadata by @EvanHahn in #237 - chore!: make Preset's
iconRef
optional by @EvanHahn in #235 - test: use correct type for fixtures by @EvanHahn in #238
- chore!: make Field's
universal
property optional in schema by @EvanHahn in #236 - chore!: make some Observation props optional by @EvanHahn in #239
- [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.25 by @optic-release-automation in #240
- fix: don't require iconRef for presets by @EvanHahn in #241
- [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.26 by @optic-release-automation in #242
- chore: remove unused imports by @EvanHahn in #246
- chore: remove
any
s from decode helper function by @EvanHahn in #247 - fix: observation metadata types by @gmaclennan in #248
- test: properly test more
validate
errors by @EvanHahn in #249 - test: test validating a schema name that could "trick" JavaScript by @EvanHahn in #250
- chore: use upstream types for
compact-encoding
by @EvanHahn in #251 - fix!: remove
isInitialProject
from project settings by @EvanHahn in #253 - fix!: property decode new
oneof
cases by @EvanHahn in #255 - chore: work around Ajv module bug in generated code by @EvanHahn in #256
- chore:
getVersionId
should throw on invalid input by @EvanHahn in #257 - chore: make CoreOwnership core IDs required by @EvanHahn in #258
- chore!: improve decoding of required fields by @EvanHahn in #254
- [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.27 by @optic-release-automation in #259
- fix: fix AJV runtime validation code ESM compatibility by @gmaclennan in #261
- [OPTIC-RELEASE-AUTOMATION] release/v3.0.0-next.28 by @optic-release-automation in #263
- feat!: rename to
@comapeo/schema
by @EvanHahn in #260 - chore: make ajv a dev dep by @gmaclennan in #264
New Contributors
- @tomasciccola made their first contribution in #22
- @achou11 made their first contribution in #113
Full Changelog: https://github.com/digidem/comapeo-schema/commits/v1.0.0