Skip to content

Latest commit

 

History

History
808 lines (428 loc) · 10.4 KB

CHANGELOG.md

File metadata and controls

808 lines (428 loc) · 10.4 KB

紫微斗数

文档地址|Docuemnt

  • ✨ 改进(enhancement)
  • 🪄 功能(feature)
  • 🛠️ 修复(fix)
  • 🧹 琐事(Chore)

v2.4.3

  • 🛠️ 修复(fix)

    🇨🇳

    • 新增运限分界点参数以满足不同需求 #190

    🇺🇸

    • Wrong results using the parameter yearDivide to 'normal'. #190

v2.4.2

  • 🛠️ 修复(fix)

    🇨🇳

    • 更新起大限的规则,使它与全局配置同步

    🇺🇸

    • upgrade decadal setup rule to make it consistent with configuration.

v2.4.1

  • ✨ 改进(enhancement)

    🇨🇳

    • 增加 withOptions 方法

    🇺🇸

    • add withOptions function

v2.4.0

  • ✨ 改进(enhancement)

    🇨🇳

    • 增加年分界点全局配置 #182

    🇺🇸

    • add yearly divider configuration #182

v2.3.2

  • ✨ 改进(enhancement)

    🇨🇳

    • 改进部分英文翻译

    🇺🇸

    • fix some English translations

v2.3.1

  • 🛠️ 修复(fix)

    🇨🇳

    • 修复小限年龄判断条件错误

    🇺🇸

    • fix age error

v2.3.0

  • 🪄 功能(feature)

    🇨🇳

    • 支持全局插件 #165
    • 支持全局配置 #165

    🇺🇸

    • support global plugin #165
    • support global configuration #165

v2.2.3

  • 🛠️ 修复(fix)

    🇨🇳

    • 修复星耀亮度错误 #166

    🇺🇸

    • fix incorrect brightness #166

v2.2.2

  • 🛠️ 修复(fix)

    🇨🇳

    • 来因宫错误 #161

    🇺🇸

    • fix incorrect original palace data #161
  • ✨ 改进(enhancement)

    🇨🇳

    • 更新lunar-lite依赖,以支持更宽的日期参数

    🇺🇸

    • upgrade lunar-lite dependency in order to support wilder date parameter

v2.2.1

  • 🛠️ 修复(fix)

    🇨🇳

    • 小限数据错误 #160

    🇺🇸

    • fix incorrect age scope data #160

v2.2.0

  • 🪄 功能(feature)

🇨🇳

  • 新增童限指示 #154
  • 新增小限12宫 #157

🇺🇸

  • add childhood scope indicator #154
  • add 12 palaces for age #157

v2.1.0

  • 🪄 功能(feature)

🇨🇳

  • 宫位飞星判断 #143

🇺🇸

  • flyinstar judgement feature #143

v2.0.8

  • 🛠️ 修复(fix)

    🇨🇳

    • 地支繁体错误

    🇺🇸

    • fix typo of Earthly Branch of Chou

v2.0.7

  • 🛠️ 修复(fix)

    🇨🇳

    • 小限顺序错误 #95

    🇺🇸

    • fix incorrect ages #95

v2.0.6

  • 🪄 功能(feature)

    🇨🇳

    • 新增空宫判断 #92

    🇺🇸

    • add empty palace verification #92

v2.0.5

  • ✨ 改进(enhancement)

    🇨🇳

    • 废弃 astrolabeByLunarDateastrolabeBySolarDate 方法
    • 增加umd编译以便支持纯js库CDN调用 #87

    🇺🇸

    • deprecate astrolabeByLunarDate and astrolabeBySolarDate function
    • add UMD lib to support pure js invoking #87

v2.0.4

  • 🛠️ 修复(fix)

    🇨🇳

    • 修复虚岁为0的问题

    🇺🇸

    • fix zero nominal age issue
  • 🪄 功能(feature)

    🇨🇳

    • 增加独立的js库 #84

    🇺🇸

    • add independency js lib #84

v2.0.3

  • ✨ 改进(enhancement)

    🇨🇳

    • 星盘数据中加入性别

    🇺🇸

    • add gender to the astrolabe property

v2.0.2

  • 🛠️ 修复(fix)

    🇨🇳

    • 农历月底晚子时不对 #82

    🇺🇸

    • fix late rat hour issue #82

