v0.2.0
What's Changed
Features
- feat: upgrade maplibre-gl peer dependency from v4 to v5 by @wazolab
- feat: add link-metadata slot and move header to consumer by @wazolab
- feat: adapt ObjectType to short codes from Clearance API by @wazolab
- feat: adapt API types to new Clearance format by @wazolab
- feat: extend preset date ranges to 1 year by @wazolab
- feat: type slot props in LoCha component hierarchy by @wazolab
- Add docker support by @frodrigo
Fixes
- fix: move link-metadata slot inside grid with full-width span by @wazolab
- fix: repair demo grid layout and group list width by @wazolab
- fix: place LoCha component in correct grid column in demo app by @wazolab
- fix: move link-metadata slot outside grid and guard header with v-if by @wazolab
- fix: pass dateStart and dateEnd props to LoCha component by @wazolab
- fix: remove temporary bbox swap now that clearance#33 is resolved by @wazolab
- fix: standardize bbox to GeoJSON format [west, south, east, north] by @wazolab
- fix: restore original narrow preset date ranges by @wazolab
- fix: align feature-transform tests with warn-and-skip behavior by @wazolab
- fix: support multiple LoCha instances on the same page by @wazolab
- fix: make geom and tags optional in Reason type by @wazolab
- fix: remove vue-router dependency from exported components by @wazolab
- fix: restrict Sentry plugin to demo and dev builds by @wazolab
- fix: add immediate option to data watcher in LoCha component by @wazolab
- fix(deps): upgrade picomatch and yaml to patch security vulnerabilities by @wazolab
- fix: shorten preset date ranges to avoid leap year overflow by @wazolab
- fix: handle degenerate bbox for single-point features by @wazolab
- fix: make diff prop optional in LoChaDiff by @wazolab
- fix: correct lat/lng order in bbox polygon and placeholder by @wazolab
- fix: encode username in OSM user profile URL by @wazolab
Refactoring
- refactor: rename ApiResponse to LoChaData by @wazolab
- refactor: reorganize TypeScript type definitions into dedicated modules by @wazolab
- refactor: remove unused source ref from VMap by @wazolab
- refactor: split VMap.vue into smaller modules by @wazolab
- refactor: centralize feature filtering in useLoCha composable by @wazolab
- refactor: rename selectedBorderColor to highlightBorderColor by @wazolab
- refactor: extract shared constants for map style URL and colors by @wazolab
- refactor: simplify LoChaDiff.vue template complexity by @wazolab
- refactor: extract transformFeatures from useApi composable by @wazolab
- refactor: use Symbol injection key for reasonCollapsed by @wazolab
- refactor: extract OSM link URL builders to utility module by @wazolab
- refactor: move preset data out of MapFilters component by @wazolab
- refactor: remove dead code selectedFeatureId and _resetGroup by @wazolab
- refactor: remove unused @vueuse/core and move @sentry/vite-plugin to devDependencies by @wazolab
Documentation
- docs: add usage documentation and fix package exports by @wazolab
- docs: remove duplicate CSS import and clarify slot props availability by @wazolab
- docs: move src to always-present slot props table by @wazolab
Tests
- test: add test infrastructure and high-priority unit tests by @wazolab
- test: improve test suite coverage and fix _resetState bug by @wazolab
- test: deduplicate test suite with shared turf mocks by @wazolab
Chores
- chore: upgrade ESLint, commitlint, VueUse, and vue-router to latest majors by @wazolab
- chore: upgrade Vite ecosystem to latest majors by @wazolab
- chore: update patch/minor dependencies and fix security vulnerabilities by @wazolab
- chore: align CI pipeline to Node.js 22 (LTS/Jod) by @wazolab
- chore: update Node.js to v22.22.1 (LTS/Jod) by @wazolab
Full Changelog: https://github.com/teritorio/openstreetmap-logical-history-component/commits/v0.2.0