Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@craftercms/classes

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@craftercms/classes - npm Package Versions

134

4.1.0

Diff

Changelog

Source

4.1.0

@craftercms/classes

  • Update search API endpoint from /api/1/site/search/search.json to api/1/site/elasticsearch/search.

@craftercms/content

  • urlTransform, getTree, getItem, getChildren fix config argument to accept partial CrafterConfig
  • Update createQuery usage examples without SearchEngine parameter.

@craftercms/models

  • Update Endpoints interface ELASTICSEARCH property to SEARCH.

@craftercms/search

  • Remove ElasticQuery query implementation for ElasticSearch.
  • Use Query class instead of removed ElasticQuery class in createQuery function.
  • Update createQuery usage examples without SearchEngine parameter.
rart
published 4.0.3 •

Changelog

Source

4.0.3

All packages

  • Switching SDK versioning to follow the CrafterCMS release version

@craftercms/content

  • Update parseProps (internally used by parseDescriptor) to include orderDefault_f (parsed as orderInNav) in the resulting ContentInstance.
  • Update parseProps and parseDescriptor options to receive systemPropMap, ignoredProps, systemProps to be used during parsing.
    • Note: modifying these props will require you to open the ContentInstance interface and extend it accordingly.
  • Improve parseDescriptor signatures definitions
  • Parse values of orderInNav and disabled to their target data types (float and boolean, respectively).
  • Export extractContent and extractChildren functions.
  • Export the default systemPropMap, ignoredProps, systemProps.
rart
published 2.0.7 •

Changelog

Source

2.0.7

@craftercms/content

  • Fix getDescriptor crashing when config isn't supplied.
rart
published 2.0.6 •

Changelog

Source

2.0.6

@craftercms/content

  • Add fetchModelByPath and fetchModelByUrl shortcuts methods
  • Improve parseDescriptor typings
  • Improve urlTransform typings

@craftercms/classes

  • Add basic crafterConf docs
rart
published 2.0.5 •

Changelog

Source

2.0.5

@craftercms/content

  • Add prop data type parsing to parsedDescriptor

@craftercms/ice

  • Add v4 support to addAuthoringSupport
rart
published 2.0.4 •

Changelog

Source

2.0.4

@craftercms/content

  • Fix flatten argument to getDescriptor getting lost/ignored

@craftercms/models

  • Move types from other files into models package
  • Adding missing properties to NavigationItem interface
rart
published 2.0.3 •

Changelog

Source

2.0.3

@craftercms/classes

  • Change SDKService.httpGet to use fetch instead of rxjs.ajax
  • Fix fetch's mode (for cors)
  • Extend support for other fetch modes
  • Switch from using URLSearchParams to using query-string for the same purpose
rart
published 2.0.2 •

Changelog

Source

2.0.2

  • Allow CORs
    • Use crafterConf.configure({ cors: true, ... }) to enable CORs mode.
  • Fix fetchIsAuthoring and addAuthoringSupport not retrieving for baseUrl from crafterConf.
rart
published 2.0.1 •

Changelog

Source

2.0.1

@craftercms/redux

  • Upgrade to redux-observable 2
rart
published 2.0.0 •

Changelog

Source

2.0.0

All packages

  • Update to rxjs @ ^7

@craftercms/search

  • Remove support for Solr
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc