Skip to content

Releases: pardnchiu/NanoJSON

v1.1.7

01 Jan 07:37

Choose a tag to compare

FIX

  • [valueInput.js]: Fix number input validation to allow leading minus and decimal point (- and .)

STYLE

  • [src/sass/NanoJSON.scss]: Add width: 100% to pre element, add text-align: left to textarea

DOC

  • [README.md]: Add ChatGPT translation note, reorganize table of contents, adjust section titles and descriptions, remove Author badge, move license description to separate section
  • [README.zh.md]: Adjust table of contents structure, change heading to "三大核心特色", remove Author badge, move license description to separate section, add supplementary section

FIX

  • [valueInput.js]: 修正數字輸入驗證邏輯,允許輸入負號與小數點前導符號(-.

STYLE

  • [src/sass/NanoJSON.scss]: pre 元素新增 width: 100%、textarea 新增 text-align: left

DOC

  • [README.md]: 新增 ChatGPT 翻譯註記、重新組織目錄結構、調整段落標題與內容描述、移除 Author badge、移動授權說明至獨立章節
  • [README.zh.md]: 調整目錄結構、標題層級改為「三大核心特色」、移除 Author badge、移動授權說明至獨立章節、新增補充章節

v1.1.6

27 Nov 11:14

Choose a tag to compare

Fix

  • Enhanced the value input validation regex to only allow valid number formats.

v1.1.4-v1.1.5

27 Nov 10:52

Choose a tag to compare

Update

  • Updated createElement function to enhance element creation and event binding.
  • Updated getJSON function to handle various data types more effectively.
  • Refactored keyInput and valueInput functions for better clarity and functionality.

v1.1.3

27 Oct 07:28

Choose a tag to compare

Features

  • Allow importing CSS via custom paths
    editor = new JSONEditor({
       ...
       css: "https://cdn.jsdelivr.net/npm/@pardnchiu/[email protected]/dist/NanoJSON.css",
       ...
    });
    

v1.1.2

02 Oct 07:40

Choose a tag to compare

Features

  • Added readonly mode support:
    • enable(): Method to enable editing mode.
    • disable(): Method to disable editing and enter readonly mode.
    • Hides action buttons and disables inputs in readonly state.

功能

  • 新增唯讀模式:
    • enable():啟用編輯模式。
    • disable():禁用編輯並進入唯讀模式。
    • 唯讀狀態下隱藏操作按鈕並禁用輸入。

v1.0.0

18 Jul 18:43

Choose a tag to compare

Clear README history and release v1.0.0


清空 README 記錄並釋出 v1.0.0

v0.4.0

07 Jul 04:23

Choose a tag to compare

v0.4.0 Pre-release
Pre-release

Refactor

  • Remove all obfuscated code
  • Change project to MIT

重構

  • 移除全部混淆代碼
  • 專案改為 MIT

v0.3.4

25 Jan 05:53

Choose a tag to compare

v0.3.4 Pre-release
Pre-release
  • Fix bugs。

  • 修正 Bugs。

v0.3.3

24 Jan 18:19

Choose a tag to compare

v0.3.3 Pre-release
Pre-release

Refactor

  • Change to child node-based block rendering approach:
    Introduce partition rendering logic based on child nodes, reducing overall DOM update frequency.
    Modifications only affect related child nodes instead of regenerating the entire UI.

重構

  • 改以子節點為區塊的渲染方式:
    引入基於子節點的分區渲染邏輯,減少了整體 DOM 更新次數。
    修改僅影響到相關的子節點,而非重新生成整體 UI。

v0.3.0

24 Jan 09:12

Choose a tag to compare

v0.3.0 Pre-release
Pre-release

Features

  • Initialization settings:
    • path: Type String, specifies the location of .json file.
    • json: Type Object, JSON content for configuration.
    • file: Type File, uploaded file.

Fix

  • Resolve the issue where Boolean checkbox disappears.

功能

  • 初始化設定:
    • path:型別 String,指定 .json 檔案的位置。
    • json:型別 Object,用於配置的 JSON 內容。
    • file:型別 File,上傳的檔案。

修復

  • 解決 Boolean 選擇框消失的問題。