メインコンテンツまでスキップ

Changelog

1.0.0-beta.24

✨ Features

  • Adds event manager and improves session token handling

1.0.0-beta.22

✨ Features

  • Bubbles up a "clear" event to the user when the SearchBox or Geocoder components have had text cleared

🐞 Bug fixes

  • Fixes a bug in which the React components (Geocoder, SearchBox) without a value prop would show the string "undefined" in the input element
  • Fixes a bug to prevent the "Clear" icon button from submitting a form
  • Enables listbox visibility while in fullscreen mode

1.0.0-beta.21

✨ Features

  • Enables secondary addresses (units) for Address Autofill

1.0.0-beta.20

✨ Features

  • Adds core, web, and React packages for the Geocoding v6 API

1.0.0-beta.19

🐞 Bug fixes

  • Allows having a placeholder <option> in a country <select> when autofilling an HTML form with Address Autofill

1.0.0-beta.18

✨ Features

  • Adds option property to allow disabling of street suggestions in Address Autofill

1.0.0-beta.17

✨ Features

  • New instance properties placeholder, marker, and mapboxgl for SearchBox component (web and React versions) enabling improved map interactions and customization
  • New search instance method for SearchBox to programmatically use the component
  • General SearchBox UI improvements, including icons, clear button

🐞 Bug fixes

  • Fixes a bug affecting screen readers when multiple listbox controllers were active
  • Fixes the rendered second line text for SearchBox suggestions to include the street address for POIs

1.0.0-beta.16

✨ Features

  • Adds useSearchBoxCore hook to react library
  • Enables Search Box web and react components for public preview via the Search Box API
  • Adds /reverse and /category endpoints to SearchBoxCore

⚠️ Breaking changes

  • Removes MapboxSearch and useMapboxSearch from the core and react libraries, respectively
  • Migrates Search Box web and react components to SearchBoxCore and the Search Box API
  • Renames several classes and types while maintaining aliases for backward compatibility

1.0.0-beta.15

✨ Features

  • Adds SearchBoxCore class working with Search Box API
  • Provides a way to set buttons text for minimap component

🐞 Bug fixes

  • Suppress password managers extensions popups in autofill

1.0.0-beta.14

✨ Features

  • Improved WAI-ARIA compliance to enable better screen reader compatibility and accessibility features within Autofill and Search Box
  • Adds new interceptSearch callback option to conditionally override or augment input text
  • Enables street-first searches in Autofill for better compatibility with international address formats
  • Adds feature type icons to the Autofill listbox UI
  • Adds new browserAutofillEnabled option for the Autofill component, plus adds behavior to attempt to suppress browser autocomplete popups while Mapbox suggestions are shown (works in Chrome browsers)

⚠️ Breaking changes

  • The Autofill web component will begin suggesting results when the search string is at least three characters in length

🐞 Bug fixes

  • Fixes a bug causing onchange exceptions in the React SearchBox component
  • Fixes a bug that resulted in duplicate DOM node id attribute values when using the Autofill or SearchBox components, which caused unstable behavior in some development application frameworks such as Phoenix
  • Fixes an issue in Autofill where hitting the enter key while no suggestions are available would throw an error

1.0.0-beta.13

✨ Features

  • Enables custom text and visibility of the footer for confirmation and minimap components

1.0.0-beta.12

⚠️ Breaking changes

  • Removes automatic fetch polyfilling from the Core library when run in a Node.js environment

🐞 Bug fixes

  • Fixes an issue with build warnings in webpack and create-react-app applications

1.0.0-beta.11

⚠️ Breaking changes

  • Renames AutofillMatchCode and AutofillMatchCodeConfidence types to MatchCode and MatchCodeConfidence respectively
  • Removes string type for the searchText argument for the MapboxAutofill.retrieve method

✨ Features

  • Exposes popover configuration options for the results list positioning and behavior

🐞 Bug fixes

  • Exposes missing documentation for AutofillCollectionOptions and skipConfirmModal
  • Exposes missing documentation for AutofillValueMap type

1.0.0-beta.10

✨ Features

  • Enables detection of browser autofill events within an Autofill and confirmation flow

🐞 Bug fixes

  • Fixes Minimap image and marker positioning issues on resizing events

1.0.0-beta.9

✨ Features

  • Enables customizing the map style and theme for a Minimap displayed within a confirmation dialog

🐞 Bug fixes

  • Fixes the suggestion display text for international addresses
  • Fixes a CSS bug which caused an unintentional page margin and horizontal scrollbar
  • Fixes display issue for the confirmation modal on mobile devices

1.0.0-beta.7

⚠️ Breaking changes

  • Update API for using "Confirm Address" feature; see confirmAddress
  • Update API for using "Autofill" function, including additional event hooks

✨ Features

  • Expose utility functions for accessing address values from form fields
  • Enable global state to manage access token

🐞 Bug fixes

  • Bug fixes to improve API consistency and component stability

1.0.0-beta.6

  • Add @mapbox/search-js-react 🚀
  • Expose more interfaces within index.d.ts
このpageは役に立ちましたか?