@phila/vue-datafetch

2.2.19 • Public • Published

phila-vue-datafetch (@phila/vue-datafetch in npmjs.com)

phila-vue-datafetch is a library of functions used for fetching data for an app which uses Vue.js and Vuex. The functions included are designed to geocode addresses, and fetch data from any REST APIs input, and to return the data in a structured way into the Vuex store, so that data can be efficiently used in an app.

To Include The Library In Your App

  • in a bundled app, use npm:

    npm install @phila/vue-datafetch

  • in an html file, use the CDN:

    <script src="//unpkg.com/@phila/vue-datafetch@1.1.7/dist/phila-vue-datafetch.js"></script>

Usage

Check out the wiki for usage documentation.

Publishing

To publish a new version of @phila/vue-datafetch to NPM:

  1. Commit your changes to master.
  2. Bump the NPM version with npm version major|minor|patch. (Double check this is done from 'master')
  3. Push with tags: git push && git push --tags.
  4. Update wiki docs to reflect new version and/or dependency changes.

Release Notes

2.2.19 - 2/28/2024

  • adds headers to http request

2.2.18 - 12/4/2023

  • updates .yml file to use node 16 for pushing to npm

2.2.17 - 12/4/2023

  • small changes from ux review of atlas.phila.gov

2.2.16 - 11/13/2023

  • fixes bug with clearing extra data which doesn't exist in a pinboard app

2.2.15 - 11/10/2023

  • all changes to get building certs into atlas.phila.gov

2.2.14 - 7/26/2023

  • allows passing esri token in esri query

2.2.13 - 6/12/2023

  • includes changes made for user testing sessions

2.2.12 - 3/23/2023

  • uses new geometry server

2.2.11 - 3/13/2023

  • comments out httpsProxyAgent to fix bugs

2.2.10 - 2/8/2023

  • ran package updates

2.2.9 - 9/9/2022

  • ran package updates

2.2.8 - 7/14/2022

  • fix for airtable data

2.2.7 - 3/2/2022

  • esri-client.js fetchBySpatialQuery can take a where clause

2.2.6 - 1/31/2022

  • fixes handleMapClick for Atlas by geocoding otherParcel if there is no geocode for the main parcel

2.2.5 - 1/31/2022

  • fixes bug with variable in console log

2.2.4 - 1/11/2022

  • changes for allowing property-data-explorer to use maplibre

2.2.3 - 11/15/2021

  • fixes all bugs involving exporting csv's in property data explorer

2.2.2 - 10-28-2021

  • undoes fix of weird bug with shape searching a single building after exporting a csv
  • documents reason for leaving the bug in place in the comments

2.2.1 - 10-28-2021

  • fixes weird bug with shape searching a single building after exporting a csv

2.2.0 - 10-27-2021

  • changes for releasing Property Data Explorer

2.1.1 - 8-12-2021

  • fix: Change logic for PDE to properly set related feature

2.1.0 - 8-12-2021

  • Task/pde issue 491 fix 220 locust building condos

2.0.1 - 7/28/2021

  • fix - Add check for block search to ensure keyword triggers correctly.

2.0.0 - 7/26/2021

  • requires using npm for all package commands

1.4.11 - 7/6/2021

  • fixes Property - fix for null field in zoning and added catch() to fix routing errors

1.4.10 - 3/16/2021

  • fixes redundant re-routing

1.4.9 - 3/16/2021

  • comments out outdated topic routing code

1.4.8 - 10/29/2020

  • updates to routing

1.4.7 - 10/29/2020

  • updates to routing

1.4.6 - 10/28/2020

  • update to routing for public path of real estate tax

1.4.5 - 10/27/2020

  • uses github actions to push to npmjs

1.4.4 - 10/21/2020

  • includes changes for running -board frameworks off vue-router

1.4.3 - 10/6/2020

  • ran yarn upgrades

1.4.2 - 9/16/2020

  • fixes issue with esri search in layerboard

1.4.1 - 9/15/2020

  • allows real estate tax to use input in tips if geocode fails

1.4.0 - 8/28/2020

  • removes all imports of leaflet and esri-leaflet

1.3.1 - 7/29/2020

  • small fixes for routing in atlas, datafetching in layerboard

1.3.0 - 7/17/2020

  • adds block search client

1.2.2 - 6/14/2020

  • adds airtable as a possible source

1.2.1 - 5/27/2020

  • upgrades all packages

1.2.0 - 5/5/2020

  • merges changes for use in pinboard and viewerboard

1.1.8 - 3/2/2020

1.1.7 - 1/31/2020

  • pushes to @phila/vue-datafetch instead of @philly/vue-datafetch

1.1.6 - 1/24/2020

1.1.4, 1.1.5 - 1/24/2020

  • Changes to fix routing changes using broswer nav to load and zoom with shape searches.

1.1.3 - 1/24/2020

  • builds for push to npm

1.1.2 - 1/24/2020

  • Adds message when retrieving condos takes multiple API calls

1.1.1 - 1/22/2020

  • Fixes release mistake

1.1.0 - 1/22/2020

  • Fixes bug with different numbers of condos found in PDE when using different search methods

1.0.3 - 1/17/2020

  • Fixes bug with routing that breaks handleMapClick in Atlas

1.0.2 - 1/15/2020

  • Fix: Clearing shape in edge cases
  • Fix: Regression from previous fix to routing was causing condo button not to work on reverse geocode searches.

0.0.30 - 11/12/2019

  • pushes change to fix http-get further

0.0.30 - 11/12/2019

  • pushes change to fix http-get

0.0.29 - 10/23/2019

  • fixes bug with date-fns due to upgrade

0.0.28 - 10/22/2019

  • upgrades from dependabot

0.0.27 - 10/8/2019

  • small bug fixes, including working with keywords from a ComboSearch and handling topics when there are no parcels layers in state

0.0.26 - 10/7/2019

  • Monthly package upgrades, merges in changes made for restructuring

0.0.25 - 9/20/2019

  • Changes for working with polyline in pvm

0.0.24 - 9/6/2019

  • Monthly package upgrades

0.0.23 - 8/29/2019

  • Changes for allowing esri-sources in Pinboard

0.0.22 - 8/9/2019

  • Monthly package upgrades

0.0.21 - 7/12/2019

  • Bugfix for routing in Pinboard

0.0.20 - 7/11/2019

  • Monthly package upgrades

0.0.19 - 6/20/2019

  • In 2 places where data-manager.js didGeocode() calls setMapZoom, it attempts to use this.config.map.geocodeZoom. The default is set to 19.

0.0.18 - 6/2/2019

  • Uses axios 0.19.0 to fix security bug

0.0.17 - 5/30/2019

  • Ran yarn upgrade to upgrade all packages

Readme

Keywords

none

Package Sidebar

Install

npm i @phila/vue-datafetch

Weekly Downloads

7

Version

2.2.19

License

MIT

Unpacked Size

206 kB

Total Files

28

Last publish

Collaborators

  • derrickdso
  • karissademi
  • cirinocarvalho
  • m-atia
  • ajrothwell
  • phillypackage
  • ibdf