Skip to content

Releases: betagouv/figpot

v1.2.0

06 Aug 14:27
Compare
Choose a tag to compare

1.2.0 (2024-08-06)

Features

  • change the naming of the package since the ownership has been transferred (ef25278)

v1.1.2

05 Aug 17:54
Compare
Choose a tag to compare

1.1.2 (2024-08-05)

Bug Fixes

  • a test condition has been pushed by mistake breaking chunking updates (4ce7a66)
  • hydratation was not performed on pages that have just been created (ab95687)

v1.1.1

05 Aug 13:04
Compare
Choose a tag to compare

1.1.1 (2024-08-05)

Bug Fixes

  • default parameter value was missing (8419e95)

v1.1.0

05 Aug 12:31
Compare
Choose a tag to compare

1.1.0 (2024-08-05)

Bug Fixes

  • log counter was wrongly incremented (e8edc60)
  • read file was wrong when no prompting (63b196b)
  • the stream of writing big json file was not correctly awaited (616cfb7)
  • typo (2f5b410)

Features

  • add a helper to synchronize the mapping file with a Git repository (f782cfb)

v1.0.0

30 Jul 14:02
Compare
Choose a tag to compare

1.0.0 (2024-07-30)

Bug Fixes

  • "close-path" must specify null params to be aligned with the backend (9343c8e)
  • "synchronize" command must have penpot credentials (6dd953d)
  • a paragraph can have no item, defaulting to the node style (154abf2)
  • casing issue triggering each time an update for layout sizing (d3b73ea)
  • chunk operations to push to Penpot (1dd0795)
  • chunk requests if too many styles to retrieve (1c8f5da)
  • cumulative transform function was wrong to handle nested levels for path commands (we could set it back for normal nodes too) (d68ad5c)
  • do not list remote components into the documents (use a void link for now) (f1b209e)
  • do not reset value if it was an array item removal (6262389)
  • do not use the spread operator when the array is too big (9476bb0)
  • figma may return a bool operation without any geometry to process (fac8010)
  • figma sometimes returns null size values whereas it should not (a3c5ed1)
  • figma sometimes sets the relative transform values to null whereas it should not (97ae3c9)
  • format: ignore google fonts list (a146971)
  • format: missed an IDE restart to enable it (c3596ac)
  • getting penpot document must use the stream json parser (de85f34)
  • handle absoluteBoundingBox being null (000859f)
  • handle figma local components defects (40804db)
  • jest: cannot use named import so deconstructing the import (49f8482)
  • linter (d88dc1a)
  • linter (7d8d1ef)
  • lint: eslint file was missing (e136917)
  • log (7ba7ff6)
  • missing right to release package (d056f33)
  • moving objects was blocking in a few specific cases (1ad474b)
  • new pages with options property were not created (b6bfccf)
  • node instances were losing overrides once the frontend had loaded the tree (9834c12)
  • penpot api sometimes expect targeted shapeRef nodes to already exist, so patching component properties only after the rest (8f3bc2e)
  • prevent "touched" array to trigger an update (7e54697)
  • prevent failing figma request if no style to retrieve (f367be2)
  • prevent paragraph from having no child (e2ef76b)
  • prevent patching a response body in case of error (e1a11d0)
  • remove page option was formatted incorrectly (d0b91a8)
  • remove undefined properties for comparaisons to work in the workflow but also in tests (d77b0f2)
  • replace big json file streamer since "stream-json" is facing technical limitations with very deep objects (5e098a9)
  • test snapshots were no longer valid (8b966c7)
  • test: do not rely on the jest comparaison due to it not having float tolerance (df402be)
  • test: make sure each test has its own penpot tree copy (783ddd0)
  • test: some issues but not all because we need to implement other mappers (9c44b61)
  • the fixed revision to pass to the API must be 0 instead of 1 in case of new document (otherwise it's greater than the current allowed...) (d0b82a7)
  • the release package was wrongly run (7dd5d1b)
  • the shapeRef during creation was not set for non-components nodes (4aef830)
  • touched property update should use a specific operation (7233018)
  • when not using the request stream it must be cancelled for the program to exit normally without being stuck (ca88d7a)

Features

  • allow excluding elements from figma (4032546)
  • allow hydrating the document by triggering the frontend logic (31fad63)
  • allow replacing fonts (ee29731)
  • synchronize root frame + rectangle (dimensions, rotation, colors) (d162d77)