v2.0.0

  • 🪄 功能(feature)

    🇨🇳

    • 分离日期转换组件 #80

    🇺🇸

    • split calendar component #80

v1.3.5

  • 🛠️ 修复(fix)

    🇨🇳

    • 农历阳历转化错误 #76

    🇺🇸

    • lunar calendar conversion error #76

v1.3.4

  • 🪄 功能(feature)

    🇨🇳

    • 判断运限四化 #74

    🇺🇸

    • check horoscope mutagen state #74
  • ✨ 改进(enhancement)

    🇨🇳

    • 重构代码 #72

    🇺🇸

    • refactor code #72
  • 🛠️ 修复(fix)

    🇨🇳

    • 文曲星亮度丢失

    🇺🇸

    • fix brightness missed issue

v1.3.3

  • 🪄 功能(feature)

    🇨🇳

    • 判断指定运限宫位内是否包含指定流耀中其中一个 #70

    🇺🇸

    • check if one of horoscope stars are in specific palace #70

v1.3.2

  • 🪄 功能(feature)

    🇨🇳

    • 判断指定运限宫位内是否不包含指定流耀 #67

    🇺🇸

    • check if horoscope stars are not in specific palace #67

v1.3.1

  • 🛠️ 修复(fix)

    🇨🇳

    • 天干地支在翻译时会出现译文一样而导致结果错误 #64

    🇺🇸

    • heavenly stem and earthly branch translation issue #64

v1.3.0

  • 🪄 功能(feature)

    🇨🇳

    • 创建FunctionalHoroscope类 #31

    🇺🇸

    • create FunctionalHoroscope class #31

v1.2.7-alpha

  • ✨ 改进(enhancement)

    🇨🇳

    • 使用dayjs提高产品兼容性 #59

    🇺🇸

    • use dayjs to improve compatibility #56

v1.2.6

  • 🪄 功能(features)

    🇨🇳

    • 在流年运限里返回流年神煞 #56

    🇺🇸

    • return yearly decorative stars #56
  • 🛠️ 修复(fix)

    🇨🇳

    • 流月索引错误 #54

    🇺🇸

    • monthly index is incorrect #54

v1.2.5

  • 🛠️ 修复(fix)

    🇨🇳

    • 修复丢失的星耀翻译(ja_JP -> 月德)

    🇺🇸

    • fix missed star translation for (ja_JP -> 月德)

v1.2.4

  • 🪄 功能(feature)

    🇨🇳

    • 新增越南语支持

    🇺🇸

    • support Vietnamese
  • 🛠️ 修复(fix)

    🇨🇳

    • 修复代码风格检查发现的额问题 #42 #43

    🇺🇸

    • fix codestyle issues #42 #43

v1.2.3

  • 🛠️ 修复(fix)

    🇨🇳

    • 修复运限索引计算错误 #36

    🇺🇸

    • fix wrong horoscope indexes #36

v1.2.2

  • ✨ 改进(enhancement)

    🇨🇳

    • 给 Horoscope 添加 name 字段
    • 给 name 字段添加国际化翻译

    🇺🇸

    • add name field to Horoscope
    • add translation for name

v1.2.1

  • 🪄 功能(feature)

    🇨🇳

    • 新增静态方法 #28

      • 通过阳历获取生肖
      • 通过农历获取生肖
      • 通过阳历获取星座
      • 通过农历获取星座
      • 通过阳历获取主星
      • 通过农历获取主星

    🇺🇸

    • add some static methods #28

      • get zodiac by solar date
      • get zodiac by lunar date
      • get sign by solar date
      • get sign by lunar date
      • get major stars by solar date
      • get major stars by lunar date
  • 🛠️ 修复(fix)

    🇨🇳

    • 在特定情况下语言无法设置成功的问题

    🇺🇸

    • failed to set language in some scenarios

v1.2.0

  • ✨ 改进(enhancement)

    🇨🇳

    • 新增 FunctionalSurpalaces

    • 新增 FunctionalStar

    • 废弃 FunctionalAstrolabe 类的下列方法

      • isSurrounded()
      • isSurroundedOneOf()
      • notSurrounded()

    🇺🇸

    • add new class FunctionalSurpalaces

    • add new class FunctionalStar

    • deprecate those functions to FunctionalAstrolabe class

      • isSurrounded()
      • isSurroundedOneOf()
      • notSurrounded()
  • 🪄 功能(feature)

    🇨🇳

    • 实现 #24

    🇺🇸

    • implement #24

