这是indexloc提供的服务,不要输入任何密码
Skip to content

Releases: aazuspan/eerepr

v0.1.2

02 May 21:20
eedc38c
Compare
Choose a tag to compare

Changed

  • eerepr.reset() now clears the cache immediately instead of waiting for eerepr.initialize().

Performance

  • Non-deterministic objects are no longer cached, rather than getting a unique attribute to force a cache miss. Negligible reduction in memory, unless you're caching huge shuffled lists.
  • The optimization of long truncated lists was modified to check list lengths against a pre-computed max length instead of calculating the minimum string length of each list. Minor speedup when working with a lot of lists.

v0.1.1

21 Feb 04:01
f26a57c
Compare
Choose a tag to compare

Fixed

  • Fixed an error #57 generating reprs when the default system encoding is gbk

Performance

  • Avoid stringifying long lists that will definitely be truncated in the repr (~20% speedup when testing with a 25-image Sentinel-2 collection)

Changed

  • CSS is loaded from a Python module instead of a static file

v0.1.0

23 Jan 05:17
Compare
Choose a tag to compare

⚠️ Breaking Changes

  • eerepr no longer initializes on import, and must be manually initialized to work.

    import eerepr
    
    eerepr.initialize()

Added

  • Add on_error parameter to initialize with option raise to throw Earth Engine exceptions instead of warning
  • Add max_repr_mbs parameter to initialize to allow setting the maximum repr size for safety

Changed

  • Pure CSS collapsing (no more JS!)
  • Better accessibility - reprs can be navigated by keyboard
  • Optimized dict sorting (3-10% faster)
  • Improved styling

Fixed

  • Replaced deprecated standard lib functions

Removed

  • Dropped Python 3.7 support
  • Removed automatic initialize on import

v0.0.5

23 Jan 05:14
Compare
Choose a tag to compare

This release is a backport of a security fix from 0.1.0.

Breaking Changes

  • For security, HTML within Earth Engine objects is no longer rendered.

Security

  • Escape HTML in all server-side data to prevent injection attacks

v0.0.4

01 Dec 05:56
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.3...v0.0.4

v0.0.3

27 Nov 04:21
41acfc3
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.2...v0.0.3

v0.0.2

10 Nov 05:45
Compare
Choose a tag to compare

What's Changed

  • Fix caching bug on ee.List.shuffle(seed=False) by @aazuspan in #7
  • Fix collapsing w/ duplicate reprs in Jupyter Lab and performance improvements in 1590c19
  • Add config module and prevent accidentally printing huge reprs by @aazuspan in #9

Full Changelog: v0.0.1...v0.0.2

v0.0.1 Initial Release

06 Nov 20:08
77f251a
Compare
Choose a tag to compare
Update README.md