What's New
v4.0
Release Date: Feb 10, 2023
ES Modules
- probe.gl is now published as a set of ES modules (
type: moduleis set in package.json). - ES Modules by design only support
importsyntax, however efforts have been made to remain compatible withrequire. - A set of
package.jsonexportsare provided to avoid issues that arise when mixing ES modules and traditional JS modules.
TypeScript
- Improved TypesSript typing enables us to more easily accept PRs.
@probe.gl/bench
- The `Bench class API has been updated for TypeScript with improved type safety.
- Some overloads are no longer supported, refer to the upgrade guide for advice on how to update your code.
probe.gl (Removed module)
The probe.gl "umbrella" module is no longer available as of 4.0, per the previously announced deprecation plan.
Simply replace probe.gl with the scoped @probe.gl/... modules you are actually using.
v3.5
Release Date: Dec 12, 2021
- TypeScript: exported
.d.tsfiles are now more robust (automatically built from source.tsfiles).
@probe.gl/env (NEW MODULE)
- The environment functionality from the now deprecated
probe.glmodule (global exports,isBrowser,isElectronetc.) have been moved to this module.
@probe.gl/log (NEW MODULE)
- The
LogandCOLORclasses from the now deprecatedprobe.glmodule.
@probe.gl/stats-widget
- Add collapse option
- Use pointer cursor in header
probe.gl
- The original
probe.glmodule is now fully deprecated in favor of scoped submodules and will be removed in probe.gl v4.0. - For backwards compatiblity,
the probe.glmodule imports and re-exports symbols from@probe.gl/env,@probe.gl/log,@probe.gl/stats. - See our Upgrade Guide for more details.
v3.4
Release Date: Jul 16, 2021
- Exports TypeScript type definitions for all probe.gl modules.
v3.3
Release Date: Jun 18, 2020
@probe.gl/bench
- New options for
Benchbenchmarks:options.multiplier,options.units,options._throughput
@probe.gl/react-bench
- New module with a react-component that displays the result of
Benchruns.
v3.2
Release Date: Dec 16, 2019
New modules
@probe.gl/statsNew module enabling users to importStatsobject only@probe.gl/seerSeer repository moved into probe.gl monorepo.
@probe.gl/log: Log class improvements
- Rename
log.prioritytolog.level - Change default
enabledbehavior of Log class - Improve log perf
- Remove rest parameters from Log class
v3.1
Release Date: Sep 13, 2019
probe.gl
Stats- Stats objects can now be constructed with a type hint for each stat. This is used to select default formatters for the stats.StatsWidget- Can now be created without a stats object, and the stats object can be replaced and unset.
@probe.gl/test-utils
- Input event emulation API
@probe.gl/stats
- New module exporting only the
StatsandStatobjects.
v3.0
Release Date: Apr 1, 2019
Module split
The subfile import scheme has been replaced with proper npm modules:
- probe.gl - Log Class
- @probe.gl/bench - Benchmark utilities
- @probe.gl/stats-widget - UI widgets for profiling
- @probe.gl/test-utils - Integration test utilities
Bench class
- Benchmark async functions - New method
Bench.addAsync.
Utilities
- New method
getHiResTimestamp- Uses high res timer APIs in both browser and Node.
v2.1
Release Date: Jan 2019
Log class additions
- New method
log.assert() - New method
log.settings() - New method
log.set() - New method
log.get()
v1.0
probe.gl is now open source!