v1.1.1

  • 🛠️ 修复(fix)

    🇨🇳

    • 更改错别字

    🇺🇸

    • fix typo

v1.1.0

  • 🪄 功能(feature)

    🇨🇳

    • 实现三方四正宫位功能 #21

    🇺🇸

    • implement surrounded palaces feature #21
  • ✨ 改进(enhancement)

    🇨🇳

    • 支持性别国际化
    • timely修改为hourly
    • 优化types结构,将types.ts拆分进types文件夹内,方便维护

    🇺🇸

    • localization for gender
    • rename timely to hourly
    • optimize the structure of types: split types.ts into several parts and store them into types directory.

v1.0.0

  • 🪄 功能(feature)

    🇨🇳

    • 新增宫位以及星耀分析方法

    🇺🇸

    • add palace and star analyzation function
  • 🛠️ 修复(fix)

    🇨🇳

    • 已知Bug

    🇺🇸

    • fix known bugs

v0.3.2

  • ✨ 改进(enhancement)

    🇨🇳

    • 优化代码,将变量名改为英文,提高兼容性

    🇺🇸

    • code optimization. change the variable names from Chinese to english in order to avoid compatibility issues
  • 🛠️ 修复(fix)

    🇨🇳

    • 翻译错误

    🇺🇸

    • translation error

v0.3.1

  • ✨ 改进(enhancement)

    🇨🇳

    • 完善流耀的翻译

    🇺🇸

    • enhance the translations of horoscope stars
  • 🧹 琐事(Chore)

    🇨🇳

    • 使用eslint替换tslint

    🇺🇸

    • replace tslint to eslint

v0.3.0

  • 🪄 功能(feature)

    🇨🇳

    • 集成i18n,支持国际化 #2

    🇺🇸

    • i18n integration #2

v0.2.1

  • 🪄 功能(feature)

    🇨🇳

    • 实现流时 #3

    🇺🇸

    • implement hourly horoscope #3
  • ✨ 改进(enhancement)

    🇨🇳

    • 优化代码结构
    • 完善注释
    • 增加Release后自动发布到npm的工作流

    🇺🇸

    • code structure optimization
    • comments improvement
    • add a workflow to publish to npm after released

v0.2.0

  • 🛠️ 修复(fix)

    🇨🇳

    • 修复错别字:astrolable --> astrolabe

    🇺🇸

    • fix typo: astrolable --> astrolabe
  • 🪄 功能(feature)

    🇨🇳

    • 实现 #1

    🇺🇸

    • implement #1

v0.1.4

  • 🧹 琐事(Chore)

    🇨🇳

    • 调整package.json里的关键词
    • 修改大限变量名

    🇺🇸

    • modify keywords in package.json
    • change stage to decadal

v0.1.3

  • 🛠️ 修复(fix)

    🇨🇳

    • 年解星放置到流耀里面去
    • 修复错误拼写

    🇺🇸

    • move 年解 to the horoscope star list
    • fix typo
  • ✨ 改进(enhancement)

    🇨🇳

    • 完善ReadMe

    🇺🇸

    • imporove README

v0.1.2

  • ✨ 改进(enhancement)

    🇨🇳

    • 优化注释
    • 优化“性别”类型

    🇺🇸

    • optimize comments
    • optimize Gender type

v0.1.1

  • ✨ 改进(enhancement)

    🇨🇳

    • 增加CHANGELOG

    🇺🇸

    • add CHANGELOG

v0.1.0

  • 🪄 功能(feature)

    🇨🇳

    • 核心功能的实现

    🇺🇸

    • core functions implementation

v0.0.2

  • 🪄 功能(feature)

    🇨🇳

    • 实现工具方法

    🇺🇸

    • util functions implementation
  • ✨ 改进(enhancement)

    🇨🇳

    • 优化代码结构
    • 完善注释

    🇺🇸

    • code structure optimization
    • comments improvement

v0.0.1

  • 🪄 功能(feature)

    🇨🇳

    • 项目初始化
    • 准备依赖数据

    🇺🇸

    • project initialization
    • dependencies preparation