@dinamomx/nuxtent
Version:
Seamlessly use content files in your Nuxt.js sites.
120 lines (75 loc) • 5.24 kB
Markdown
# Change Log
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## 3.2.0 **BREAKING RELEASE**
<a name="3.2.0"></a>
Working on Nuxt 2.10.1
- The `nuxtent-body` component now is a functional component
- The loader no longer tries to guess what components are you using so you must import them mannualy (see below) or use global components
- The `@[component]` syntax has been removed.
- Removed the accidental "feature" to omit the body on the query
<a name="3.1.0"></a>
## 3.1.0
Beta release, this was a refactor in typescript and enshures compatibility with
the latest nuxt at the moment (2.6.3). Testing is needed
### Features
* It tries to catch user config errors and be clear about them
* The "async components" feature now uses async components
* All the features from [nuxtdown](https://github.com/joostdecock/nuxtdown-module) are implemented
* Excerpts
* Markdown now has a per content-group and general configuration
* Greatly reduces the memory requirements for large proyects
* Minimal transpiling from ts to es6
* Uses fetch instead of axios reducing bundle size
* Improved responses from the api
* Added support for JSON and HTML files
* Added excerpt support, disabled by default
* Added support for vue component syntax inside markdown `<v-component />`
* Now excludes non supported files preventing strange errors when you put some random file in the content dir
### Known bugs
* None so far...
<a name="1.1.0"></a>
## [1.1.0](https://github.com/nuxt-community/nuxtent-module/compare/v1.0.2...v1.1.0) (2017-10-22)
### Features
* **config** add possibility to declare nuxtent options `api` key as a function
given the `isStatic` parameter to adjust Axios options when using `nuxt generate`, fixes [#92](https://github.com/nuxt-community/nuxtent-module/issues/92)
```
{
content: {
page: '/_slug',
permalink: '/:year/:slug',
generate: ['get', 'getAll']
},
api: function(isStatic) {
return {
browserBaseURL: isStatic ? 'http://production-url.com' : ''
}
}
}
```
* **config** all nuxtent options present in `api` key are now forwarded to `axios`
* **module** allow `.yml` file extension for content files ([a6b240a](https://github.com/nuxt-community/nuxtent-module/commit/a6b240a1500a8861ee8cbfdae0f3cb2b34f235c0)), closes [#69](https://github.com/nuxt-community/nuxtent-module/issues/69)
### Bug Fixes
* **prism** change Prism implementation to include classes ([4dad625](https://github.com/nuxt-community/nuxtent-module/commit/4dad625ba6ec329cd327134cca3757d6abcd0f19))
* **module** harmonize date format of posts and pages ([2154c45](https://github.com/nuxt-community/nuxtent-module/commit/2154c4535fdcf0de268385c09aae64977b065ebb)), fixes [#98](https://github.com/nuxt-community/nuxtent-module/issues/98)
* **module** do not expose `filePath` to the browser ([7311294](https://github.com/nuxt-community/nuxtent-module/commit/7311294734270c093bf9c7379be043bba351504d)), fixes [#96](https://github.com/nuxt-community/nuxtent-module/issues/96)
* **module:** fix `generate` router permalink concatenation ([f553cda](https://github.com/nuxt-community/nuxtent-module/commit/f553cda)), closes [#103](https://github.com/nuxt-community/nuxtent-module/issues/103)
<a name="1.0.2"></a>
## [1.0.2](https://github.com/nuxt-community/nuxtent-module/compare/v1.0.1...v1.0.2) (2017-09-29)
### Bug Fixes
* **module:** replace wrong `rootDir` path by `srcDir` when looking for components ([89a9081](https://github.com/nuxt-community/nuxtent-module/commit/89a9081))
<a name="1.0.1"></a>
## [1.0.1](https://github.com/nuxt-community/nuxtent-module/compare/v1.0.0...v1.0.1) (2017-09-29)
### Bug Fixes
* **example:** fix `multiple-content-types` example config and pages ([061bf2a](https://github.com/nuxt-community/nuxtent-module/commit/061bf2a))
* **examples:** replace `nuxtent generate` by `nuxt generate` command ([e91676a](https://github.com/nuxt-community/nuxtent-module/commit/e91676a))
* **module:** properly detect static mode (`nuxt generate`) ([cd148a2](https://github.com/nuxt-community/nuxtent-module/commit/cd148a2)), closes [#83](https://github.com/nuxt-community/nuxtent-module/issues/83) [#88](https://github.com/nuxt-community/nuxtent-module/issues/88) [#89](https://github.com/nuxt-community/nuxtent-module/issues/89)
<a name="1.0.0"></a>
# [1.0.0](https://github.com/nuxt-community/nuxtent-module/compare/0.2.80...1.0.0) (2017-09-25)
### Bug Fixes
* **module:** fix "dependency not found ~\content" ([#78](https://github.com/nuxt-community/nuxtent-module/issues/78)) ([9866b7d](https://github.com/nuxt-community/nuxtent-module/commit/9866b7d))
* **module:** remove automatic content permalink prefixing ([8ff853d](https://github.com/nuxt-community/nuxtent-module/commit/8ff853d))
### Chores
* **package:** remove `nuxtent` binary ([845aa8d](https://github.com/nuxt-community/nuxtent-module/commit/845aa8d))
### BREAKING CHANGES
* **module:** verify your content permalinks, possibly add the missing content type prefix
* **package:** replace `nuxtent generate` by `nuxt generate` in your project's package.json scripts