Skip to content

Releases: itsbrunodev/snipnest

v2.7.0

27 Jan 18:52
Compare
Choose a tag to compare

Snippets

Other

  • Added a banner to the README.md file
  • Updated next package from 15.1.3 to 15.1.6

New Contributors

Full Changelog: 2.6.0...2.7.0

v2.6.0 - Features Section

18 Jan 19:00
Compare
Choose a tag to compare

First of all, a big thank you to everyone who has contributed to and starred the repository! 😊

Features Section

Upon visiting the landing page and scrolling down, you can now find an awesome-looking features section.

Preview of the features section

Snippets

UI

  • Added a badge to notify users about notable new features in the hero section
  • Updated the keywords section on the snippet's page to be a button to edit the snippet on github
  • Added a features section

Other

  • Removed @vercel/analytics and use umami instead
  • Updated CONTRIBUTING.md to make the guidelines clearer
  • Extensions constant is now in its own file

New Contributors

Full Changelog: 2.5.0...2.6.0

v2.5.0 - SnipNest CLI

16 Jan 17:41
Compare
Choose a tag to compare

SnipNest CLI (beta)

We've finally released the SnipNest CLI, with which you can easily submit new snippets to SnipNest.

You can see the available commands by running pnpm snipnest -h.

The documentation in the CONTRIBUTING.md file is not yet available and will be available in a later version.

Note

The CLI is still in beta and is subject to change, but you're definitely welcome to try it out and use it to submit your own snippets easily without having to manually create the files.

Snippets

Fixes

  • Handle edge cases in snippet content parsing

Other

  • Removed the requirement for minimum of 2 code blocks in a snippet

Full Changelog: 2.4.0...2.5.0

v2.4.0 - Visual Studio Code extension

13 Jan 21:05
Compare
Choose a tag to compare

Extensions

  • Released the Visual Studio Code extension, click here to get it from the marketplace

UI

  • Added slight shadows to code blocks, snippet keyword badges, snippet list i.e. the sidebar, navbar and hero code preview components
  • Breadcrumbs now use the correct component for the last element

SEO

  • Created a robots.txt file
  • Added a canonical url to the landing page's metadata
  • Added contributors as authors, canonical url and open graph type set to article for snippet page

API

  • Responses now use their proper content-type in the response header
  • Optimized API endpoints to use static rendering except search

Other

  • Snippet file names no longer include it's category name
  • Updated README.md and made it a bit prettier
  • Updated CONTRIBUTING.md and made it a bit prettier
  • Created an API error utility function
  • Created a CODE_OF_CONDUCT.md file

Full Changelog: 2.3.0...2.4.0

v2.3.0

11 Jan 21:05
Compare
Choose a tag to compare

Snippets

UI

  • Fixed an issue where the snippet page content would overflow the maximum width allowed

Other

  • Updated the minimum threshold for scores in search results to 0.5
  • Renamed constants.ts to languages.ts for clarity
  • Updated imports to point to languages.ts
  • Updated the metadata regex to support multiple types of quotation marks (" and ')
  • Updated CONTRIBUTING.md's new language section

Full Changelog: 2.2.0...2.3.0

v2.2.0

09 Jan 20:27
Compare
Choose a tag to compare

Snippets

UI

  • The snippet preview on the landing page no longer uses the typescript syntax highlighter, instead it uses the snippet's language
  • Snippets now show the full language name instead of the abbreviation (e.g. js is now javascript)
  • The scrollbar is now hidden if no content is overflowing

SEO

  • Updated the title property in the metadata

Other

  • Moved the GithubIcon and LanguageIcon component to the icons folder
  • Added the Python programming language
  • Updated CONTRIBUTING.md's code block previews to use full language names

Full Changelog: 2.1.0...2.2.0

v2.1.0

08 Jan 21:04
Compare
Choose a tag to compare

Snippets

UI

  • Fixed mobile style issues in the hero component
  • Sort language categories in alphabetical order
  • Updated the Submit a Snippet button's href in the hero component

Other

  • Added the Rust programming language
  • Added the isColored property to constants.ts for the handling of all black icons

Full Changelog: 2.0.0...2.1.0

v2.0.0

07 Jan 21:07
Compare
Choose a tag to compare

🎉 SnipNest v2.0

This release introduces one breaking change in the API, improves the UI with better code organization, style fixes and improved functionality of snippet handling.

Breaking Changes

  • The snippet API route no longer returns the content of a snippet

New Features

  • Added a new API route that returns only the content of a snippet
  • Added a new API route that returns the list of available programming languages

Enhancements

  • Added a new function to format paths
  • Snippet names under JavaScript/Array have been clarified for better understanding and organization
  • Improved the landing page, moved the large part of it to a separate Hero component for better organization
  • Fixed various styling issues

Fixes

  • Fixed a bug in the getSnippet function's regex to improve accuracy
  • Removed an unused variable from the grouped-snippets component for cleaner code

Documentation

  • Updated the API Documentation to reflect the changes in API routes

v1.1.0

07 Jan 19:03
Compare
Choose a tag to compare

UI

  • A new design for the landing page which now shows a random snippet

SEO

  • Added open graph tags to the site metadata

Other

  • Made the readme's "running locally" section clearer

Full Changelog: 1.0.1...1.1.0

v1.0.1

06 Jan 18:38
Compare
Choose a tag to compare

UI

  • Bottom drawer will now become hidden when the search button is clicked on mobile

SEO

  • Added a banner and theme color to site metadata (this is visible in embeds e.g. on Discord)

Other

  • This project is now under the MIT license

Full Changelog: 1.0.0...1.0.1