Skip to content

v0.1.0

Latest

Choose a tag to compare

@MasanoriKanamaru MasanoriKanamaru released this 13 Jul 23:21
· 4 commits to main since this release

First stable release with critical bug fixes and API improvements.

🚨 Breaking changes

  • Updated to AsteroidShapeModels.jl v0.4.1 with critical eclipse shadowing bug fixes
  • Changed coordinate transformation arguments from translation vectors (t₁₂) to position vectors (r₁₂)
  • update_flux_sun! now takes r₁₂ (position vector) instead of t₁₂ (translation vector)

✨ Features

  • Unified flux calculation API (update_flux_all!) for cleaner code organization
  • Improved coordinate transformation handling in binary systems
  • Enhanced performance with 27x faster shadow calculations
  • Comprehensive benchmark suite with latest performance metrics

🐛 Bug fixes

  • Fixed coordinate transformation bug in binary asteroid systems (r₂₁ calculation)
  • Corrected apply_eclipse_shadowing! function usage for compatibility with AsteroidShapeModels.jl v0.4.1
  • Fixed benchmark package version handling

📚 Documentation

  • Updated examples with unified API usage
  • Added comprehensive migration guide
  • Updated benchmark results (2025-07-13)
  • Improved physical model documentation with binary system details

🔧 Migration guide

Single asteroid

# Old API
update_flux_sun!(stpm, r☉)
update_flux_scat_single!(stpm)
update_flux_rad_single!(stpm)

# New unified API (recommended)
update_flux_all!(stpm, r☉)

Binary asteroid

# Old API (note: t₁₂ is now r₁₂)
update_flux_sun!(btpm, r☉₁, t₁₂, R₁₂)  # Old: used translation vector
update_flux_scat_single!(btpm)
update_flux_rad_single!(btpm)
mutual_heating!(btpm, r_s, R₂₁)

# New unified API (recommended)
update_flux_all!(btpm, r☉₁, r₁₂, R₁₂)  # Now: uses position vector

See CHANGELOG.md for complete details.