Skip to content

Releases: riccardoperra/codeimage

v0.21.0 - Shadows

26 Jun 20:51
b84044a
Compare
Choose a tag to compare

This new version of CodeImage expands the number of the editor options and the list of available themes.
There are also some improvements to the UI core in order to integrate Motion One for animations and solid-aria for overlays, dialogs and popovers.

What's new

Shadows

Until now, CodeImage snippets have always used a default, non-editable, shadow. From today, thanks to @hackpirodev contribution #287, you will be able to choose from a predefined set of shadows.

Available shadows

Currently, the list of available shadows is that:

  • Small
  • Medium
  • Large
  • Bottom
  • 3D effect

Note Do you want to contribute and do you think we forgot to add a drop shadow, or do you want to improve an existing one? You can create an issue in order to discuss it


Github themes

Two new themes has been added into the theme switcher. Let's introduce Github Dark and Github Light!

Github Dark theme snippet Github Light theme snippet


New Locale

Spanish language has been added to CodeImage!


Other changes

There are some graphical improvements with this new version of CodeImage:


What's Changed

Full Changelog: v0.20.0...v0.21.0

v0.20.0 - Optimizations

14 Jun 22:17
8959313
Compare
Choose a tag to compare

This is the first CodeImage version which mainly focus on improving bundle size and page loading. v0.20.0 is the first step following the hackathon end that manage to fix a part of the choices that had been made during the first months of development

  • Most of the packages has been reorganized, dividing the build content into several chunks to be loaded lazily.
  • Thanks to Suspense, each portion of the page that need to be rendered in an asynchronous way, will show a custom skeleton loading fallback until it's ready for use.

Example of suspense loading

Note Enabling the cache, loading will be significantly faster and loading will be halved. Service worker is currently disabled
Screenshot used for the the gif above have been made using "Slow 3G" and disabled cache, so each assets including fonts were loaded the first time

What's Changed

Performance results

Desktop (before)

173255284-eadaa68d-b909-4956-bd6b-5f565328f9e9

Desktop (After)

173255189-ffd0e3a1-28a1-42ac-ab5e-8980b49b6105

Mobile (before)

173255275-fed417ec-e8d2-4168-8032-d6de7ad41c61

Mobile (After)

173255259-73ce3f4a-85c3-41c6-a560-73610093530e

Full Changelog: v0.19.2...v0.20.0

v0.19.2

11 Jun 13:19
Compare
Choose a tag to compare

Bug fixes

  • fix(app): fix frame resize computed size on devices with different pixelRatio by @alexandercerutti in #277

New Contributors

Full Changelog: v0.19.1...v0.19.2

v0.19.1

09 Jun 21:21
91b4086
Compare
Choose a tag to compare

What's new

Bug fixes

Full Changelog: v0.19.0...v0.19.1

v0.19.0 - Multiple tabs

06 Jun 21:35
c488522
Compare
Choose a tag to compare

Let's introduce multiple tabs support!

9f248fed-29ca-4355-81fe-b2895f24b7cb

What's new

Multiple tabs

Thanks to @micnic feedback #257, CodeImage will support multiple tabs on the code editor 😃.

Tabs allow you to more easily group your snippets, and send them together when you want to share them on social networks.

They are responsive and adapt to the space, they are available for both accent and non-accent themes, but are currently limited to a max of six.

Also, you can drag and drop your tabs through the bar so you can reorder them as you like.

Note If you have never done this, you can use the shortcut Ctrl + C and Ctrl + V to copy and paste them anywhere! Currently this feature is limited to one item at a time.


f5fbcd8f-c1c1-4c3f-867c-72121ffad3c9


d5da5045-1f8d-4f6e-9e8f-fa7509f527ce


Theme improvements

No new themes have been added, but some of them have been improved for both the highlighing and container colors, contrast accent etc.

Also, the image export now is mostly consistent between all browsers therefore some problems related to Safari have been solved.

What's changed

Bug fixes

Others

  • Update package dependencies by @riccardoperra in #256
  • Add @codeimage/dom-export (fork of html-to-image) in library packages by @riccardoperra in #270
  • Query param state have been temporarily disabled

New Contributors

Full Changelog: v0.17.2...v0.19.0

v0.18.0 - Gradients everywhere

24 May 22:38
6c5f442
Compare
Choose a tag to compare

CodeImage officially supports theme with gradients!

Example of new CodeImage snippet using gradients

What's new

With the latest release, CodeImage allows you to set gradients from a rich and accurate choice of pre-defined colors.

Most of the themes highlighting have been improved, also following the update of CodeMirror6 to ^0.20 version, to improve the quality of the generated snippets.

Color Picker

Color Picker from CodeImage

Say goodbye to the native color picker, you can now use the newest one which allows you to choose from a rich color palette between gradients and plain colors, so you can select the one you like more.

If you think there is a missing color on the palette, you can always propose a new one creating a new GitHub issue.

Alternative background

Alternative background modality

This release also enables the Background property in the frame section. You can now set an alternative background which works even better with the use of gradients!

Note Currently, this modality doesn’t support the Window with tab accent style. During the time it will be be improved and support the tab style soon

Make your code snippets unique!

What's changed

Bug fixes

Other

  • Update SolidJS to v1.4.2
  • @solid-aria is now part of CodeImage! Updates of current components will follow
  • Removed deprecated libraries and factory functions for themes which were using PrismJS highlighting-like classes

Full Changelog: v0.17.2...v0.18.0

v0.17.2

19 May 21:05
64bf8b2
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.17.1...v0.17.2

v0.17.1

18 May 22:46
28264d0
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.17.0...v0.17.1

v0.17.0

18 May 21:59
e931425
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.16.1...v0.17.0

v0.16.1

07 May 10:43
9f7c143
Compare
Choose a tag to compare

Bug fixes

Full Changelog: v0.16.0...v0.16.1