News
western-signs

western-signs

v2.0.0Published MIT

Western astrology data for signs, planets, houses and aspects, with translations, SVG symbols and the Sun's position for any date.

npm i western-signs

changelog

  1. v2.0.0

    View on GitHub

    ⚠ BREAKING CHANGES

    • Rename getSymbol stroke options
    • Keep ids in i18n.label()
    • Return sun position as properties
    • Describe houses by horizon and meridian
    • Rename id types
    • Remove setLanguage() in favor of locale()
    • Return ids and translate with i18n.label()
    • Rename sign fields and add ids
    • Remove interpretive house data
    • Remove sign start and end dates
    • Remove deprecated functions

    Features

    • Accept a local date and time zone (2038102)
    • Accept any string in get() (dc81606)
    • Add aspects and houses.get() to zodiac (562542a)
    • Add longitude range to signs (a383ec7)
    • Add minor aspects, glyphs and harmonics (93d37fa)
    • Add planet domicile and detriment (c867ce1)
    • Add planet exaltation and fall (359750f)
    • Add zodiac.dignities() (50a36f9)
    • Add zodiac.signs.at() and degree() (aed267d)
    • Describe houses by horizon and meridian (f13e0d7)
    • Keep ids in i18n.label() (2de5ad6)
    • Publish data as JSON (2b9282a)
    • Remove deprecated functions (9b060ff)
    • Remove interpretive house data (d7dea21)
    • Remove setLanguage() in favor of locale() (898bead)
    • Remove sign start and end dates (368b54b)
    • Rename getSymbol stroke options (aa3f3a9)
    • Rename id types (7d5682b)
    • Rename sign fields and add ids (e77f427)
    • Return ids and translate with i18n.label() (df6a292)
    • Return sun position as properties (32d4bd0)

    Bug Fixes

  2. v1.16.0

    View on GitHub

    Features

    • Accept a key in i18n.t() and deprecate the template form (84bdb14)
    • Add traditional ruler to signs and houses (8884da4)
    • Compute sun position with Meeus' algorithm (117ede1)
  3. v1.15.0

    View on GitHub

    Bug Fixes

    • Return translated house keywords as arrays (0c78048)

    Features

    • Add date-based sun sign lookup to zodiac API (964561e)
    • Add unified zodiac API with locale support (d79c323)
  4. v1.14.1

    View on GitHub

    Bug Fixes

    • Rename astrology aspect assets (9505801)
    • Rename house identifiers to use kebab-case (c5c82aa)
    • Rename zodiac character constants (29fb10f)
    • Standardize aspect naming (bfcaaf5)
    • Use Signs type for zodiac sign fields (fb89352)
  5. v1.14.0

    View on GitHub

    Bug Fixes

    • Update conjunction icon path (c1b61d9)
    • Update opposition icon path (3864c6f)
    • Update quadrature icon path (994c05f)
    • Update scorpio icon path (e0b7899)

    Features

    • Support SVG data URL generation in browsers (5669fe0)
  6. v1.13.6

    View on GitHub

    Bug Fixes

    • Restore Bun bundler and pin pipeline version (dcd3dbb)
  7. v1.13.5

    View on GitHub

    Bug Fixes

    • Replace bundler with Rolldown to fix CI builds (df512d9)
  8. v1.13.4

    View on GitHub

    Bug Fixes

    • Add build failure handling (ce2352c)
    • Update build script to use import.meta.dir (d4c29c9)
  9. v1.13.3

    View on GitHub

    Bug Fixes

    • build: Update Bun runtime for release builds (3bcd349)
  10. v1.13.2

    View on GitHub

    Bug Fixes

    • Add Language type to exports (430c57d)
    • Add TypeScript type definitions to exports (e30a5e4)
    • Update build configuration for optimized output (906dcd9)
  11. v1.13.1

    View on GitHub

    Bug Fixes

    • Relax typescript requirement to >=5.0.0 (051e839)
  12. v1.13.0

    View on GitHub

    Bug Fixes

    • Reorder planets in constants (bc38445)

    Features

    • Add aspect data with type and quality metadata (50e7a3c)
    • i18n: Enable translations with explicit locale imports (b305dbd)
    • icons: Improve symbol assets size and performance (5729d16)
    • icons: Refactor symbol generation to use path data (a5a3741)

    Performance Improvements

    • Reorganize data and split bundle into chunks (f4d5198)
  13. v1.12.2

    View on GitHub

    Bug Fixes

    • Update width without affecting stroke-width (1af30f8)
  14. v1.12.1

    View on GitHub

    Bug Fixes

    • Update type definitions and exports for symbol options (5c0164d)
  15. v1.12.0

    View on GitHub

    Features

    • Add width and height options to symbol creation (8196a1c)
  16. v1.11.1

    View on GitHub

    Bug Fixes

    • Add missing ascendant entry to dictionaries (094cf73)
  17. v1.11.0

    View on GitHub

    Bug Fixes

    • Refactor houseKeywords to individual strings by key (4b9ce5c)
    • Update translations to use keyed titles (09b97ea)

    Features

    • Add ascendant symbol and update types and tests (56d97c5)
    • Add house names into house data and dictionaries (3da349c)
  18. v1.10.1

    View on GitHub

    Bug Fixes

    • Use atob to decode base64 SVG strings (3407f96)
  19. v1.10.0

    View on GitHub

    Bug Fixes

    • Move __dirname inside getSymbol (4082ad6)
    • Set stroke-linejoin to miter in all SVG assets (85a540b)
    • Simplify gemini.svg path elements (452f802)

    Features

    • Add build script to embed SVG symbols (6c46da4)
    • Refactor getSymbol to support method chaining (a5083f0)
  20. v1.9.0

    View on GitHub

    Bug Fixes

    • Set default language to English in i18n module (2c1ae72)

    Features

    • Add basic i18n support with language switching and tests (0d6ac53)
    • Refactor ASPECTS to use named keys and add translations (828bdb1)
  21. v1.8.1

    View on GitHub

    Bug Fixes

    • Adjust sun SVG path formatting (71f9898)
  22. v1.8.0

    View on GitHub

    Bug Fixes

    • Allow numeric strokeWidth in SymbolOptions (069e980)
    • Handle non-browser environments in getSymbol (670cb0c)
    • Handle unknown planets gracefully in getPlanet (a3840bd)
    • Update glyph symbols in zodiac signs (c6220f9)
    • Update SVG stroke color to use currentColor (20cccbe)

    Features

    • Add getPlanet function with translation support (56e8d4d)
    • Add planets SVGs and update symbol tests (67bc91a)
    • Add SVG assets for various aspects (9c456a9)
  23. v1.7.0

    View on GitHub

    Features

    • Add planet details and translations (5fd6f92)
    • Add zodiac SVG assets and getSymbol utility (04da156)
  24. v1.6.0

    View on GitHub

    Features

    • Add house details and translations (80ad3ab)
  25. v1.5.0

    View on GitHub

    Features

    • Add translations in Catalan (7e7e06d)
    • Add TypeScript declaration generation with plugin (831188c)
  26. v1.4.1

    View on GitHub

    Bug Fixes

    • docs: Add collapsible WordArt section (dce3aee)
  27. v1.4.0

    View on GitHub

    Features

    • Introduce astrological houses (0894e74)
  28. v1.3.0

    View on GitHub

    Bug Fixes

    • data: Correct date ranges for signs (82bb180)

    Features

    • methods: Add getSignByDate method with tests (7dfb74e)
  29. v1.2.0

    View on GitHub

    Bug Fixes

    • constants: Correct THROAT constant name (9e27833)

    Features

    • data: Add startDate and endDate for signs (c352ea5)
  30. v1.1.1

    View on GitHub

    Bug Fixes

    • methods: Rename getAllSigns to getSigns (09fbb93)
All releases on GitHub
Under construction