Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(main): release json-viewer 3.0.0 #407

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Oct 9, 2023

🤖 I have created a release beep boop

3.0.0 (2023-10-09)

⚠ BREAKING CHANGES

  • dropping createDataType and change the signature of EditorComponent to only accept string
  • remove react-lifecycles-compat
  • component ObjectKeyModal (#6)

Features

  • add example for valueTypes (9daf70c)
  • add helper function createDataType (#60) (26b7a76)
  • add hover effect (#77) (c2a9dda)
  • backport support for props.displayDataTypes (#63) (7ff2d4d)
  • backport support for props.quotesOnKeys and props.sortKeys (#48) (2cff791)
  • backport support for v1 (ff729a6)
  • check cycle reference (#22) (b55a08b), closes #20
  • collapse all empty iterables and disable expanding them (#123) (5af0122)
  • enhance function dataType (#81) (4cb6930)
  • expose defineEasyType for easier customization (d727adb)
  • expose built-in type (ed64769)
  • expose class json-viewer-theme-* for style customization (3ea2805)
  • expose copy function to onCopy callback (5e4c7f3)
  • finish basic view of next component (c9f6d32)
  • highlight changed (b9490fe)
  • improve built-in editor with autoFocus and better keyboard control (1a757e8)
  • init JsonViewerStore (2673a2d)
  • init next JsonViewer component (cdb20f2)
  • invert logic for showing dots (#122) (a2f2145)
  • next component (#18) (d354967)
  • next: implement basic indent and json parse (6335512)
  • next: use TreeView (b9fd642)
  • object expand by click on dots (#76) (ad1c4ba)
  • rename displayObjectSize to displaySize (2e5739c)
  • show copy success (#26) (a7d513a)
  • support bigint type (#35) (71933e2)
  • support displayObjectSize (#102) (98181bb), closes #101
  • support groupArraysAfterLength (#21) (6568d91)
  • support onSelect callback (#238) (e89a380)
  • support props.collapseStringsAfterLength with false (#97) (1886a7a)
  • support props.editable (d3fb54e)
  • support props.enableClipboard (e41102c)
  • support props.maxDisplayLength (#30) (498efe2)
  • support props.onCopy (#113) (da757e1)
  • support base16 on props.theme (1c7e127)
  • support browser (#53) (57a72ab)
  • support dark and light theme (5fb3139)
  • support default inspect state with defaultInspectControl (7982300)
  • support inspect Map and Set (#31) (06c886c)
  • support inspect cache (95f80c7)
  • support passing sx props to customize the style (e10fe1d)
  • support path in dataType (#107) (dad14b9)
  • support plugin system (fdf9962)
  • ui: replace triple dots (...) with ellipsis (…) (#165) (bbb0dbd)
  • update example for onEdit (0dd8a93)
  • update example for stackblitz (688a934)
  • use copy-to-clipboard (61cf64e)

Bug Fixes

  • applyValue should shallow copy the input (5c632a4)
  • NaN should not trigger highlightUpdates (f09b769)
  • add compare function in baseCellType Editor (4dd5bda)
  • add license in package.json (930f128)
  • add vite as dev dependency (#148) (e34c35e)
  • basic example (151282e)
  • border color and expand icon (d11316a)
  • browser field cause vite build fail (#85) (2356ce4)
  • bugs (c966281)
  • build issues (95b1ba8)
  • cannot resolve @textea/dev-kit/utils (#134) (f9560c3)
  • copying on circular JSON/Array throws error (edfe2f3)
  • correct types reference (#219) (db23186)
  • disable externalHelpers (aaa31a5)
  • disable ObjectKeyModal when inactive (45b7132)
  • disable ssr in function inspect (8eefe57)
  • editable for basic value (#95) (7d0e771)
  • editing value not correct (8a8d1cb)
  • eliminate eslint warning (e598660)
  • example (117a166)
  • example: add netlify badge (c1f6ac9)
  • example: image url match (500f308)
  • exports default (9a96901)
  • fix editing on any datatype (69a359f)
  • fix publishing script and add provenance statements (f644caf)
  • hucky hooks are not executable at unix (1e5169a)
  • ignore circular dependency (bd275f5)
  • ignore error when key of Map is an object (da2053e)
  • ignore rootName when its false (#57) (58121f9)
  • improve copy on BigInt / Map / Set (7c46e07)
  • improve deprecation message (5e73886)
  • inline icons from @mui/icons-material (#147) (4fd6f11)
  • key and value text should be selectable (#217) (f7576ea)
  • migrate zustand away from `zustand/context' (ccf07fa)
  • migrate zustand to v4 (bdb0eab)
  • missing props.defaultInspectDepth (#40) (b1c2948)
  • move emotion to peer dependency (5616257)
  • move eslint related deps to devDependencies (#142) (e2a5f2f)
  • move mui to peerDependencies (9c45b90)
  • move type registry into component state (#64) (b70e628)
  • next: indent width (dfafd4b)
  • reduce MUI size by using @swc/plugin-transform-imports (#169) (8cf9039)
  • remove @emotion/* from jsx importSource (658fddb)
  • remove ``.stackblitzrc` (d208e71)
  • remove workspaces in package.json before release (#143) (2b843f9)
  • remove export default (2da4983)
  • remove export default (339640b)
  • remove scripts when publishing (b3497b1)
  • replace Object.hasOwn (7cdc134)
  • set overflowWrap to anywhere (#99) (7d98cf6)
  • set editable to false by default (#69) (02f6790)
  • set target as ES5 (598d229)
  • show three dots only on collapsed strings (#118) (992c9f1)
  • simplify if conditions (#70) (248990c)
  • some enhancements (#78) (25b23eb)
  • ssr on date value (15037d1)
  • state on nested array (#28) (661151a)
  • string on parseInput (f9da340)
  • style add padding to null and undefined (#50) (1c724d6)
  • super long string can be partially selected without collapsing (c2282dd)
  • support indent width (#32) (4f8b32f)
  • throw error if change 'proto' (790d99d)
  • trigger release (35760ac)
  • type (2c85ef3)
  • type matching should not early return when value is object (0c9ef70)
  • type registry runs multiple times (#67) (c3daa8e)
  • type requirement in example (9e34a81)
  • ui: remove left margin in key-value separator (#153) (16e0903)
  • use base0A for highlight color (4483e51)
  • use ES2018 as target (1d06313)
  • use swc in the right way (4b437fb)

Documentation

Miscellaneous Chores

Code Refactoring

  • component ObjectKeyModal (#6) (5c572d9)
  • remove react-lifecycles-compat (9ad888e)

Build System


This PR was generated with Release Please. See documentation.

@netlify
Copy link

netlify bot commented Oct 9, 2023

Deploy Preview for any-viewer ready!

Name Link
🔨 Latest commit ebdde52
🔍 Latest deploy log https://app.netlify.com/sites/any-viewer/deploys/6524277a0165ac00085ba017
😎 Deploy Preview https://deploy-preview-407--any-viewer.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@socket-security
Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
@textea/json-viewer 3.0.0 None +0 1.09 MB himself_65

🚮 Removed packages: @textea/[email protected], @vitest/[email protected]

@pionxzh
Copy link
Collaborator

pionxzh commented Oct 9, 2023

oh no, release please is broken. 😭

@pionxzh pionxzh closed this Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for displayObjectSize v2 support cycle reference mark
1 participant