All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
7.4.0 (2024-08-15)
7.3.0 (2024-06-28)
- updates deps (df4413c)
7.2.0 (2024-06-18)
7.1.0 (2024-04-29)
- updates deps (f178319)
- replaces all apostrophes in name values (636d772)
7.0.3 (2024-04-15)
- Adds missing declaration files (26e61ab)
7.0.2 (2024-04-13)
- Fixes runtime by avoiding direct package.json imports, instead use version script with metadata file (f212f71)
7.0.1 (2024-04-13)
- Fixes export / types path (558fec7)
7.0.0 (2024-04-13)
- Removes CommonJs export in favor of ES2022. Also reworks scripts / package.json and tsconfig
- Handle errors in file formatting with prettier, display better info message and store unformatted file (c2e1265)
- Removes CommonJs export in favor of ES2022. Also reworks scripts / package.json and tsconfig (29dfa39)
- Removes unsupported characters in object names (e606f39)
6.5.1 (2024-02-27)
6.5.0 (2023-09-12)
6.4.0 (2023-08-14)
- Adds ability to skip environment info generation (fixes #43) (d89badd)
- Adds strongly typed workflow steps to project export (1cdeb93)
- updates deps (7895e32)
6.3.1 (2023-08-04)
6.3.0 (2023-08-02)
- adds option to disable sorting on taxonomy terms (6707d4b)
6.2.0 (2023-07-31)
- updates deps, improves test generator script, migrates to eslint, refactors file creation (internal) (fe15ddc)
6.1.0 (2023-06-26)
- generates strongly typed multiple choice options, convert object names to safe variants in comments, updates dependencies, updates default code formatting (7119a94)
6.0.0 (2023-05-31)
- Uses 'environment' naming as used with latest version of SDKs, updates all dependencies
- Uses 'environment' naming as used with latest version of SDKs, updates all dependencies (131b798)
5.10.0 (2023-02-20)
- improves error logging for failed content types & snippets (786e076)
- updates dependencies (3926a5b)
- updates deps (da5d171)
- escapes asset folder name value (2b0708e)
5.9.0 (2022-12-20)
- removes 'last modified' info from generated models (fixes #35 (comment)) (05c9ee9), closes /github.com/kontent-ai/model-generator-js/issues/35#issuecomment-1359017033
- updates dependencies (6a3768d)
5.8.0 (2022-10-07)
- Adds 'type' keyword to type imports (TS Import Elision) (f2d3afc)
- Adds const assertion to project generated files (fixes #31) (823628c)
- Adds new config option 'outputDir' for specifying target directory where files will be created (fixes #26) (dff641e)
- sorts various objects alphabetically (a080f36)
- updates dependencies (4526cf4)
5.7.0 (2022-09-15)
- adds support for generating content type snippet project model (generates contentTypeSnippets.ts) (259d969)
5.6.0 (2022-09-13)
5.5.1 (2022-09-02)
- Fixes import path from content type snippet to content type model (4707a05)
5.5.0 (2022-09-01)
- updates deps (67d8f81)
5.4.1 (2022-08-02)
5.4.0 (2022-08-01)
5.3.0 (2022-07-28)
- Splits Content type snippets from the types they are used in favor of using intersection (fixes #25) (6ea944a)
- updates dependencies (e4b3b90)
- Adds default import to barrel files in case there are no files to import (2020022)
5.2.0 (2022-07-26)
- Adds new 'isEnterpriseSubscription' option which disables endpoint that required Enterprise subscription plans (76e9784)
5.1.1 (2022-07-21)
- Adds missing 'taxonomy' element to project's content type structure (8a165a3)
- fixes missing usage of 'addExtension' (b99dcd7)
5.1.0 (2022-07-21)
- updates dependencies & readme, makes 'exportProjectSettings' property optional and exports all objects by default (e1c50fa)
5.0.0 (2022-07-14)
5.0.0-4 (2022-07-14)
5.0.0-3 (2022-05-30)
- updates deps (694d009)
5.0.0-2 (2022-05-24)
5.0.0-1 (2022-05-19)
- Refactors generator to use Management API for fetching source data. This change now requires you to use 'apiKey' option when calling the generator.
- changes the default generator file names, renames fileResolver to contentTypeFileResolver, adds support for generating taxonomy types
- Adds 'help' cli command with options list and descriptions (f67916b)
- adds 'id' to all objects within project structure (7123509)
- adds additional language properties (fallback language, default & active states) (5659c65)
- Adds comments to all generated _project items (fba932b)
- Adds comments to each element / content type / taxonomy with extra metadata information (1b6a6f1)
- Adds metadata to generated project model, logs project information including environment to console (ae9d4de)
- Adds more properties to selected project objects and adjust comments to prevent data duplication (23ffc62)
- adds name property to asset folders (c559f17)
- Adds support for asset folders in project structure (e73fd46)
- adds support for collections in project model (8404230)
- adds support for disabled export of certain project objects, updates readme and samples (b376564)
- adds support for project roles, use camelCase for language property identifier (022f7c7)
- adds support for project webhooks (4c2a99f)
- Adds support for strongly typed taxonomy elements (cab91bf)
- changes the default generator file names, renames fileResolver to contentTypeFileResolver, adds support for generating taxonomy types (011ffa8)
- Generates barrel export from all created files (915d149)
- Refactors generator to use Management API for fetching source data. This change now requires you to use 'apiKey' option when calling the generator. (47270b1)
- Refactors internal generator and adds support for content type restrictions in linked items element (d6afc18)
- Separates content type / taxonomy barrel export (d346533)
- separates project model into distinct files & properties, uses barrel export for project files (06067c0)
- updates deps (abaa4f6)
- updates deps & entry modules (a9582b8)
5.0.0-0 (2022-05-09)
- Refactors generator to use Management API for fetching source data. This change now requires you to use 'apiKey' option when calling the generator.
- changes the default generator file names, renames fileResolver to contentTypeFileResolver, adds support for generating taxonomy types
- Adds 'help' cli command with options list and descriptions (f67916b)
- adds 'id' to all objects within project structure (7123509)
- Adds comments to all generated _project items (fba932b)
- Adds comments to each element / content type / taxonomy with extra metadata information (1b6a6f1)
- Adds metadata to generated project model, logs project information including environment to console (ae9d4de)
- Adds more properties to selected project objects and adjust comments to prevent data duplication (23ffc62)
- Adds support for asset folders in project structure (e73fd46)
- adds support for collections in project model (8404230)
- adds support for disabled export of certain project objects, updates readme and samples (b376564)
- adds support for project roles, use camelCase for language property identifier (022f7c7)
- adds support for project webhooks (4c2a99f)
- Adds support for strongly typed taxonomy elements (cab91bf)
- Generates barrel export from all created files (915d149)
- changes the default generator file names, renames fileResolver to contentTypeFileResolver, adds support for generating taxonomy types (011ffa8)
- Refactors generator to use Management API for fetching source data. This change now requires you to use 'apiKey' option when calling the generator. (47270b1)
- Refactors internal generator and adds support for content type restrictions in linked items element (d6afc18)
- Separates content type / taxonomy barrel export (d346533)
- separates project model into distinct files & properties, uses barrel export for project files (06067c0)
- updates deps (abaa4f6)
- updates deps & entry modules (a9582b8)
4.1.0 (2021-11-24)
4.1.0-0 (2021-11-24)
- adds support for customizing content type names (d63e007)
- adds support for generating custom filenames (d4e638b)
- renames 'nameResolver' to 'elementResolver' and unifies it with customElementResolver option (a18fd00)
4.0.0 (2021-11-16)
4.0.0-7 (2021-11-16)
- converts language property name to alphanumeric string (68272a2)
4.0.0-6 (2021-11-16)
- use camel case codename for language property name (in case there are unsupported object property chars in codename) (fc9d8e0)
4.0.0-5 (2021-11-10)
- escapes name values (102c864)
4.0.0-4 (2021-11-10)
- move kontent-delivery dependency (9747799)
4.0.0-3 (2021-11-08)
- refactors generator code to prepare for separate delivery / management models (3127473)
4.0.0-2 (2021-11-04)
4.0.0-1 (2021-11-04)
- adds support for generating project structure for content types, languages & taxonomies (7dfdab9)
- use pascal case for type class names (322888e)
4.0.0-0 (2021-10-20)
- use peer deps for kontent delivery, updates all deps (9b02551)
3.3.0-0 (2021-10-11)
- adds support for custom name resolver, fixes script paths, exports public API (af50d20)
- adds support for specifying built-in name resolvers (22881db)
- capitalize type name in model (76106c7)
- implements timestamp disable option, adds colors for better console output, adds prettier and beautifies output with the ability to pass custom configuration (df13368)
- updates build & distribution process, updates dev deps (e6dfb8d)
- updates code generator for new version of Delivery SDK (f6aca8f)