From 1704b77b28cc2b67754e88b8d9fc51bf30ee6431 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ramirez=20Vargas=2C=20Jos=C3=A9=20Pablo?= Date: Sat, 24 Dec 2022 14:57:51 -0600 Subject: [PATCH] buid: Release Candidate 0 - Updated the publish note to announce RC0 and breaking changes. - Increased package version to 2.0.0-rc.0. --- PublishNote.md | 7 +++++++ src/package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/PublishNote.md b/PublishNote.md index 5eeedd4..1af95b2 100644 --- a/PublishNote.md +++ b/PublishNote.md @@ -9,6 +9,13 @@ be applied depending on the existence of individual or sub-groups of traits, and let the builder decide whether or not the data sources should be included. No more generating per-region or per-customer type configuration files. +### Breaking Changes + +1. The property `environment.value` disappeared. Use `environment.current.name` instead. +2. The property `environment.names` disappeared. Use `environment.all` instead. + +--- + ## Beta 2 1. Fixed the `FetchedConfigDataSource` class. Now it properly returns an empty object if an error occurs after diff --git a/src/package.json b/src/package.json index c40991a..b80c23b 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,6 @@ { "name": "wj-config", - "version": "2.0.0-beta.2", + "version": "2.0.0-rc.0", "main": "index.js", "type": "module", "description": "Javascript configuration module for NodeJS and browser frameworks such as React that works like ASP.net configuration where data sources are specified (usually JSON files) and environment variables can contribute/overwrite values by following a naming convention.",