Skip to content

Latest commit

 

History

History
507 lines (263 loc) · 31.4 KB

CHANGELOG.md

File metadata and controls

507 lines (263 loc) · 31.4 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.0.1 (2022-01-19)

Bug Fixes

  • Correct the generic get() HTTP method (65946d8)

2.0.0 (2022-01-13)

Features

  • Adds management client factory and updates docs to use it (14aa84e)
  • Adds support for listing project roles (1aae040)
  • Adds support for project user endpoints (abe35f9)
  • Adds support for Subscription API (subscription projects & users), updates client configuration by separating management & subscription endpoints (e43ccc3)
  • Adds support for view role (acb653c)
  • updates all dependencies to latest versions (4bc7fcd)
  • Uses list query for taxonomy list endpoint and removes temporary taxonomy response included due to a breaking change in API some time ago (827279d)

Bug Fixes

  • fixes scripts & cuts prerelease (3c25601)

2.0.0-0 (2022-01-13)

Features

  • Adds management client factory and updates docs to use it (14aa84e)
  • Adds support for listing project roles (1aae040)
  • Adds support for project user endpoints (abe35f9)
  • Adds support for Subscription API (subscription projects & users), updates client configuration by separating management & subscription endpoints (e43ccc3)
  • Adds support for view role (acb653c)
  • updates all dependencies to latest versions (4bc7fcd)
  • Uses list query for taxonomy list endpoint and removes temporary taxonomy response included due to a breaking change in API some time ago (827279d)

1.8.0 (2021-12-16)

  • Adds validation message to Text element regex property

1.7.0 (2021-11-29)

Features

  • adds guidelines to taxonomy element data model (9f436cd)
  • adds support for subpages element & uses type in favor of enum for some models (5713d8f)
  • adds validation_regex support for text element (ac81a48)
  • improves types for element builders (0c076c6)
  • removes unnecessary builder code by extending content type snippet builder (728a5e1)
  • updates dependencies (391b29b)

1.6.0 (2021-11-02)

Features

1.5.0 (2021-09-24)

Features

1.4.0 (2021-08-25)

Features

Bug Fixes

1.3.0 (2021-08-12)

Features

1.2.0 (2021-07-30)

Features

1.1.0 (2021-07-19)

Migration from 0.x.y

There are some notable changes when migrating from 0.x.y (latest release 0.4.10) version of sdk:

  • Rxjs was removed from dependencies and is no longer included with this SDK. One major benefit is reduced complexity & size of this library (about 30-40% size reduction).
  • toObservable was removed without replacement in favor of toPromise. If you need to keep using Observable, use from operator that comes with rxjs (https://www.learnrxjs.io/learn-rxjs/operators/creation/from)
  • Distributed files, formats and paths were modified. Available outputs: dist/bundles, dist/cjs, dist/es6, dist/es2020, dist/esnext
  • isDeveloper configuration option was removed without replacement
  • retryStrategy configuration was updated and simplifies. New options are listed at https://github.com/Kentico/kontent-core-js/blob/7ec7faaa779a4aa55802ade927f296cc3619a720/lib/http/http.models.ts#L16
  • Support for additional endpoints:
    • Create, update & list of collections
    • List language variants by collection
    • Create asset + binary file from external URL
  • Improved typings for content type elements
  • Other minor improvements & bug fixes

Features

  • adds mode & searchableValue to variant element model and contract (13d9b84)
  • adds support for constructing edit urls (fixes kontent-ai#10) (ba2fc2e)
  • adds support for creating & updating collections (db2a1d2)
  • adds support for listing collections (01bcc2b)
  • adds support for listing language variants by collection (f12a877)
  • adds support for taxonomy 'term_count_limit' option (fixes kontent-ai#48) (f19aae4)
  • adds support for uploading assets & binary files from url (fixes kontent-ai#18), adds automatic mime type detection support (d54a0b8)
  • adds types support for content type elements (fixes kontent-ai#46) (01f7c82)
  • removes 'isDeveloperMode' config property as its not utilized anymore (986cc40)
  • removes "_" from dist folder names (079c1f6)
  • updates deps (43e857c)
  • updates deps (6123ea0)
  • updates deps (fe0778d)
  • updates deps (fixes retry strategy) (946f864)
  • updates kontent-core dependency to v9 (dd25dd4)
  • use 'mime' npm instead of 'mime-type' due to browser compatibility support (2200b73)

Bug Fixes

  • fixes cjs folder name (d470214)
  • fixes commonjs folder output (5abf59f)
  • fixes package.json entry modules (0fa0176)

0.4.10 (2021-04-21)

Features

  • adds support for enabling / disabling webhooks (485cfe0)

0.4.9 (2021-04-21)

Features

  • adds support for codename in workflow related endpoints & queries (fixes kontent-ai#35) (98f1ddf)
  • adds url encoding tests & changes name of internal base query props (6413d3f)
  • simplifies scripts & update dependencies (b948be5)

Bug Fixes

0.4.8 (2021-01-08)

Features

0.4.7 (2020-12-15)

Features

  • adds 'cancel scheduled unpublish' endpoint support (9860c1b)

0.4.6 (2020-12-14)

Features

  • adds support for new unpublish / schedule unpublish endpoint & removes deprecated unpublish endpoint (fixes kontent-ai#28) (4da0b6b)
  • unifies publish / unpublish naming convention, removes unsused query models (cc78e90)
  • updates all dependencies (6b2e7c1)

Bug Fixes

0.4.5 (2020-11-23)

Features

  • updates all dependencies, uses axios models directly instead of proxy models (53837e1)

0.4.4 (2020-11-12)

Bug Fixes

  • uses correct query identifier for upsert content item query (6079c04)

0.4.3 (2020-10-23)

Bug Fixes

  • fixes interface typo (applied_to -> applies_to) in content type elements builder (b019338)

0.4.2 (2020-10-21)

Bug Fixes

  • encodes url by default. Fixes errors when url contained special characters (such as space in filename within uploadBinaryFile method) (7c318f5)

0.4.1 (2020-10-07)

Features

  • adds 'responseFetched' callback configuration property to IContentManagementListQueryConfig (f2371f8)

0.4.0 (2020-09-30)

⚠ BREAKING CHANGES

  • adds new rich text element properties and removes class mapping of content type element properties. Reason for this removal is that the model class was missing many of existing properties (e.g. rich text element & text element properties are very different) and there was no benefit in using this class.
  • refactors language variants query - adds builder similar to addContentType query which gives developers intellisense and better control over creating variants

Features

  • adds new rich text element properties and removes class mapping of content type element properties. Reason for this removal is that the model class was missing many of existing properties (e.g. rich text element & text element properties are very different) and there was no benefit in using this class. (fec3fc4)
  • adds support for collections (fixes kontent-ai#26) (9f653b0)
  • refactors language variants query - adds builder similar to addContentType query which gives developers intellisense and better control over creating variants (e4c003e)
  • updates deps + refactors content management error handling (9b5ca5b)

0.3.20 (2020-06-24)

Features

Bug Fixes

  • uses correct url property for add taxonomy query (7ba17dc)

0.3.19 (2020-04-08)

Features

0.3.18 (2020-02-25)

Features

  • adds 'codename' to content item upsert model & makes 'type' optional (2c2b4fa)
  • removes deprecated sitemap locations (71bda7e)

Bug Fixes

  • removes data processing in asset update request data (7898689)
  • uses proper model without additional processing for adding taxonomies (585fd4e)

0.3.17 (2020-01-23)

Features

  • adds support for content groups in content types and adds missing external id props to content type & snippet (20a71fd)

0.3.16 (2020-01-22)

Features

  • adds support for 'modifyContentTypeSnippet' endpoint (a326689)

0.3.15 (2020-01-21)

Features

  • Added is_required to ILinkedItemsInType

0.3.14 (2020-01-15)

Bug Fixes

  • assigns raw data to asset folders correctly (654ef6b)

0.3.13 (2020-01-15)

Bug Fixes

  • re-release due to leftover files in dist folder (no code changes) (eb84a96)

0.3.12 (2020-01-15)

Bug Fixes

  • fixes typo in 'ILinkedITemsInType' elements builder interface (fc36157)
  • removes obsolete update asset query in favor of upsert query which is now in sync with other endpoints and use proper input data and indentifiers (9308880)

0.3.11 (2020-01-14)

Features

  • adds '_raw' property to language variant with component (58fcb6b)

0.3.10 (2020-01-13)

Features

  • adds new url property to asset contract & models (fd188c1)

0.3.9 (2020-01-09)

Bug Fixes

  • assigns raw data to language model (e09e7c1)
  • fixes model for adding assets (f938501)

0.3.8 (2020-01-09)

Bug Fixes

  • removes elements query data from delete language variant query (f7cee7a)

0.3.7 (2020-01-09)

Features

  • adds support delete language variant API endpoint (90188c7)

0.3.6 (2020-01-07)

Features

  • updates all dependencies (reworks retryStrategy options to give more control over what errors should be retried) (29dc496)

0.3.5 (2020-01-06)

Features

  • exposes more mapping methods (e.g. mapping contentType instead of whole response) (c01804f)

0.3.4 (2020-01-06)

Features

  • adds '_raw' property with original data to base models & fixes incorrect model for content type snippes responses (c4606c8)

0.3.3 (2020-01-06)

Bug Fixes

  • fixes return type of 'toAllPromise' so that it matched original 'toAllPromise'. Adds type check test for items in listing query. (212829e)

0.3.2 (2019-12-19)

Features

  • creates MappingService and exposes it via ManagementClient. This service can be used for mapping raw data to SDK models. (146b4b7)

0.3.1 (2019-12-19)

Features

  • adds ability to set delay between requests made by listing queries to prevent being rate limited by CM API (b561d10)

0.3.0 (2019-12-18)

⚠ BREAKING CHANGES

  • implements ability to get all items with automatic paging using toAllPromise and toAllPromise extension methods. This commit changes names of some responses and also changes name of property holding paged items to 'items'.

Features

  • adds support for list/add/modify asset folders endpoints (b35b08d)
  • implements ability to get all items with automatic paging using toAllPromise and toAllPromise extension methods. This commit changes names of some responses and also changes name of property holding paged items to 'items'. (c77353f)

Bug Fixes

  • fixes incorrect import source in readme (5642343)
  • uses base github url in package.json to fix automatic commit url generation (38b243e)

0.2.8 (2019-12-16)

Features

  • adds codename to add taxonomy data model (7bb118b)
  • adds support for add/get/list webhooks endpoints (5744e94)
  • adds support for project information endpoint (234f175)
  • adds support for retrieving single taxonomy items (0cdb48f)
  • adds support for setting content item codename during creation (94c1f94)
  • adds support for updating conten item codename (9c7786e)

Bug Fixes

  • uses internal id for content type identifier instead of external id (bb6d46b)

0.2.7 (2019-11-21)

Features

  • add support for 'ListLanguageVariantsOfContentTypeWithVariants' API endpoint (008f5e5)
  • adds additional language reference properties and fixes filename (73109ad)

0.2.6 (2019-11-21)

Bug Fixes

  • uses reference contract instead of reference object (5df58b1)

0.2.5 (2019-11-20)

Bug Fixes

  • updates @kentico/kontent-core dep which removes testing warn logging in console (cf38dbe)

0.2.4 (2019-11-13)

Features

  • adds codename property to 'addContentType' and 'addContentTypeSnippet' queries, adds 'content_groups' property to 'addContentType' (bec6a8c)

0.2.3 (2019-11-13)

Features

  • adds 'isDeveloperMode' client configuration option. If this option is enabled, additional errors are logged in console. (7d64864)
  • adds optional data query builder class and uses it for 'publishOrScheduleLanguageVariant' method to allow for skipping data. Fixes kontent-ai#5 (e5cb868)
  • adds support for pagination with x-continuation header token, adds ability to set headers in query config, internally refactors the way headers are retrieved, changes debug response type to include strongly typed properties (7efafc0)
  • internal - separates query builders from queries (513d058)

Bug Fixes

  • removes the ability to set entire query config to prevent overriding headers (8115e2a)
  • sets correct data model for modifying language (fixes kontent-ai#7) (ae740e4)

0.2.2 (2019-11-05)

Features

  • adds elements builder for add content type snippet query (74249a9)
  • adds elements builder with models for convenient creation of new content types (6b0128e)

Bug Fixes

  • updates kontent-core package which fixes http retry requests (5545f10)

0.2.1 (2019-10-31)

Bug Fixes

  • Fixes modifyLanguage request type (kontent-ai#3) (cc989ce)
  • Updates kontent-core package which fixes patch requests incorrectly using put callback (e9faa5d)

0.2.0 (2019-10-25)

⚠ BREAKING CHANGES

  • implements 'modifyContentType' endpoint, uses new retry policy & uses standard versioning

Features

  • implements 'modifyContentType' endpoint, uses new retry policy & uses standard versioning (75a9e74)