Skip to content

Commit

Permalink
chore: ready for v0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
indaco committed Sep 16, 2022
1 parent f514b24 commit eb31488
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 3 deletions.
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# CHANGELOG

## [v0.10.0](https://github.com/sveltinio/sveltin/releases/tag/v0.10.0) (2022-09-16)

[Full Changelog](https://github.com/sveltinio/sveltin/compare/v0.9.1...v0.10.0)

### Fixed Bugs

- api endpoints were still on old sveltekit routing mechanism. Updated and fixed an issue when building the project due to `prerender=true` on those files. `fallback: '200.html'` on [static adapter configuration](https://github.com/sveltejs/kit/tree/master/packages/adapter-static) made the magic.

### 🚀 New Features

- `new resource` cmd allows to specify the group layout name according to the sveltekit [Advanced layouts](https://kit.svelte.dev/docs/advanced-routing#advanced-layouts) by passing the `--group` flag

```bash
sveltin new resource testimonials --group marketing
```
- `new resource` cmd allow to specify if a different layout for the `slug` pages must be created in addition to the one for the `index` page.

```bash
sveltin new resource posts --slug
```

### 🔧 Code Refactoring

- `config.TemplateData` struct makes use of individual struct for each artifact template data
- file templates updated accordingly
- generate commands (`menu`, `rss`, `sitemap`) simplified and updated to work for grouped layout too
- `GetAllRoutes` refactored to use `afero.Walk`

### Chores

- sveltekit updated to next.483
- go deps updated
- uniform function names

### Pull Requests

- Merge pull request [#119](https://github.com/sveltinio/sveltin/issues/119) from kit-advanced-layout

## [v0.9.1](https://github.com/sveltinio/sveltin/releases/tag/v0.9.1) (2022-09-06)

[Full Changelog](https://github.com/sveltinio/sveltin/compare/v0.9.0...v0.9.1)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The Smartest Way to Create SvelteKit powered static websites.
</a>
&nbsp;
<a href="https://github.com/sveltinio/sveltin/releases" target="_blank">
<img src="https://img.shields.io/badge/version-v0.9.1-success?style=flat-square&logo=none" alt="sveltin cli version" />
<img src="https://img.shields.io/badge/version-v0.10.0-success?style=flat-square&logo=none" alt="sveltin cli version" />
</a>
&nbsp;
<a href="https://github.com/sveltinio/sveltin/actions/workflows/release.yml" target="_blank">
Expand All @@ -50,7 +50,7 @@ Sveltin is a CLI (Command Line Interface) created to boost the developers produc

## :warning: Project Status

> Sveltin is under active development and some changes are expected before we hit version 1.0. At the same time, we will do our best to follow the progress toward SvelteKit v1.0 (Latest SvelteKit tested version is **1.0.0-next-472**). If you are interesting on it please, give it a try and let it evolves, see the **Contributing** section. If you get stuck, reach out for help in the [discussions tab](https://github.com/sveltinio/sveltin/discussions) or open an [issue](https://github.com/sveltinio/sveltin/issues).
> Sveltin is under active development and some changes are expected before we hit version 1.0. At the same time, we will do our best to follow the progress toward SvelteKit v1.0 (Latest SvelteKit tested version is **1.0.0-next-483**). If you are interesting on it please, give it a try and let it evolves, see the **Contributing** section. If you get stuck, reach out for help in the [discussions tab](https://github.com/sveltinio/sveltin/discussions) or open an [issue](https://github.com/sveltinio/sveltin/issues).
## :mega: Overview

Expand Down
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

const (
// CliVersion is the current sveltin cli version number.
CliVersion string = "0.9.1"
CliVersion string = "0.10.0"
)

func init() {
Expand Down

0 comments on commit eb31488

Please sign in to comment.