4.0.0-rc-4 • Published 1 year ago

iros-common v4.0.0-rc-4

Weekly downloads
370
License
UNLICENSED
Repository
github
Last release
1 year ago

Update to 4.0.0-rc

All 3rd Party Libraries are now updated

Use with caution. not all features were tested after the update

Breaking changes:

  • dropping workers
  • dropping momentjs and replacing it by date-fns (moment is no longer developed)
  • dropping joy and replacing it by yup (yup is more compatible with Typescript)
  • dropping request & request-promise and replacing it by axios (request is deprecated)

Mongoose

  • dropping support fot ssl connection and certs for mongo (use encrypted tunnels instead)

Internal changes:

  • dropping bluebird (Native Promises have been stable in Node.js and browsers for around 6 years now, and they have been fast for around 3)

Update to 3.0.0

Everything is now migrated to Typescript.

Breaking changes:

  • workers now use delays instead of timeouts

Update to 2.0.44

User service

User service now requires api key in .env

Update to 2.0.33

User service

User service now requires app sections to be defined in .env. It takes a comma delimited string

  • USER_SECTIONS=all,quotes

Update to 2.xxx

Joi changes

  1. Replace in all joi schemas .allow([val1,val2]) by .valid(val1,val2)
  2. Validate schemas directly, without joi - replace joi.validate(data,schema) to schema.validate(data)
  3. Any custom errors needs to be defined as messages, not language - e.g. .messages({'any.required': 'This is required'}),. Find out more about all the types here: https://github.com/sideway/joi/blob/master/API.md#types
4.0.0-rc-4

1 year ago

3.0.12

2 years ago

3.0.13

2 years ago

3.0.14

2 years ago

3.0.15

2 years ago

4.0.0-rc-2

2 years ago

4.0.0-rc-3

2 years ago

4.0.0-rc

2 years ago

3.0.11

2 years ago

3.0.10

2 years ago

3.0.9

2 years ago

3.0.8

3 years ago

3.0.7

3 years ago

3.0.6

3 years ago

3.0.5

3 years ago

3.0.4

3 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.0.57

3 years ago

2.0.56

3 years ago

2.0.49

3 years ago

2.0.55

3 years ago

2.0.51

3 years ago

2.0.50

3 years ago

2.0.48

3 years ago

2.0.46

3 years ago

2.0.47

3 years ago

2.0.44

3 years ago

2.0.45

3 years ago

2.0.37

3 years ago

2.0.38

3 years ago

2.0.35

3 years ago

2.0.36

3 years ago

2.0.34

3 years ago

2.0.31

3 years ago

2.0.32

3 years ago

2.0.30

3 years ago

2.0.42

3 years ago

2.0.43

3 years ago

2.0.40

3 years ago

2.0.41

3 years ago

2.0.28

3 years ago

2.0.29

3 years ago

2.0.27

3 years ago

2.0.26

3 years ago

2.0.24

3 years ago

2.0.22

3 years ago

2.0.23

3 years ago

2.0.21

3 years ago

2.0.18

3 years ago

2.0.20

3 years ago

2.0.16

3 years ago

2.0.17

3 years ago

2.0.15

3 years ago

2.0.13

3 years ago

2.0.14

3 years ago

2.0.12

3 years ago

2.0.11

3 years ago

2.0.10

3 years ago

2.0.9

3 years ago

2.0.3

3 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.7

3 years ago

2.0.6

3 years ago

2.0.8

3 years ago

2.0.2

3 years ago

2.0.0

3 years ago

1.0.633

4 years ago

1.0.631

4 years ago

1.0.632

4 years ago

1.0.630

4 years ago

1.0.629

4 years ago

1.0.626

4 years ago

1.0.628

4 years ago

1.0.627

4 years ago

1.0.625

4 years ago

1.0.624

4 years ago

1.0.623

4 years ago

1.0.622

4 years ago

1.0.620

4 years ago

1.0.621

4 years ago

1.0.613

4 years ago

1.0.615

4 years ago

1.0.614

4 years ago

1.0.617

4 years ago

1.0.619

4 years ago

1.0.618

4 years ago

1.0.612

4 years ago

1.0.611

4 years ago

1.0.551

5 years ago

1.0.55

5 years ago

1.0.549

5 years ago

1.0.548

6 years ago

1.0.547

6 years ago