Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR for v.1.3.0 #33

Merged
merged 7 commits into from
Aug 6, 2023
Merged

PR for v.1.3.0 #33

merged 7 commits into from
Aug 6, 2023

Conversation

hcpchris
Copy link
Collaborator

@hcpchris hcpchris commented Aug 6, 2023

  • ENHANCEMENT: Modified the way that data points are serialized to JavaScript literal objects. Now, they are serialized to a JavaScript array if their configured properties are those that Highcharts (JS) supports in JavaScript array notation. Otherwise, the code falls back to serialize the data point as a JavaScript object literal. This change is intended to improve performance and reduce the size of the serialized data. (Closes Serialize DataCore descendents to array of primitives rather than object when possible #32 )
  • ENHANCEMENT: Added __repr__() method for Highcharts Core for Python classes.
  • ENHANCEMENT: Added __str__() method with special handling for difficult-to-read classes.
  • ENHANCEMENT: Added Chart.get_script_tags() to retrieve Javascript <script> tags.
  • ENHANCEMENT: Added utility_functions.to_snake_case() function.
  • BUGFIX: Fixed incorrect serialization of datetime and Pandas Timestamp objects in .to_dict() and .to_json().
  • BUGFIX: Fixed incorrect serialization of EnforcedNull in .to_dict() and .to_json().

@hcpchris hcpchris merged commit bf1ce55 into master Aug 6, 2023
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Serialize DataCore descendents to array of primitives rather than object when possible
1 participant