Releases: JamesNZL/notion-assignment-import
v3.0.0
3.0.0 (2022-04-13)
⚠ BREAKING CHANGES
- options: 💥 fix
timeZone
storage key - options: 💥 change options storage keys to match
Options
interface
Features
- import: 💬 alert the user on rate-limit (9542109)
- interface: 💄 style invalid input error messages (59bbfce)
- options: 🏗️ finish implementation of
Options
object (1e92478) - options: 🗃️ enforce
null
if option is empty (0a38336) - options: 🚸 show red border when input is invalid (77bf1b2)
- options: 🚧 implement input validation (27fd4a8)
- options: 🥅 validate fields on input (d7aae2b)
- options: 🏷️ complete options types and implement ability to convert from
Options
nested object toFields
'flat' object (2c7968f) - options: 💄 disable button if invalid and display
not-allowed
cursor (559e69f) - options: 💄 reimplement save button error state and add WIP field error messages (9bb02e3)
- options: 💄 show missing required error automatically (25b8fb9)
- options: ✨ finish strongly/statically typing options (3edc194)
- options: ✨ restore options on save (8617091)
- types: 🚧 add types for extension options (36d46be)
- types: 🏷️ strongly type html ids in
popup.ts
(36a5ad1) - types: 🏷️ strongly type record keys (039bbea)
- validator: 💄 implement validator error messages (24e5b3b)
- validator: ✨ implement support for only validating
onchange
(cfb932a) - validator: ✨ implement validation of
databaseId
(a082f05) - validator: ✨ implement validation of
notionKey
(6a062c3) - validator: ✨ implement validation of
tz
time zone names (9bcca21) - validator: 💬 add validating status label and decouple save button from
FieldValidator
(4ff7722) - validator: 💬 add validation error if offline (e4d2170)
Bug Fixes
-
extension: 💄 explicitly declare favicon (ade8974)
-
gitignore: 🚚 rename
typings/
->types/
due to.gitignore
(cdd0991) -
gulp: 💚 use
\p{Emoji_Presentation}
regex flag instead (1b47292) -
import: 🥅 do not make new requests whilst rate-limited (4431473)
-
options: 💥 fix
timeZone
storage key (60f5e7b) -
options: 🐛 display missing fields error if user tries to save without changing initial partial default values (ae23909)
-
options: 🐛 fix
notion-property-status
id (c417b60) -
options: 🐛 fix check for
INVALID_INPUT
(59cb40d) -
options: 🐛 reconstruct entries object before storage (49b0d78)
-
options: 🐛 reverse the check for valid
OptionConfiguration
keys (7a435c0) -
options: 🚸 allow empty json object input (870e921)
-
options: 🥅 trim input whitespaces (50bed6b)
-
options: 💩 temp fix after changed html ids (62892fa)
-
popup: 🐛 fix record indexing by id rather than
ButtonName
(introduced in 039bbea) (0b90bb4) -
types: 🐛 fix
ModifyDeep
giving primitive when modifying a primitive with an object type (3cfb436) -
types: 🏷️
courseCodeN
is actually saved as astring
(9606471) -
types: 🏷️
notion.propertyNames.name
is required (14c660f) -
types: 🏷️
selectors
should only be inOptions
, notSavedOptions
(50ca28c) -
types: 🏷️ every nested option must have its own
OptionConfiguration
(d3aed46) -
types: 🏷️ fix override of
SavedOptions
type (8af55f9) -
types: 💩 a key of
SavedOptions
will never be null, only''
(cf7f34d) -
validator: 🐛 fix emoji type guard by enforcing
^$
and matching&zwj
(de9a816) -
validator: 🐛 properly check for
object Object
type, and not just a non-primitive (d745c36) -
options: 💥 change options storage keys to match
Options
interface (837cdc3)
v2.4.2
v2.4.1
v2.4.0
2.4.0 (2022-04-08)
Features
- import: 🥅 implement notion rate limit handler (8f23f4c)
- interface: 💄
overflow-y: scroll
saved JSON within its container (ad0114e) - interface: 💄 contain
textarea
min-width
too (b417a3c) - interface: 💄 set
min-height
andmax-height
of scrollbar thumb (5eb0709)
Bug Fixes
- interface: 💄 fix scrollbar hover colour matching background colour (6d08196)
v2.3.0
2.3.0 (2022-04-08)
Features
- extension: 💄 display
nth li
in monospace font (39e605f) - extension: ✨ allow configuration of empty notion database property names/values (ee81734)
- extension: 💬 refer to set-up instructions on
NOTION_KEY
orDATABASE_ID
error (30aa9d3) - interface: 💄 change
background-color
oninput
field:focus
(c1bfa29) - interface: 💄 lighten
--dark-grey-hover
(2468dc8) - interface: ✨ allow
ctrl
+s
to save options (9bf9b86) - options: 🚸 implement required fields (6db44ed)